Skip to content

What does setting InScope actually do to instruct the chat service to limit responses to data found in the Azure Search Chat Data Source? #10839

Answered by dmytrostruk
EMadd2015 asked this question in Q&A
Discussion options

You must be logged in to vote

@EMadd2015

I would like to know how exactly setting the InScope parameter for AzureChatDataSource instructs the chat completion service to only respond with information found in the data source provided, as well as how exactly citations are added to the response, and how I can replicate those functionalities using multiple vector stores instead.

I'm not sure how exactly InScope parameter is implemented but taking into account that you are providing your data to AI model with system message, you can update your system message to ask model to answer questions only using the provided data, otherwise provide a general response that the information is not available. Same for citations, you w…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by sophialagerkranspandey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
.NET Issue or Pull requests regarding .NET code
3 participants