Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Translating chats enables users to communicate in their preferred language.
This article describes how you can use Azure AI APIs with the Chat SDK to build use cases like:
- Enable users to chat with each other in different languages.
- Help a support agent prioritize tickets by detecting a negative sentiment of an incoming message from a customer.
- Analyze the incoming messages for key detection and entity recognition, and prompt relevant info to the user in your app based on the message content.
One way to achieve these use cases is to have your trusted service act as a participant on a chat thread. Let's say you want to enable language translation. This service, illustrated in the following diagram, is responsible for:
- listening to the messages exchanged by other participants,
- calling Azure AI APIs to
- translate content to desired language, and
- sending the translated result as a message in the chat thread.
This way, the message history contains both original and translated messages. In the client application, you can add logic to show the original or translated message. See this quickstart to understand how to use AI APIs to translate text to different languages.
Sentiment analysis
Similarly for sentiment analysis as the users are having a conversation the Azure AI language service can be used.
Next steps
- Troubleshooting
- Help and support options