Class: Google::Apis::CesV1::Citations
- Inherits:
-
Object
- Object
- Google::Apis::CesV1::Citations
- 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
-
#cited_chunks ⇒ Array<Google::Apis::CesV1::CitationsCitedChunk>
List of cited pieces of information.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Citations
constructor
A new instance of Citations.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_chunks ⇒ Array<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 |