generative-ai-cdk-constructs-samples
generative-ai-cdk-constructs-samples copied to clipboard
feat(langfuse): langfuse tracing sample app
Issue #, if available: https://github.com/awslabs/generative-ai-cdk-constructs/issues/1031
Description of changes:
Add a new deployable sample app companion for https://github.com/awslabs/generative-ai-cdk-constructs/pull/1037 - showing how to use the constructs to deploy a self-hosted Langfuse environment, and then instrument Lambda function(s) to send traces into Langfuse when calling Bedrock.
Marking ready for review as this is now tested working end-to-end, but with outstanding actions:
- [ ] Update package.json to sensible versions of
aws-cdk-lib,constructs,@aws-cdk/aws-lambda-python-alpha, and@cdklabs/generative-ai-cdk-constructswhen the constructs library is released
Feedback very welcome!
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.