-
Notifications
You must be signed in to change notification settings - Fork 106
Description
Describe the bug
As per the following documentation, we can configure Kendra's Advanced RAG configurations. However, once we set the Score threshold to a value other than DISABLED, like LOW, we cannot revert it back to DISABLED in subsequent updates. On the web app, there is no error shown, and it appears to be successful, but the change is not reflected.
If we update to set the Score threshold to DISABLED, the request body for the PATCH method to API Gateway does not include the ScoreThreshold parameter. In this case, it is considered necessary to perform processing such as deleting the item keys (ScoreThreshold, StorageCapacityUnits) from the DynamoDB table.
To Reproduce
- Create a Generative AI Application Builder.
- Deploy a new use case. Leave the default settings as is. Select Kendra for the Knowledge base type, and set a value other than DISABLED for the Score Threshold in Advanced RAG configurations.
- Update the use case. Set DISABLED for the Score Threshold in Advanced RAG configurations.
As a result, the Score Threshold does not become DISABLED.
Expected behavior
The Score Threshold value in Advanced RAG configurations can be updated to DISABLED.
Please complete the following information about the solution:
- Version: v2.0.4
- Region: us-east-1
- Was the solution modified from the version published on this repository?: No changes have been made.
- If the answer to the previous question was yes, are the changes available on GitHub?
- Have you checked your service quotas for the sevices this solution uses?: This is not a service quota issue.
- Were there any errors in the CloudWatch Logs?: The Lambda function's create_config_string execution was successful.