Class GoogleCloudDialogflowV2FewShotExample
Providing examples in the generator (i.e. building a few-shot generator) helps convey the desired format of the LLM response. NEXT_ID: 10
Implements
Inherited Members
Namespace: Google.Apis.Dialogflow.v2.Data
Assembly: Google.Apis.Dialogflow.v2.dll
Syntax
public class GoogleCloudDialogflowV2FewShotExample : IDirectResponseSchema
Properties
ConversationContext
Optional. Conversation transcripts.
Declaration
[JsonProperty("conversationContext")]
public virtual GoogleCloudDialogflowV2ConversationContext ConversationContext { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDialogflowV2ConversationContext |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
ExtraInfo
Optional. Key is the placeholder field name in input, value is the value of the placeholder. E.g. instruction contains "@price", and ingested data has <"price", "10">
Declaration
[JsonProperty("extraInfo")]
public virtual IDictionary<string, string> ExtraInfo { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, string> |
Output
Required. Example output of the model.
Declaration
[JsonProperty("output")]
public virtual GoogleCloudDialogflowV2GeneratorSuggestion Output { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDialogflowV2GeneratorSuggestion |
SummarizationSectionList
Summarization sections.
Declaration
[JsonProperty("summarizationSectionList")]
public virtual GoogleCloudDialogflowV2SummarizationSectionList SummarizationSectionList { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDialogflowV2SummarizationSectionList |