Share via

Remove reference from answer in GPT-4 model

YR-9279 10 Reputation points
2023-12-10T21:54:06.5733333+00:00

When using the GPT-4 model to answer questions based on the index, the model provides answers with references to source files.

In this video https://www.youtube.com/live/KoewzwEPUM0?si=0rqwSdYQLufesLPw in Chat playground you can see that the model answers without the reference to the file and only writes at the beginning of the answer : "According to the retrieved document"

How can I get the answer from the model without the reference?

Thanks

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.

Azure OpenAI Service
Azure OpenAI Service

An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.

Azure AI services
Azure AI services

A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.

{count} votes

2 answers

Sort by: Most helpful
  1. Chakaravarthi Rangarajan Bhargavi 1,205 Reputation points MVP
    2023-12-27T08:12:14.49+00:00

    Hi YR-9279,

    Thanks for the wonderful question. In addition to the ajkuma's answer, We dont have option to remove the 'Reference' from the answer. We will not option to remove Reference instead, we can train the model with our own data for the reply that it has to do with the help of fine tuning the model.

    https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/fine-tuning?tabs=turbo%2Cpython&pivots=programming-language-studio

    We will be able to load the enterprise related customization aswell into the Azure OpenAI chat that what we are developing. We will have the Knowledge base been trained under our data such that, the system message is been indicated with the data that is related to our enterprise. This actually helps you in the customization in which you can refer to the proper thing that what you need to refer, instead of avoiding the referring in Azure OpenAI.

    https://learn.microsoft.com/en-us/azure/ai-services/openai/use-your-data-quickstart?tabs=command-line%2Cpython&pivots=programming-language-studio

    Please try out these steps and check if there any solution to it. Hope this answer helps you with solution! Please comment below if you need any assistance on the same. Happy to help!

    Regards,

    Chakravarthi Rangarajan Bhargavi

    -Please kindly accept the answer and vote 'Yes' if you feel helpful to support the community, thanks a lot.


  2. Ajay Kumar N 28,161 Reputation points Microsoft Employee Moderator
    2023-12-14T15:22:01.0166667+00:00

    @YR-9279 , Currently, you cannot remove the Reference' from the answer. I have also relayed this feedback to our engineering team.

    However, you may customize the experience with the web app: Web app customization.

    Just to highlight, if you are not using the Microsoft webapp chatbot code and using a third party webapp/custom developed webapp project using the Azure OpenAI Service APIs directly, then you could customize in how you choose to present the root message and citations information. The quickstart shows a rudimentary example of that : Quickstart: Chat with Azure OpenAI models using your own data | Sample app

    We appreciate your feedback!

    0 comments No comments

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.