Interface CfnDataSource.BedrockFoundationModelConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDataSource.BedrockFoundationModelConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnDataSource
@Stability(Stable)
public static interface CfnDataSource.BedrockFoundationModelConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Settings for a foundation model or inference profile 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 software.amazon.awscdk.services.bedrock.*; BedrockFoundationModelConfigurationProperty bedrockFoundationModelConfigurationProperty = BedrockFoundationModelConfigurationProperty.builder() .modelArn("modelArn") // the properties below are optional .parsingModality("parsingModality") .parsingPrompt(ParsingPromptProperty.builder() .parsingPromptText("parsingPromptText") .build()) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
static final class
An implementation forCfnDataSource.BedrockFoundationModelConfigurationProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The ARN of the foundation model or inference profile to use for parsing.default String
Specifies whether to enable parsing of multimodal data, including both text and/or images.default Object
Instructions for interpreting the contents of a document.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getModelArn
The ARN of the foundation model or inference profile to use for parsing.- See Also:
-
getParsingModality
Specifies whether to enable parsing of multimodal data, including both text and/or images.- See Also:
-
getParsingPrompt
Instructions for interpreting the contents of a document.- See Also:
-
builder
@Stability(Stable) static CfnDataSource.BedrockFoundationModelConfigurationProperty.Builder builder()
-