Why is RetrieveAndGenerate API response is giving empty list for retrievedReferences even when output is being generated and mapped to source docs?
Using retrieve_and_generate API to query knowledge base on AWS Bedrock.
The response body consist of output answer along with the source mapping but the cited retrievedReferences is an empty list.
And the citations[‘generatedResponsePart’][‘textResponsePart’][‘text’] is showing ‘Sorry, I am unable to assist you with this request.’