I am using Azure OpenAI with SharePoint Index. In chat completion's output, citation.url and citation.filePath have null values

Ramasamy NP 0 Reputation points
2023-11-13T06:10:59.0833333+00:00

I am utilizing Azure OpenAI in conjunction with SharePoint Index as the data source. However, in the output of chat completions, I am encountering null values for both 'citation.url' and 'citation.filePath' fields

I tried to map fields like below:

User's image

chatCompletionsOptions.AzureExtensionsOptions.Extensions.Add(azureSearchService)

I tested above code and I still get null values in the filepath and url.

User's image

Can anyone help me to get url and file name?

Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
{count} votes

Your answer

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