Hi @Sree Krishna Suresh ,
Welcome to the Microsoft Q&A Platform!
When using Azure OpenAI on your data, the citations can mismatch because of differences in how Azure AI Search and OpenAI process the same data.
- Azure AI Search may index data exactly as it appears (e.g., keeping
<table>
tags). - OpenAI processes the data differently, often converting it to plain text for easier understanding. This causes the same content to "look" different in the two systems.
- Azure AI Search divides content into small chunks for storage.
- If the chunk sizes or boundaries differ between Azure AI Search and OpenAI’s processing, the systems may refer to slightly different parts of the document
Steps to resolve citations:
- Make sure the same version of the data (e.g., plain text without HTML tags) is used by both Azure AI Search and OpenAI.
- Adjust how Azure AI Search chunks data, so it matches how OpenAI processes content.
https://learn.microsoft.com/en-us/azure/ai-services/openai/azure-government