Class: Aws::BedrockRuntime::Types::DocumentContentBlock
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockRuntime::Types::DocumentContentBlock
- Defined in:
- gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb
Overview
Note:
DocumentContentBlock is a union - when making an API calls you must set exactly one of the members.
Note:
DocumentContentBlock is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of DocumentContentBlock corresponding to the set member.
Contains the actual content of a document that can be processed by the model and potentially cited in the response.
Defined Under Namespace
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#text ⇒ String
The text content of the document.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#text ⇒ String
The text content of the document.
1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 |
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 1319 class DocumentContentBlock < Struct.new( :text, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Text < DocumentContentBlock; end class Unknown < DocumentContentBlock; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
1319 1320 1321 |
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 1319 def unknown @unknown end |