how to limit response to my data in Azure AI?

Frank Luo 30 Reputation points
2024-04-09T16:49:03.19+00:00

I am creating a chat service using Azure AI with my own data. I want to limit response to my data only. But when I ask "what does google do?", it replies: "Google is not mentioned in the retrieved documents. However, Google is a multinational technology company...".

So my question is that how to really limit the response to my data, otherwise, just say "I don't know"?

BTW, I did check the flag "Limit response to my data content".

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

Accepted answer
  1. Azar 22,355 Reputation points MVP
    2024-04-09T19:11:14.68+00:00

    Hi there Frank Luo

    Thasts good question and thanks for using QandA platform.

    For this limiting the responses to ur own data you can enable Limit responses, when enabled, the model attempts to only rely on your documents for responses. This is set to true by default.

    User's image

    Ill also provide you the documentation link below have a look at it

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

    solution - I think I more or less figured it out. If I prefix EVERY question with "do not use your own knowledge.", it seems working.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful