Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSource

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) ⇒ GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSource

Returns a new instance of GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSource.



2448
2449
2450
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2448

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

Instance Attribute Details

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

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



2446
2447
2448
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2446

def snippets
  @snippets
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2453
2454
2455
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2453

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