Sample code for a simple web chat experience through Azure OpenAI, including Azure OpenAI On Your Data.
1.44k
stars
2.15k
forks
source link
Improve the error message shown to user in case RAI is blocking the prompt due to Jailbreak #831
Closed
slreznit closed 2 months ago
Motivation and Context
Before:![image](https://github.com/microsoft/sample-app-aoai-chatGPT/assets/30771358/9f74a5e7-43c5-4303-bda5-7367177327e5)
After: Improve the error message in case RAI is blocking the prompt due to Jailbreak
Description
Contribution Checklist