Class GenerationConfig (0.20.1)

GenerationConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Configuration for the generation of the assistant response.

Attributes

Name Description
default_model_id str
Optional. The default model to use for assistant.
allowed_model_ids MutableSequence[str]
Optional. The list of models that are allowed to be used for assistant.
system_instruction google.cloud.discoveryengine_v1beta.types.Assistant.GenerationConfig.SystemInstruction
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
default_language str
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.

Classes

SystemInstruction

SystemInstruction(mapping=None, *, ignore_unknown_fields=False, **kwargs)

System instruction, also known as the prompt preamble for LLM calls.