GoogleCloudDialogflowCxV3Generator class
Generators contain prompt to be sent to the LLM model to generate text.
The prompt can contain parameters which will be resolved before calling the model. It can optionally contain banned phrases to ensure the model responses are safe.
Constructors
-
GoogleCloudDialogflowCxV3Generator({String? displayName, String? name, List<
GoogleCloudDialogflowCxV3GeneratorPlaceholder> ? placeholders, GoogleCloudDialogflowCxV3Phrase? promptText}) - GoogleCloudDialogflowCxV3Generator.fromJson(Map json_)
Properties
- displayName ↔ String?
-
The human-readable name of the generator, unique within the agent.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- name ↔ String?
-
The unique identifier of the generator.
getter/setter pair
-
placeholders
↔ List<
GoogleCloudDialogflowCxV3GeneratorPlaceholder> ? -
List of custom placeholders in the prompt text.
getter/setter pair
- promptText ↔ GoogleCloudDialogflowCxV3Phrase?
-
Prompt for the LLM model.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited