Bedrock is not processing KB results correctly

1

I want to identify why the Bedrock Agent and KB test KB queries are not behaving as expected and fix the problem. We believe something has changed in AWS and not our KB or agent.

Monday, February 19, 2024, we noticed that our agents on Bedrock were not working as expected. It appears that the agent is only getting 0 or 1 chunk from the KB. I have logged the SQL statements on the KB database, and the top record best matches the query. However, the KB test indicates zero results were found in the KB. Last week the agent and KB test was able to get multiple results from the KB. I have logs from last week having multiple chunks returned from KB queries. It will get at most one chunk when I perform the same prompt today.
We have tried creating different kinds of KB and are getting the same results. We have tried rebuilding the KB and same results.

AWS posted a change on the 19th https://aws.amazon.com/about-aws/whats-new/2024/02/amazon-documentdb-vector-search-hnsw-index/ I don't know if this is related but it does hint that something changed.

I have a prompt that when used in the KB test it will find zero chunks. If I take the logged SQL statement from the KB's query and run it manually I see that I get 5 records and the top record is the expected match.

  • It appears Bedrock is selecting the 5th chunk returned as the 1 chunk. I don't think there is anything wrong with the KB database.

  • It appears the issue has been resolved. Bedrock is returning multiple KB chunks from an RDS-backed vector store.

질문됨 4달 전320회 조회
1개 답변
0

I believe AWS has fixed the issue.

답변함 3달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠