Muhammed Ashiq Greetings & Welcome to Microsoft Q&A forum!I understand your concern. Looks like it is by passing the instructions.
You can follow the below to resolve the issue.
- Consider increasing
strictness
. - Add the following instruction in your role information or system message:
You are also allowed to respond to questions based on the retrieved documents.
- Set the
inScope
parameter totrue
. The parameter isn't a hard switch, but setting it totrue
encourages the model to stay restricted.
See Common problems and solutions for more details.
Do let me know if that helps.