Package ai.freeplay.client.flavor
Interface ChatFlavor
-
- All Superinterfaces:
Flavor<java.util.Collection<ChatMessage>>
- All Known Implementing Classes:
OpenAIChatFlavor
public interface ChatFlavor extends Flavor<java.util.Collection<ChatMessage>>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ChatCompletionResponsecallChatService(java.util.Collection<ChatMessage> formattedPrompt, ProviderConfig providerConfig, java.util.Map<java.lang.String,java.lang.Object> llmParameters)-
Methods inherited from interface ai.freeplay.client.flavor.Flavor
callService, formatPrompt, getFormatType, getProvider, serializeForRecord
-
-
-
-
Method Detail
-
callChatService
ChatCompletionResponse callChatService(java.util.Collection<ChatMessage> formattedPrompt, ProviderConfig providerConfig, java.util.Map<java.lang.String,java.lang.Object> llmParameters) throws FreeplayException
- Throws:
FreeplayException
-
-