Knowledge Base Configurations with Bedrock Runtime Agents - Invoke Agent : You can only provide configurations for up to 0 knowledge bases in the session state. Reduce the number of configurations and retry your request #4464
Unanswered
bushra-nasir
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
knowledgeBaseConfigurations' : [
{
'knowledgeBaseId' :"xxxxxxxxx",
'retrievalConfiguration' :{
'vectorSearchConfiguration' : {
numberOfResults': 3, # Adjust as needed
'overrideSearchType': 'HYBRID'
}
}
}
], i am using these configurations inside sessionState, I always see this error botocore.exceptions.ClientError: An error occurred (500) when calling the PutObject operation: You can only provide configurations for up to 0 knowledge bases in the session state. Reduce the number of configurations and retry your request. Without this, my responses are not retreived correctly from the knowledge base. I would appreciate some help on this
Beta Was this translation helpful? Give feedback.
All reactions