Forum Discussion
Albin_Shaji
Mar 21, 2024Copper Contributor
RAG GetChatCompletionsAsync function response.
I have been dabbling with the RAG architecture for sometime. I liked how it makes one to focus on the grounding data and as a beginner this approach helped me a lot to explore using multiple data sou...
user_2429799
Apr 20, 2024Copper Contributor
Copilot
It seems like the issue might be related to the Azure Cognitive Search extension. The “no information found on the documents looked up” message typically indicates that the search query did not return any results from the specified index in Azure Cognitive Search.
Here are a few things you could check:
- Index: Ensure that the IndexName specified in the AzureCognitiveSearchChatExtensionConfiguration is correct and that the index contains the documents you’re trying to search.
- Search Key: Verify that the SearchKey is valid and has the necessary permissions to read from the specified index.
- Search Endpoint: Check that the SearchEndpoint is correct. It should point to your Azure Cognitive Search service.
- Documents: Make sure the documents in your index are correctly formatted and searchable. The fields you’re trying to search should be marked as searchable in your index schema.
- Query: If you’re using a vector query (QueryType = AzureCognitiveSearchQueryType.Vector), ensure that the EmbeddingEndpoint and EmbeddingKey are correctly configured, and that the SemanticConfiguration is appropriate for your use case.
If everything seems to be in order with your configuration and documents, you might want to reach out to Azure support for further assistance.
- AlbinShajiApr 22, 2024Copper ContributorThanks Venkat, I created a brand new index and tried, and that fixed the issue.
The code I shared in query is based on old version of Azure.AI.OpenAI. there are many breaking changes since the release 1.0.0-beta.14 (2024-03-04) for "ChatCompletionsOptions".