interface BedrockFoundationModelConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Bedrock.Mixins.CfnDataSourcePropsMixin.BedrockFoundationModelConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsbedrock/mixins#CfnDataSourcePropsMixin_BedrockFoundationModelConfigurationProperty |
Java | software.amazon.awscdk.mixins.preview.services.bedrock.mixins.CfnDataSourcePropsMixin.BedrockFoundationModelConfigurationProperty |
Python | aws_cdk.mixins_preview.aws_bedrock.mixins.CfnDataSourcePropsMixin.BedrockFoundationModelConfigurationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_bedrock » mixins » CfnDataSourcePropsMixin » BedrockFoundationModelConfigurationProperty |
Settings for a foundation model used to parse documents for a data source.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as bedrock_mixins } from '@aws-cdk/mixins-preview/aws-bedrock';
const bedrockFoundationModelConfigurationProperty: bedrock_mixins.CfnDataSourcePropsMixin.BedrockFoundationModelConfigurationProperty = {
modelArn: 'modelArn',
parsingModality: 'parsingModality',
parsingPrompt: {
parsingPromptText: 'parsingPromptText',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| model | string | The ARN of the foundation model to use for parsing. |
| parsing | string | Specifies whether to enable parsing of multimodal data, including both text and/or images. |
| parsing | IResolvable | Parsing | Instructions for interpreting the contents of a document. |
modelArn?
Type:
string
(optional)
The ARN of the foundation model to use for parsing.
parsingModality?
Type:
string
(optional)
Specifies whether to enable parsing of multimodal data, including both text and/or images.
parsingPrompt?
Type:
IResolvable | Parsing
(optional)
Instructions for interpreting the contents of a document.

.NET
Go
Java
Python
TypeScript