-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
AgentsforBedrockRuntime.Client.retrieve(**kwargs) -> Response 'metadata' lost 'x-amz-bedrock-kb-chunk-id' #4256
Comments
Thanks for reaching out. Can you provide more details on this issue? Here are the Boto3 commands for AgentsforBedrockRuntime: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/bedrock-agent-runtime.html. Specifically we'd like to understand what command(s) you're using and what you are trying to do. Please note that running these commands involves calls to the upstream service APIs: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_Operations_Agents_for_Amazon_Bedrock_Runtime.html, so any issues or feature requests for the API would need to get rerouted to the service team. |
bedrock_agent_runtime_client = boto3.client(service_name="bedrock-agent-runtime", config=my_config) Now, there is no "x-amz-bedrock-kb-chunk-id" |
x-amz-bedrock-kb-chunk-id is important since there is no unique id to remove deduplicate chunks. |
Thanks for following up. We would need to reach out to the Bedrock team regarding this issue, since running the retrieve command involves a call to the Retrieve API. Before doing that could you share your debug logs (with any sensitive info redacted) by adding Also can you tell us if |
I guess x-amz-bedrock-kb-chunk-id missing or not depends on the Chunking strategy of Bedrock Knowledge Base. |
@GxWwT to be clear, the SDK returns the response from the Bedrock API. Are you asking for clarification on the behavior here? Please let me know if you have a specific question for the Bedrock team. If you are requesting that the documentation be clarified, please use the Provide feedback link at the bottom of the API documentation page, and any updates will be reflected in the SDK docs. |
Greetings! It looks like this issue hasn’t been active in longer than five days. We encourage you to check if this is still an issue in the latest release. In the absence of more information, we will be closing this issue soon. If you find that this is still a problem, please feel free to provide a comment or upvote with a reaction on the initial post to prevent automatic closure. If the issue is already closed, please feel free to open a new one. |
Describe the bug
AgentsforBedrockRuntime.Client.retrieve(**kwargs) -> Response 'metadata' lost 'x-amz-bedrock-kb-chunk-id'.
'x-amz-bedrock-kb-chunk-id' is important since it is a good param to remove deduplicate chunks.
Expected Behavior
AgentsforBedrockRuntime.Client.retrieve(**kwargs) -> Response 'metadata' get beck 'x-amz-bedrock-kb-chunk-id'
Current Behavior
AgentsforBedrockRuntime.Client.retrieve(**kwargs) -> Response 'metadata' lost 'x-amz-bedrock-kb-chunk-id'
Reproduction Steps
AgentsforBedrockRuntime.Client.retrieve(**kwargs) -> Response 'metadata' lost 'x-amz-bedrock-kb-chunk-id'
Possible Solution
No response
Additional Information/Context
No response
SDK version used
1.35.12
Environment details (OS name and version, etc.)
1.35.12
The text was updated successfully, but these errors were encountered: