AssistantGenerationConfig class
Constructors
-
AssistantGenerationConfig({Input<
String?> ? defaultLanguage, Input<AssistantGenerationConfigSystemInstruction?> ? systemInstruction}) -
Creates a new AssistantGenerationConfig.
defaultLanguageThe default language to use for the generation of the assistant response.systemInstructionSystem instruction, also known as the prompt preamble for LLM calls.const -
AssistantGenerationConfig.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
defaultLanguage
→ Input<
String?> ? -
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.final - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
systemInstruction
→ Input<
AssistantGenerationConfigSystemInstruction?> ? -
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
Structure is documented below.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited