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.



1678
1679
1680
# File 'lib/google/apis/ces_v1/classes.rb', line 1678

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



1676
1677
1678
# File 'lib/google/apis/ces_v1/classes.rb', line 1676

def cited_chunks
  @cited_chunks
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1683
1684
1685
# File 'lib/google/apis/ces_v1/classes.rb', line 1683

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