Show / Hide Table of Contents

Class GoogleCloudDialogflowCxV3beta1Generator

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.

Inheritance
object
GoogleCloudDialogflowCxV3beta1Generator
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Dialogflow.v3beta1.Data
Assembly: Google.Apis.Dialogflow.v3beta1.dll
Syntax
public class GoogleCloudDialogflowCxV3beta1Generator : IDirectResponseSchema

Properties

DisplayName

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.

Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

LlmModelSettings

The LLM model settings.

Declaration
[JsonProperty("llmModelSettings")]
public virtual GoogleCloudDialogflowCxV3beta1LlmModelSettings LlmModelSettings { get; set; }
Property Value
Type Description
GoogleCloudDialogflowCxV3beta1LlmModelSettings

ModelParameter

Parameters passed to the LLM to configure its behavior.

Declaration
[JsonProperty("modelParameter")]
public virtual GoogleCloudDialogflowCxV3beta1GeneratorModelParameter ModelParameter { get; set; }
Property Value
Type Description
GoogleCloudDialogflowCxV3beta1GeneratorModelParameter

Name

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/.

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
string

Placeholders

Optional. List of custom placeholders in the prompt text.

Declaration
[JsonProperty("placeholders")]
public virtual IList<GoogleCloudDialogflowCxV3beta1GeneratorPlaceholder> Placeholders { get; set; }
Property Value
Type Description
IList<GoogleCloudDialogflowCxV3beta1GeneratorPlaceholder>

PromptText

Required. Prompt for the LLM model.

Declaration
[JsonProperty("promptText")]
public virtual GoogleCloudDialogflowCxV3beta1Phrase PromptText { get; set; }
Property Value
Type Description
GoogleCloudDialogflowCxV3beta1Phrase

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX