- All Superinterfaces:
Model<Prompt,ChatResponse>, StreamingChatModel, StreamingModel<Prompt,ChatResponse>
- All Known Implementing Classes:
AnthropicChatModel, BedrockProxyChatModel, DeepSeekChatModel, GoogleGenAiChatModel, MistralAiChatModel, OllamaChatModel, OpenAiChatModel
-
Method Summary
Executes a method call to the AI model.
Deprecated, for removal: This API element is subject to removal in a future version.
Gets the chat options for this model.
Executes a method call to the AI model.
-
Method Details
-
-
-
call
Description copied from interface: Model
Executes a method call to the AI model.
- Specified by:
call in interface Model<Prompt,ChatResponse>
- Parameters:
prompt - the request object to be sent to the AI model
- Returns:
- the response from the AI model
-
getOptions
Gets the chat options for this model.
- Returns:
- the chat options
- Since:
- 2.0.0
-
getDefaultOptions
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
getOptions()instead.