Class: Aws::BedrockRuntime::Types::CitationGeneratedContent
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockRuntime::Types::CitationGeneratedContent
- Includes:
- Structure, Structure::Union
- Defined in:
- lib/aws-sdk-bedrockruntime/types.rb
Overview
Note:
CitationGeneratedContent is a union - when making an API calls you must set exactly one of the members.
Note:
CitationGeneratedContent is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of CitationGeneratedContent corresponding to the set member.
Contains the generated text content that corresponds to or is supported by a citation from a source document.
Defined Under Namespace
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#text ⇒ String
The text content that was generated by the model and is supported by the associated citation.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#text ⇒ String
The text content that was generated by the model and is supported by the associated citation.
330 331 332 333 334 335 336 337 338 339 |
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 330 class CitationGeneratedContent < Struct.new( :text, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Text < CitationGeneratedContent; end class Unknown < CitationGeneratedContent; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
330 331 332 |
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 330 def unknown @unknown end |