Hi Art,
Greetings!
As you are using RAG (AI Search + Azure OpenAI) with the o1-mini model, and other models like 4o-mini work, it suggests that o1-mini has stricter message role requirements. This is a known issue, as system messages are accepted by the o1 model but not by o1-mini or o1-preview.
Here are some workarounds you can try:
- Request Access to a Different Model: If possible, request access to a different model, such as o1. This would be the ideal solution.
- Disable AI Search’s System Message Injection: The issue seems to be caused by RAG (Azure AI Search) modifying the prompt. Try disabling AI Search augmentation and send a request without it to confirm.
- Manually Retrieve Data from AI Search and Send to OpenAI: Since o1-mini doesn’t allow system messages, you can manually extract and append citation data from the AI Search response. Although this approach loses automatic citations, it still provides the necessary context.
I understand these are already known workarounds, but unfortunately, we can't do much as the restrictions are from OpenAI. Let me know if you have any other questions.
Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.