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.
385 386 387 388 389 390 391 392 393 394 |
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 385 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
385 386 387 |
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 385 def unknown @unknown end |