public sealed class Assistant.Types.GenerationConfig : IMessage<Assistant.Types.GenerationConfig>, IEquatable<Assistant.Types.GenerationConfig>, IDeepCloneable<Assistant.Types.GenerationConfig>, IBufferMessage, IMessageReference documentation and code samples for the Discovery Engine v1beta API class Assistant.Types.GenerationConfig.
Configuration for the generation of the assistant response.
Implements
IMessageAssistantTypesGenerationConfig, IEquatableAssistantTypesGenerationConfig, IDeepCloneableAssistantTypesGenerationConfig, IBufferMessage, IMessageNamespace
Google.Cloud.DiscoveryEngine.V1BetaAssembly
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 |
|