Class DefaultChatRequestParameters.Builder
-
- All Implemented Interfaces:
public class DefaultChatRequestParameters.Builder<T extends DefaultChatRequestParameters.Builder<T>>
-
-
Constructor Summary
Constructors Constructor Description DefaultChatRequestParameters.Builder()
-
Method Summary
Modifier and Type Method Description ToverrideWith(ChatRequestParameters parameters)TmodelName(String modelName)Ttemperature(Double temperature)TtopP(Double topP)TtopK(Integer topK)TfrequencyPenalty(Double frequencyPenalty)TpresencePenalty(Double presencePenalty)TmaxOutputTokens(Integer maxOutputTokens)TstopSequences(List<String> stopSequences)TstopSequences(Array<String> stopSequences)TtoolSpecifications(List<ToolSpecification> toolSpecifications)TtoolSpecifications(Array<ToolSpecification> toolSpecifications)TtoolChoice(ToolChoice toolChoice)TresponseFormat(ResponseFormat responseFormat)TresponseFormat(JsonSchema jsonSchema)ChatRequestParametersbuild()-
-
Method Detail
-
overrideWith
T overrideWith(ChatRequestParameters parameters)
-
temperature
T temperature(Double temperature)
-
frequencyPenalty
T frequencyPenalty(Double frequencyPenalty)
-
presencePenalty
T presencePenalty(Double presencePenalty)
-
maxOutputTokens
T maxOutputTokens(Integer maxOutputTokens)
-
stopSequences
T stopSequences(List<String> stopSequences)
-
stopSequences
T stopSequences(Array<String> stopSequences)
-
toolSpecifications
T toolSpecifications(List<ToolSpecification> toolSpecifications)
-
toolSpecifications
T toolSpecifications(Array<ToolSpecification> toolSpecifications)
-
toolChoice
T toolChoice(ToolChoice toolChoice)
-
responseFormat
T responseFormat(ResponseFormat responseFormat)
-
responseFormat
T responseFormat(JsonSchema jsonSchema)
-
build
ChatRequestParameters build()
-
-
-
-