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.



1511
1512
1513
# File 'lib/google/apis/ces_v1/classes.rb', line 1511

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



1509
1510
1511
# File 'lib/google/apis/ces_v1/classes.rb', line 1509

def cited_chunks
  @cited_chunks
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1516
1517
1518
# File 'lib/google/apis/ces_v1/classes.rb', line 1516

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