Azure-OpenAI error on invoking yaml prompt #7567
-
After updating to SK version 1.16.1, I am seeing an error on invoking a prompt like the one shown below. Content:{"error":{"message":"The response was filtered due to the prompt triggering Azure OpenAI's content management policy. Please modify your prompt and retry. I am guessing this is because of setting system message? How can we fix this error? template: | <message role="user">{{goal}}</message> template_format: handlebars |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Update: The issue was because of use of angle brackets in system instructions. Removed those and the error is resolved. |
Beta Was this translation helpful? Give feedback.
Update: The issue was because of use of angle brackets in system instructions. Removed those and the error is resolved.