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.
1511 1512 1513 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1511 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
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 |