Class: Google::Cloud::Dialogflow::V2::SummarizationContext

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dialogflow/v2/generator.rb

Overview

Summarization context that customer can configure.

Instance Attribute Summary collapse

Instance Attribute Details

#few_shot_examples::Array<::Google::Cloud::Dialogflow::V2::FewShotExample>

Returns Optional. List of few shot examples.

Returns:



302
303
304
305
# File 'proto_docs/google/cloud/dialogflow/v2/generator.rb', line 302

class SummarizationContext
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#output_language_code::String

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

Returns:

  • (::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.



302
303
304
305
# File 'proto_docs/google/cloud/dialogflow/v2/generator.rb', line 302

class SummarizationContext
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#summarization_sections::Array<::Google::Cloud::Dialogflow::V2::SummarizationSection>

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

Returns:



302
303
304
305
# File 'proto_docs/google/cloud/dialogflow/v2/generator.rb', line 302

class SummarizationContext
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#version::String

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

Returns:

  • (::String)

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



302
303
304
305
# File 'proto_docs/google/cloud/dialogflow/v2/generator.rb', line 302

class SummarizationContext
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end