Class CfnDataSourcePropsMixin.BedrockFoundationModelConfigurationProperty
Settings for a foundation model used to parse documents for a data source.
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.Bedrock.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnDataSourcePropsMixin.BedrockFoundationModelConfigurationProperty : CfnDataSourcePropsMixin.IBedrockFoundationModelConfigurationProperty
Syntax (vb)
Public Class CfnDataSourcePropsMixin.BedrockFoundationModelConfigurationProperty Implements CfnDataSourcePropsMixin.IBedrockFoundationModelConfigurationProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.Bedrock.Mixins;
var bedrockFoundationModelConfigurationProperty = new BedrockFoundationModelConfigurationProperty {
ModelArn = "modelArn",
ParsingModality = "parsingModality",
ParsingPrompt = new ParsingPromptProperty {
ParsingPromptText = "parsingPromptText"
}
};
Synopsis
Constructors
| BedrockFoundationModelConfigurationProperty() | Settings for a foundation model used to parse documents for a data source. |
Properties
| ModelArn | The ARN of the foundation model to use for parsing. |
| ParsingModality | Specifies whether to enable parsing of multimodal data, including both text and/or images. |
| ParsingPrompt | Instructions for interpreting the contents of a document. |
Constructors
BedrockFoundationModelConfigurationProperty()
Settings for a foundation model used to parse documents for a data source.
public BedrockFoundationModelConfigurationProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.Bedrock.Mixins;
var bedrockFoundationModelConfigurationProperty = new BedrockFoundationModelConfigurationProperty {
ModelArn = "modelArn",
ParsingModality = "parsingModality",
ParsingPrompt = new ParsingPromptProperty {
ParsingPromptText = "parsingPromptText"
}
};
Properties
ModelArn
The ARN of the foundation model to use for parsing.
public string? ModelArn { get; set; }
Property Value
Remarks
ParsingModality
Specifies whether to enable parsing of multimodal data, including both text and/or images.
public string? ParsingModality { get; set; }
Property Value
Remarks
ParsingPrompt
Instructions for interpreting the contents of a document.
public object? ParsingPrompt { get; set; }