public sealed class GenerativeSettings.Types.FallbackSettings.Types.PromptTemplate : IMessage<GenerativeSettings.Types.FallbackSettings.Types.PromptTemplate>, IEquatable<GenerativeSettings.Types.FallbackSettings.Types.PromptTemplate>, IDeepCloneable<GenerativeSettings.Types.FallbackSettings.Types.PromptTemplate>, IBufferMessage, IMessage
Reference documentation and code samples for the Dialogflow v3 API class GenerativeSettings.Types.FallbackSettings.Types.PromptTemplate.
Prompt template.
Implements
IMessageGenerativeSettingsTypesFallbackSettingsTypesPromptTemplate, IEquatableGenerativeSettingsTypesFallbackSettingsTypesPromptTemplate, IDeepCloneableGenerativeSettingsTypesFallbackSettingsTypesPromptTemplate, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.Cx.V3Assembly
Google.Cloud.Dialogflow.Cx.V3.dll
Constructors
PromptTemplate()
public PromptTemplate()
PromptTemplate(PromptTemplate)
public PromptTemplate(GenerativeSettings.Types.FallbackSettings.Types.PromptTemplate other)
Parameter | |
---|---|
Name | Description |
other | GenerativeSettingsTypesFallbackSettingsTypesPromptTemplate |
Properties
DisplayName
public string DisplayName { get; set; }
Prompt name.
Property Value | |
---|---|
Type | Description |
string |
Frozen
public bool Frozen { get; set; }
If the flag is true, the prompt is frozen and cannot be modified by users.
Property Value | |
---|---|
Type | Description |
bool |
PromptText
public string PromptText { get; set; }
Prompt text that is sent to a LLM on no-match default, placeholders are filled downstream. For example: "Here is a conversation $conversation, a response is: "
Property Value | |
---|---|
Type | Description |
string |