Tisane
Tisane is a powerful Natural Language Understanding (NLU) platform that can be used to moderate content in chat rooms.
The Tisane integration can be applied to chat rooms so that you can use Tisane's text moderation capabilities to detect and handle inappropriate content before it's published to other users.
Integration setup
Configure the integration in your Ably dashboard or using the Control API.
The following are the fields specific to Tisane configuration:
Field | Description |
---|---|
Tisane API key | The API key for your Tisane account. |
Thresholds | A map of text moderation categories to severity levels (low , medium , high , extreme ). When moderating text, any message deemed to be at or above a specified threshold will be rejected and not published to the chat room. |
Default Language | The language to use for content analysis. |
Model URL (optional) | A custom URL if using a custom moderation model. |
For additional configuration options shared across all before-publish moderation rules, see the common configuration fields.
Handling rejections
If a message fails moderation the message will not be published and the publish request will be rejected.
Moderation rejections will use error code 42213
.