AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
A document to include in a message.
Namespace: Amazon.BedrockRuntime.Model
Assembly: AWSSDK.BedrockRuntime.dll
Version: 3.x.y.z
public class DocumentBlock
The DocumentBlock type exposes the following members
Name | Description | |
---|---|---|
![]() |
DocumentBlock() |
Name | Type | Description | |
---|---|---|---|
![]() |
Citations | Amazon.BedrockRuntime.Model.CitationsConfig |
Gets and sets the property Citations. Configuration settings that control how citations should be generated for this specific document. |
![]() |
Context | System.String |
Gets and sets the property Context. Contextual information about how the document should be processed or interpreted by the model when generating citations. |
![]() |
Format | Amazon.BedrockRuntime.DocumentFormat |
Gets and sets the property Format. The format of a document, or its extension. |
![]() |
Name | System.String |
Gets and sets the property Name. A name for the document. The name can only contain the following characters:
This field is vulnerable to prompt injections, because the model might inadvertently interpret it as instructions. Therefore, we recommend that you specify a neutral name. |
![]() |
Source | Amazon.BedrockRuntime.Model.DocumentSource |
Gets and sets the property Source. Contains the content of the document. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5