Class AzureOpenAiChatOptions
java.lang.Object
org.springframework.ai.azure.openai.AzureOpenAiChatOptions
- All Implemented Interfaces:
ChatOptions
,ModelOptions
The configuration information for a chat completions request. Completions support a
wide variety of tasks and generate text that continues from or "completes" provided
prompt data.
- Author:
- Christian Tzolov
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
getModel()
getN()
getStop()
getTopK()
getTopP()
getUser()
void
setFrequencyPenalty
(Double frequencyPenalty) void
setLogitBias
(Map<String, Integer> logitBias) void
setMaxTokens
(Integer maxTokens) void
void
void
setPresencePenalty
(Double presencePenalty) void
void
setTemperature
(Float temperature) void
void
void
-
Constructor Details
-
AzureOpenAiChatOptions
public AzureOpenAiChatOptions()
-
-
Method Details
-
builder
-
getMaxTokens
-
setMaxTokens
-
getLogitBias
-
setLogitBias
-
getUser
-
setUser
-
getN
-
setN
-
getStop
-
setStop
-
getPresencePenalty
-
setPresencePenalty
-
getFrequencyPenalty
-
setFrequencyPenalty
-
getModel
-
setModel
-
getTemperature
- Specified by:
getTemperature
in interfaceChatOptions
-
setTemperature
- Specified by:
setTemperature
in interfaceChatOptions
-
getTopP
- Specified by:
getTopP
in interfaceChatOptions
-
setTopP
- Specified by:
setTopP
in interfaceChatOptions
-
getTopK
- Specified by:
getTopK
in interfaceChatOptions
-
setTopK
- Specified by:
setTopK
in interfaceChatOptions
-