# Usage with Third-Party UIs

The Mars and Mercury APIs can be used in the same way as an OpenAI reverse proxy, and are compatible with any UI that supports them. Here are some configuration examples for various UIs.

(If you're looking for Swagger documentation for the API itself, see <https://inference.chub.ai>.)

<figure><img src="/files/miqG1n4H86c0kbdQL7sM" alt=""><figcaption><p>SillyTavern example configuration</p></figcaption></figure>

<figure><img src="/files/cjB6FwLiLwEWjPj5ReRv" alt=""><figcaption><p>Agnaistic example configuration</p></figcaption></figure>

<figure><img src="/files/Lc13YHou7FyEmNAKKN1A" alt=""><figcaption><p>Risu example configuration</p></figcaption></figure>

<figure><img src="/files/67RDj603TSTmNv3TU1hx" alt=""><figcaption><p>Base Tavern example configuration</p></figcaption></figure>

<figure><img src="/files/HMijaxF58pXSrONYMXCy" alt=""><figcaption><p>Kobold Lite example configuration</p></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://docs.chub.ai/docs/inference-api/usage-with-third-party-uis.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.
