Class: Aws::BedrockRuntime::Types::CitationSourceContent
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockRuntime::Types::CitationSourceContent
- Defined in:
- gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb
Overview
Note:
CitationSourceContent is a union - when making an API calls you must set exactly one of the members.
Note:
CitationSourceContent is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of CitationSourceContent corresponding to the set member.
Contains the actual text content from a source document that is being cited or referenced in the model's response.
Defined Under Namespace
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#text ⇒ String
The text content from the source document that is being cited.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#text ⇒ String
The text content from the source document that is being cited.
402 403 404 405 406 407 408 409 410 411 |
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 402 class CitationSourceContent < Struct.new( :text, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Text < CitationSourceContent; end class Unknown < CitationSourceContent; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
402 403 404 |
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 402 def unknown @unknown end |