Build a chatbot service to ensure safe conversations: Using Azure Content Safety & Azure OpenAI
A chatbot service needs a way to handle harmful content as well as generate answers. That means deciding where content moderation belongs in the conversation flow.
In this tutorial, I bring Azure OpenAI, Azure Content Safety, and Azure Cosmos DB together in a chatbot application. The focus is on connecting moderation to the service around the model, so it becomes part of how conversations are handled.
It is a starting point for implementing content checks. Moderation still needs evaluation against the kinds of conversations an application will actually receive.
Read the original article:
Build a chatbot service to ensure safe conversations: Using Azure Content Safety & Azure OpenAI