Class: Aws::BedrockRuntime::Types::CitationGeneratedContent
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockRuntime::Types::CitationGeneratedContent
- Defined in:
- gems/aws-sdk-bedrockruntime/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.
319 320 321 322 323 324 325 326 327 328 |
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 319 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
319 320 321 |
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 319 def unknown @unknown end |