awslabs / generative-ai-cdk-constructs

AWS Generative AI CDK Constructs are sample implementations of AWS CDK for common generative AI patterns.
https://awslabs.github.io/generative-ai-cdk-constructs/
Apache License 2.0
337 stars 51 forks source link

(Common): (CR Provider) #546

Open statefb opened 3 months ago

statefb commented 3 months ago

Describe the feature

Actually this is not a feature request, but I'd like to ask you why the lambda handler for CR provider is not a SingletonFunction.

Use Case

I'm planning to use this library on bedrock claude chat for custom bot creation. The app users may have multiple bots, means need multilple OpenSearch collections. Current implementation creates the same lambda handlers, it's not efficient and consumes lambda counts, and would make the customer confused when they check management console.

Proposed Solution

No response

Other Information

No response

Acknowledgements