Class GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigGenerationSettingsModelConfig
Per-model configuration. Mutually exclusive with model_mixture and model: when models is set, both
model_mixture and model must be left unset. The same allowed-model list and at-most-2-models rule as for
model_mixture apply. In addition, each entry may specify a per-model temperature for LLM sampling. Unlike
model_mixture, weights here are relative: only their ratios matter (the server normalizes them), so callers
may use any positive numbers without having to ensure they sum to 1.0.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1alpha.Data
Assembly: Google.Apis.DiscoveryEngine.v1alpha.dll
Syntax
public class GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigGenerationSettingsModelConfig : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Name
Required. Model name (e.g. gemini-2.5-flash, gemini-3.1-pro-preview). See model_mixture for the list
of allowed models.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Weight
Optional. Relative weight for this model in the mixture. Must be a finite, strictly positive value. Weights across all entries are normalized server-side, so they need not sum to 1.0. Defaults to 1.0 when unset, which is convenient when configuring a single model or an even mixture. Some Pro-tier models are capped at most 50% of the total weight; requests violating that cap are rejected with INVALID_ARGUMENT.
Declaration
[JsonProperty("weight")]
public virtual float? Weight { get; set; }
Property Value
| Type | Description |
|---|---|
| float? |