Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class SummarizationContext.
Summarization context that customer can configure.
Generated from protobuf message google.cloud.dialogflow.v2.SummarizationContext
Namespace
Google \ Cloud \ Dialogflow \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ summarization_sections
array< SummarizationSection
>
Optional. List of sections. Note it contains both predefined section sand customer defined sections.
↳ few_shot_examples
↳ version
string
Optional. Version of the feature. If not set, default to latest version. Current candidates are ["1.0"].
↳ output_language_code
string
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.
getSummarizationSections
Optional. List of sections. Note it contains both predefined section sand customer defined sections.
setSummarizationSections
Optional. List of sections. Note it contains both predefined section sand customer defined sections.
$this
getFewShotExamples
Optional. List of few shot examples.
setFewShotExamples
Optional. List of few shot examples.
$this
getVersion
Optional. Version of the feature. If not set, default to latest version.
Current candidates are ["1.0"].
string
setVersion
Optional. Version of the feature. If not set, default to latest version.
Current candidates are ["1.0"].
var
string
$this
getOutputLanguageCode
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.
string
setOutputLanguageCode
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.
var
string
$this