Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

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.

interface GoogleCloudDialogflowCxV3Generator {
displayName?: string;
name?: string;
}

§Properties

§
displayName?: string
[src]

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.

§
name?: string
[src]

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.