Class VertexAiPaLm2ChatOptions
java.lang.Object
org.springframework.ai.vertexai.palm2.VertexAiPaLm2ChatOptions
- All Implemented Interfaces:
ChatOptions
,ModelOptions
- Author:
- Christian Tzolov, Thomas Vitale
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
copy()
static VertexAiPaLm2ChatOptions
fromOptions
(VertexAiPaLm2ChatOptions fromOptions) getModel()
getTopK()
getTopP()
void
setCandidateCount
(Integer candidateCount) void
setTemperature
(Double temperature) void
void
-
Constructor Details
-
VertexAiPaLm2ChatOptions
public VertexAiPaLm2ChatOptions()
-
-
Method Details
-
builder
-
getTemperature
- Specified by:
getTemperature
in interfaceChatOptions
-
setTemperature
-
getCandidateCount
-
setCandidateCount
-
getTopP
- Specified by:
getTopP
in interfaceChatOptions
-
setTopP
-
getTopK
- Specified by:
getTopK
in interfaceChatOptions
-
setTopK
-
getModel
- Specified by:
getModel
in interfaceChatOptions
-
getMaxTokens
- Specified by:
getMaxTokens
in interfaceChatOptions
-
getStopSequences
- Specified by:
getStopSequences
in interfaceChatOptions
-
getFrequencyPenalty
- Specified by:
getFrequencyPenalty
in interfaceChatOptions
-
getPresencePenalty
- Specified by:
getPresencePenalty
in interfaceChatOptions
-
copy
- Specified by:
copy
in interfaceChatOptions
-
fromOptions
-