Interface ChatOptions

All Superinterfaces:
ModelOptions
All Known Subinterfaces:
FunctionCallingOptions
All Known Implementing Classes:
Anthropic3ChatOptions, AnthropicChatOptions, AnthropicChatOptions, AzureOpenAiChatOptions, BedrockAi21Jurassic2ChatOptions, BedrockCohereChatOptions, BedrockLlamaChatOptions, BedrockTitanChatOptions, FunctionCallingOptionsBuilder.PortableFunctionCallingOptions, MiniMaxChatOptions, MistralAiChatOptions, MoonshotChatOptions, OllamaOptions, OpenAiChatOptions, QianFanChatOptions, VertexAiGeminiChatOptions, VertexAiPaLm2ChatOptions, WatsonxAiChatOptions, ZhiPuAiChatOptions

public interface ChatOptions extends ModelOptions
The ChatOptions represent the common options, portable across different chat models.
  • Method Details

    • getModel

      @Nullable String getModel()
    • getFrequencyPenalty

      @Nullable Double getFrequencyPenalty()
    • getMaxTokens

      @Nullable Integer getMaxTokens()
    • getPresencePenalty

      @Nullable Double getPresencePenalty()
    • getStopSequences

      @Nullable List<String> getStopSequences()
    • getTemperature

      @Nullable Double getTemperature()
    • getTopK

      @Nullable Integer getTopK()
    • getTopP

      @Nullable Double getTopP()
    • copy

      ChatOptions copy()