OverrideConfig
- class aws_cdk.aws_bedrock_agentcore_alpha.OverrideConfig(*, append_to_prompt, model)
Bases:
object(experimental) Configuration for overriding model and prompt template.
- Parameters:
append_to_prompt (
str) – (experimental) The prompt that will be appended to the system prompt to define the model’s memory consolidation/extraction strategy. This configuration provides customization to how the model identifies and extracts relevant information for memory storage. You can use the default user prompt or create a customized one.model (
IBedrockInvokable) – (experimental) The model to use for consolidation/extraction.
- Stability:
experimental
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_bedrock_agentcore_alpha as bedrock_agentcore_alpha import aws_cdk.aws_bedrock_alpha as bedrock_alpha # bedrock_invokable: bedrock_alpha.IBedrockInvokable override_config = bedrock_agentcore_alpha.OverrideConfig( append_to_prompt="appendToPrompt", model=bedrock_invokable )
Attributes
- append_to_prompt
(experimental) The prompt that will be appended to the system prompt to define the model’s memory consolidation/extraction strategy.
This configuration provides customization to how the model identifies and extracts relevant information for memory storage. You can use the default user prompt or create a customized one.
- See:
- Stability:
experimental
- model
(experimental) The model to use for consolidation/extraction.
- Stability:
experimental