Class: Google::Apis::CesV1::Citations

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

Overview

Citations associated with the agent response.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Citations

Returns a new instance of Citations.



1776
1777
1778
# File 'lib/google/apis/ces_v1/classes.rb', line 1776

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

Instance Attribute Details

#cited_chunksArray<Google::Apis::CesV1::CitationsCitedChunk>

List of cited pieces of information. Corresponds to the JSON property citedChunks



1774
1775
1776
# File 'lib/google/apis/ces_v1/classes.rb', line 1774

def cited_chunks
  @cited_chunks
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1781
1782
1783
# File 'lib/google/apis/ces_v1/classes.rb', line 1781

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