How can you turn off citations in OAI chat responses when using private data?

Paul Smith 20 Reputation points
2023-11-07T11:46:35.4333333+00:00

Hi,

I am currently using OAI chat with private data from a cog search index.

The requests are returning with ciations embedded in the response, like [doc1], is there a way to turn this off by passing in a param to the rest request?

I know we could prob rip them out with some regex fancy but would be good if we could turn them off, when not needed on some data indexes.

thanks

Paul

Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
1,424 questions
0 comments No comments
{count} votes

Accepted answer
  1. Pramod Valavala 19,356 Reputation points Microsoft Employee
    2023-11-07T14:55:14.46+00:00

    @Paul Smith The Chat Completions Extensions API doesn't seem to provide an option for this and considering that the request would require details about your search backend, the recommendation would be to have your endpoint from which you can hide these details and control the output with anyways.

    The sample web app does the same by having a backend that performs other tasks apart from calling the OpenAI REST APIs.

    Either way, feel free to raise a feature request to control this here.


0 additional answers

Sort by: Most helpful