Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSource

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/contactcenterinsights_v1/classes.rb,
lib/google/apis/contactcenterinsights_v1/representations.rb,
lib/google/apis/contactcenterinsights_v1/representations.rb

Overview

Details about source of Generative answer.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSource

Returns a new instance of GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSource.



6611
6612
6613
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6611

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#snippetsArray<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet>

All snippets used for this Generative Prediction, with their source URI and data. Corresponds to the JSON property snippets



6609
6610
6611
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6609

def snippets
  @snippets
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6616
6617
6618
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6616

def update!(**args)
  @snippets = args[:snippets] if args.key?(:snippets)
end