View Source GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1GenerationConfig (google_api_ai_platform v0.5.0)
Generation config.
Attributes
-
candidateCount
(type:integer()
, default:nil
) - Optional. Number of candidates to generate. -
frequencyPenalty
(type:number()
, default:nil
) - Optional. Frequency penalties. -
maxOutputTokens
(type:integer()
, default:nil
) - Optional. The maximum number of output tokens to generate per message. -
presencePenalty
(type:number()
, default:nil
) - Optional. Positive penalties. -
stopSequences
(type:list(String.t)
, default:nil
) - Optional. Stop sequences. -
temperature
(type:number()
, default:nil
) - Optional. Controls the randomness of predictions. -
topK
(type:number()
, default:nil
) - Optional. If specified, top-k sampling will be used. -
topP
(type:number()
, default:nil
) - Optional. If specified, nucleus sampling will be used.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1GenerationConfig{ candidateCount: integer() | nil, frequencyPenalty: number() | nil, maxOutputTokens: integer() | nil, presencePenalty: number() | nil, stopSequences: [String.t()] | nil, temperature: number() | nil, topK: number() | nil, topP: number() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.