-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(bedrock): bedrock.ChunkingStrategy.SEMANTIC is not implemented #587
Comments
Hi @grrapport , thank you for this feature request ! I just started testing the 2 new chunking strategies, however when you try to deploy a template with either SEMANTIC or HIERARCHICAL you get an error like: 'HIERARCHICAL is not a valid enum value'. I will verify with the CloudFormation team if this is a bug and update this ticket accordingly. |
Thank you, I was tinkering with it on my side too and having some problems with CFN as well. |
Hi @grrapport , I heard back from the team and this is an error in the documentation. Those new chunking strategies are not supported yet in CloudFormation. I will close this ticket and re-open it when the feature is available to link it to the PR. |
Hi @grrapport , just FYI the support has been added and deployed in cfn (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-chunkingconfiguration.html) |
CDK support landed in 2.154.0: https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_bedrock.CfnDataSource.html |
Great timing ! Reopening as available in the CDK now, will work on it |
This new feature requires the library to be updated to cdk v2.154.0, however I just found out that there is a bug in that version (see here: aws/aws-cdk#31183) which currently prevents the upgrade. The library won't build as a property was removed in cfnDataSource. Will need to wait for V2.154.X for the fix |
A new version with the bug fixed was released overnight, will resume work on this asap |
Thank you for the updates! |
Closed with #668 |
Describe the feature
Add support for ChunkingStrategy SEMANTIC as described here
Use Case
I want to use the SEMANTIC chunking strategy for a KnowledgeBase
Proposed Solution
Add value for SEMANTIC to relevant files.
Other Information
No response
Acknowledgements
The text was updated successfully, but these errors were encountered: