- All Superinterfaces:
- ModelOptions
- All Known Subinterfaces:
- ToolCallingChatOptions
- All Known Implementing Classes:
- AnthropicChatOptions,- AzureOpenAiChatOptions,- BedrockChatOptions,- DeepSeekChatOptions,- DefaultChatOptions,- DefaultToolCallingChatOptions,- MiniMaxChatOptions,- MistralAiChatOptions,- OCICohereChatOptions,- OllamaOptions,- OpenAiChatOptions,- VertexAiGeminiChatOptions,- ZhiPuAiChatOptions
ModelOptions representing the common options that are portable across different
 chat models.
- 
Nested Class SummaryNested Classes 
- 
Method Summary
Returns the frequency penalty to use for the chat. 
 
Returns the maximum number of tokens to use for the chat. 
 
Returns the model to use for the chat. 
 
Returns the presence penalty to use for the chat. 
 
Returns the stop sequences to use for the chat. 
 
Returns the temperature to use for the chat. 
 
Returns the top K to use for the chat. 
 
Returns the top P to use for the chat. 
 
 
 
 
- 
Method Details
- 
getModelReturns the model to use for the chat. 
- Returns:
- the model to use for the chat
 
- 
getFrequencyPenalty@Nullable
Double getFrequencyPenalty() 
 Returns the frequency penalty to use for the chat. 
- Returns:
- the frequency penalty to use for the chat
 
- 
getMaxTokensReturns the maximum number of tokens to use for the chat. 
- Returns:
- the maximum number of tokens to use for the chat
 
- 
getPresencePenalty@Nullable
Double getPresencePenalty() 
 Returns the presence penalty to use for the chat. 
- Returns:
- the presence penalty to use for the chat
 
- 
getStopSequencesReturns the stop sequences to use for the chat. 
- Returns:
- the stop sequences to use for the chat
 
- 
getTemperature@Nullable
Double getTemperature() 
 Returns the temperature to use for the chat. 
- Returns:
- the temperature to use for the chat
 
- 
getTopKReturns the top K to use for the chat. 
- Returns:
- the top K to use for the chat
 
- 
getTopPReturns the top P to use for the chat. 
- Returns:
- the top P to use for the chat
 
- 
-