GoogleCloudDialogflowCxV3Generator
import type { GoogleCloudDialogflowCxV3Generator } from "https://googleapis.deno.dev/v1/dialogflow:v3.ts";
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.
§Properties
Required. The human-readable name of the generator, unique within the agent. The prompt contains pre-defined parameters such as $conversation, $last-user-utterance, etc. populated by Dialogflow. It can also contain custom placeholders which will be resolved during fulfillment.
The unique identifier of the generator. Must be set for the
Generators.UpdateGenerator method. Generators.CreateGenerate populates the
name automatically. Format: projects//locations//agents//generators/
.
Optional. List of custom placeholders in the prompt text.
Required. Prompt for the LLM model.