Class DocumentBlock.DocumentSource
Inherited Members
Namespace: Glitch9.AIDevKit.AmazonAws
Assembly: Glitch9.AIDevKit.Provider.AmazonAws.dll
Syntax
public sealed class DocumentBlock.DocumentSource
Properties
| Edit this page View SourceBase64Bytes
Optional. The raw bytes for the document. If you use an AWS SDK, you don't need to encode the bytes in base64.
Declaration
[JsonProperty("bytes")]
public string Base64Bytes { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Content
Optional. The structured content of the document source, which may include various content blocks such as text, images, or other document elements.
Declaration
[JsonProperty("content")]
public TextBlock[] Content { get; set; }
Property Value
| Type | Description |
|---|---|
| TextBlock[] |
S3Location
Optional. The location of a document object in an Amazon S3 bucket. To see which models support S3 uploads, see Supported models and features for Converse.
Declaration
[JsonProperty("s3Location")]
public AmazonTypes.S3Location S3Location { get; set; }
Property Value
| Type | Description |
|---|---|
| AmazonTypes.S3Location |
Text
Optional. The text content of the document source.
Declaration
[JsonProperty("text")]
public string Text { get; set; }
Property Value
| Type | Description |
|---|---|
| string |