# Similarity

***

```
Every time a player sends a message, this message will be tracked and compared 
     to his last one and if that message is % similar it will be blocked!
```

```yaml
  similarity-check:
    enabled: true
    cache-message-seconds: 10 # How many seconds will a message be tracked
    threshold: 0.75 # The threshold to flag the check
```

<pre><code>With /zelchat similar &#x3C;String1> &#x3C;String2> you will be able to compare two strings 
<strong>                         and tune better your threshold
</strong></code></pre>

***

<figure><img src="/files/jeTG9eIGEZC0aMC6uUXo" alt=""><figcaption></figcaption></figure>


---

# 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://natorog.gitbook.io/chat-filters/similarity.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.
