Azure OpenAI - Unable to Answer from Retrieved Documents

Hammad Hassan 40 Reputation points
2024-03-18T11:58:24.68+00:00

Hi

I have developed an integrated pipeline leveraging Azure AI Search and Azure OpenAI. Utilizing the REST API, I have been initiating requests to Azure OpenAI, specifying the Index within the data sources section. Upon submitting a straightforward query, Azure OpenAI responded with:

"The requested information is not found in the retrieved data. Please try another query or topic."

I began troubleshooting the query by using the dedicated REST API endpoint of Azure AI Search to cross-verify the retriever. Using a hybrid search approach and including both the query and vector in the request body, I successfully retrieved the exact documents the query targeted.

So, the retriever is successfully providing the context/documents to Azure OpenAI, but it fails to extract the required information from them. How can I resolve the issue where the necessary information is present in the document and Azure AI Search is successfully returning those documents, yet Azure OpenAI is unable to find the answer?

Azure AI Search
Azure AI Search
An Azure search service with built-in artificial intelligence capabilities that enrich information to help identify and explore relevant content at scale.
1,195 questions
Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
3,711 questions
{count} vote

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.