generative-ai-cdk-constructs

@cdklabs/generative-ai-cdk-constructsDocs


@cdklabs/generative-ai-cdk-constructs / bedrock / FoundationModelParsingStategyProps

Interface: FoundationModelParsingStategyProps

Properties for configuring a Foundation Model parsing strategy.

Properties

parsingModel

readonly parsingModel: IInvokable

The Foundation Model to use for parsing non-textual information. Currently supported models are Claude 3 Sonnet and Claude 3 Haiku.


parsingPrompt?

readonly optional parsingPrompt: string

Custom prompt to instruct the parser on how to interpret the document.

Default

- Uses the default instruction prompt as provided in the AWS Console.