Discovery Engine v1beta API - Class Assistant.Types.GenerationConfig (1.0.0-beta24)

public sealed class Assistant.Types.GenerationConfig : IMessage<Assistant.Types.GenerationConfig>, IEquatable<Assistant.Types.GenerationConfig>, IDeepCloneable<Assistant.Types.GenerationConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Discovery Engine v1beta API class Assistant.Types.GenerationConfig.

Configuration for the generation of the assistant response.

Inheritance

object > Assistant.Types.GenerationConfig

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

Constructors

GenerationConfig()

public GenerationConfig()

GenerationConfig(GenerationConfig)

public GenerationConfig(Assistant.Types.GenerationConfig other)
Parameter
Name Description
other AssistantTypesGenerationConfig

Properties

AllowedModelIds

public RepeatedField<string> AllowedModelIds { get; }

Optional. The list of models that are allowed to be used for assistant.

Property Value
Type Description
RepeatedFieldstring

DefaultLanguage

public string DefaultLanguage { get; set; }

The default language to use for the generation of the assistant response. Use an ISO 639-1 language code such as en. If not specified, the language will be automatically detected.

Property Value
Type Description
string

DefaultModelId

public string DefaultModelId { get; set; }

Optional. The default model to use for assistant.

Property Value
Type Description
string

SystemInstruction

public Assistant.Types.GenerationConfig.Types.SystemInstruction SystemInstruction { get; set; }

System instruction, also known as the prompt preamble for LLM calls. See also https://cloud.google.com/vertex-ai/generative-ai/docs/learn/prompts/system-instructions

Property Value
Type Description
AssistantTypesGenerationConfigTypesSystemInstruction