Google Cloud Dialogflow v2 API - Class SummarizationContext (4.23.0)

public sealed class SummarizationContext : IMessage<SummarizationContext>, IEquatable<SummarizationContext>, IDeepCloneable<SummarizationContext>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Dialogflow v2 API class SummarizationContext.

Summarization context that customer can configure.

Inheritance

object > SummarizationContext

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.dll

Constructors

SummarizationContext()

public SummarizationContext()

SummarizationContext(SummarizationContext)

public SummarizationContext(SummarizationContext other)
Parameter
Name Description
other SummarizationContext

Properties

FewShotExamples

public RepeatedField<FewShotExample> FewShotExamples { get; }

Optional. List of few shot examples.

Property Value
Type Description
RepeatedFieldFewShotExample

OutputLanguageCode

public string OutputLanguageCode { get; set; }

Optional. The target language of the generated summary. The language code for conversation will be used if this field is empty. Supported 2.0 and later versions.

Property Value
Type Description
string

SummarizationSections

public RepeatedField<SummarizationSection> SummarizationSections { get; }

Optional. List of sections. Note it contains both predefined section sand customer defined sections.

Property Value
Type Description
RepeatedFieldSummarizationSection

Version

public string Version { get; set; }

Optional. Version of the feature. If not set, default to latest version. Current candidates are ["1.0"].

Property Value
Type Description
string