@cdklabs/generative-ai-cdk-constructs
@cdklabs/generative-ai-cdk-constructs / bedrock / PromptStepConfiguration
Contains configurations to override a prompt template in one part of an agent sequence.
readonly
optional
customPromptTemplate:string
The custom prompt template to be used.
- The default prompt template will be used.
https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-placeholders.html
readonly
optional
inferenceConfig:InferenceConfiguration
The inference configuration parameters to use.
readonly
optional
stepEnabled:boolean
Whether to enable or skip this step in the agent sequence.
- The default state for each step type is as follows.
PRE_PROCESSING – ENABLED
ORCHESTRATION – ENABLED
KNOWLEDGE_BASE_RESPONSE_GENERATION – ENABLED
POST_PROCESSING – DISABLED
readonly
stepType:AgentStepType
The step in the agent sequence where to set a specific prompt configuration.