OverrideConfig

class aws_cdk.aws_bedrock_agentcore_alpha.OverrideConfig(*, append_to_prompt, model)

Bases: object

(deprecated) Configuration for overriding model and prompt template.

Parameters:
  • append_to_prompt (str) – (deprecated) 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) – (deprecated) The model to use for consolidation/extraction.

Deprecated:

Use the equivalent construct from aws-cdk-lib/aws-bedrockagentcore instead.

Stability:

deprecated

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

(deprecated) 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:

https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/system-prompts.html

Stability:

deprecated

model

(deprecated) The model to use for consolidation/extraction.

Stability:

deprecated