Package com.google.genai.types
Class GenerationConfig.Builder
java.lang.Object
com.google.genai.types.GenerationConfig.Builder
- Enclosing class:
- GenerationConfig
Builder for GenerationConfig.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract GenerationConfig.BuilderaudioTimestamp(boolean audioTimestamp) abstract GenerationConfigbuild()abstract GenerationConfig.BuildercandidateCount(Integer candidateCount) abstract GenerationConfig.BuilderfrequencyPenalty(Float frequencyPenalty) abstract GenerationConfig.Builderabstract GenerationConfig.BuildermaxOutputTokens(Integer maxOutputTokens) abstract GenerationConfig.BuilderpresencePenalty(Float presencePenalty) abstract GenerationConfig.BuilderresponseLogprobs(boolean responseLogprobs) abstract GenerationConfig.BuilderresponseMimeType(String responseMimeType) abstract GenerationConfig.BuilderresponseSchema(Schema responseSchema) abstract GenerationConfig.BuilderroutingConfig(GenerationConfigRoutingConfig routingConfig) abstract GenerationConfig.Builderabstract GenerationConfig.BuilderstopSequences(List<String> stopSequences) abstract GenerationConfig.Buildertemperature(Float temperature) abstract GenerationConfig.Builderabstract GenerationConfig.Builder
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
audioTimestamp
-
candidateCount
-
frequencyPenalty
-
logprobs
-
maxOutputTokens
-
presencePenalty
-
responseLogprobs
-
responseMimeType
-
responseSchema
-
routingConfig
-
seed
-
stopSequences
-
temperature
-
topK
-
topP
-
build
-