# Profanity Censor (experimental)

{% hint style="warning" %}
Please note that this is a research preview of our profanity censoring model&#x20;
{% endhint %}

## Overview

Fastino’s Profanity Censor model is designed to detect and redact profane, vulgar, or inappropriate language from user-generated content in real time. It offers developers precise control over content moderation, brand safety, and community standards enforcement—without compromising latency or accuracy. The model works in a zero-shot fashion and supports adjustable sensitivity via a configurable confidence threshold.

When enabled, redaction replaces offensive terms with a placeholder token (\<REDACTED\_PROFANITY>), making it easy to sanitize text before storage, display, or analysis.

## Example Use Cases

* Censoring offensive language in chat apps, forums, or comment sections
* Filtering user reviews, feedback, or customer messages for brand compliance
* Pre-processing content before display in moderated environments (e.g., educational tools, gaming platforms)
* Enabling profanity-aware search, analytics, or sentiment analysis
* Preventing toxic input in LLM-based assistant pipelines or content creation tools

## Usage

{% code title="Example Body" %}

```json
{
  "model_id": "fastino-profanity-censor-••••••••••",
  "input": [
    {
      "text": "This feature is damn helpful!",
      "parameters": {
        "threshold": 0.3,
      }
    }
  ]
}
```

{% endcode %}

{% code title="Example Response" %}

```json
[
  {
    "input": "This feature is damn helpful!",
    "latency_ms": 18.27,
    "message": "Responses from endpoint.",
    "output": {
      "entities": [
        {
          "start": 16,
          "end": 20,
          "label": "profanity",
          "text": "damn",
          "score": 0.84
        }
      ],
      "redacted_text": "This feature is <REDACTED_PROFANITY> helpful!"
    },
    "status": "success"
  }
]
```

{% endcode %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://fastino-1.gitbook.io/docs/profanity-censor-experimental.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
