agent-squad icon indicating copy to clipboard operation
agent-squad copied to clipboard

Feature request: DynamoDbChatStorage option to replace sensitive content by placeholder

Open pierrehanne opened this issue 1 year ago • 2 comments

Use case

Using Amazon Bedrock with DynamoDB for a production use case. A highly valuable feature would be the ability to detect and replace sensitive content with placeholders (e.g., replacing 'company-name' with '#PLACEHOLDER#') before storing it in DynamoDB Chat Storage.

Additionally, when the agent reviews the DynamoDB chat history to answer a query, the system should replace '#PLACEHOLDER#' with the original content. This ensures the agent responds accurately, using the original content rather than the placeholder.

Solution/User Experience

Enhance user experience by eliminating the need for custom storage implementation, making it an optional feature directly available within DynamoDB Chat Storage.

Alternative solutions

Maintain the implementation of a custom storage solution for DynamoDB instead of using DynamoDbChatStorage.

pierrehanne avatar Dec 03 '24 20:12 pierrehanne

Really sorry but am back now

tica3467 avatar Dec 24 '24 17:12 tica3467

Really sorry but am back now

tica3467 avatar Dec 24 '24 17:12 tica3467