interface BedrockFoundationModelConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Bedrock.CfnDataSourcePropsMixin.BedrockFoundationModelConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsbedrock#CfnDataSourcePropsMixin_BedrockFoundationModelConfigurationProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnDataSourcePropsMixin.BedrockFoundationModelConfigurationProperty |
Python | aws_cdk.cfn_property_mixins.aws_bedrock.CfnDataSourcePropsMixin.BedrockFoundationModelConfigurationProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_bedrock » 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 { aws_bedrock as bedrock } from '@aws-cdk/cfn-property-mixins';
const bedrockFoundationModelConfigurationProperty: bedrock.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