> For the complete documentation index, see [llms.txt](https://docs.sportradar.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sportradar.com/guides-and-tutorials/how-to-use-the-ask-ai-feature-on-the-docs.md).

# How to use the Ask AI feature on the docs

The **Ask AI** feature helps you get instant answers, explanations, or translations directly from the documentation, without needing to search manually. Whether you want to understand a concept, explore examples, or translate content into another language, **Ask AI** makes it simple and efficient.

There are **three ways** you can access **Ask AI** on the documentation portal:

1. **Search bar** – Ask questions directly as you search the entire documentation.
2. **Ask AI button (top right)** – Open the Ask AI panel to query the documentation.
3. **Ask AI on individual pages** – Interact with AI specific to the page content you’re viewing.
4. Ask AI in Your Preferred Language - You can use your **preferred language** to interact with the **Ask AI** feature on the documentation site.

### 1. Using Ask AI in the Search Bar (Option 1)

The **Ask AI** feature is also integrated directly into the **search bar**, allowing you to ask questions or request explanations without leaving your current view.\
This is ideal when you want quick answers pulled from across the documentation.

<figure><img src="/files/3Y3E3HpqOClvdmV5fcX4" alt=""><figcaption></figcaption></figure>

#### How It Works

1. Click on the **Search bar** at the top of the documentation site.
2. Type your question naturally, just like you would when chatting with AI.
3. Ask AI will search through the entire documentation and return the most relevant information.

#### Example Prompts

```
What is the Unified Odds SDK used for?
```

```
Explain how to initialize the SDK in Java
```

You can also use it for quick translations:

```
Translate odds recovery process into Spanish
```

### 2. Translating Content Across the Entire Docs (Option 2)

If you want to **translate specific terms or explanations** from anywhere in the documentation, use the **Ask AI** button at the top right of the portal. This version of Ask AI searches the **entire documentation** for the most relevant answer.

**Example prompt:**

```
Translate what is UOF to Spanish
```

This will provide the translated explanation for “UOF” using context from across the documentation.

{% hint style="success" %}
Tips

* You can use Ask AI to **summarize**, **explain**, or **compare** topics, not just translate.
* Be specific in your prompts to get the most accurate responses.
* For best results, include the context (e.g., product name or topic) in your query.
  {% endhint %}

####

### 3. Translating a Page (Option 3)

If you’d like to **translate a specific page** into another language, use the **Ask AI button** located on that page.

**Steps:**

1. Go to the page you want to translate.
2. In the top-right corner, click the **Ask AI** button (with a dropdown).
3. This will open the **Ask AI panel**.
4. In the prompt box, type:

   ```
   Translate this page to [Your Language]
   ```

   For example:

   ```
   Translate this page to German
   ```

The AI will automatically generate the complete translation of that page in your selected language.

<mark style="color:red;">**Click through the demo to experience how to translate a page to any language in just a few minutes. (For this example, German was used.)**</mark> &#x20;

{% tabs %}
{% tab title="English" %}

{% endtab %}

{% tab title="French" %}

{% @storylane/embed subdomain="app" linkValue="reyd8byfyps3" url="<https://app.storylane.io/share/reyd8byfyps3>" %}
{% endtab %}
{% endtabs %}

**Result:**

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

### 4. Ask AI in Your Preferred Language (Option 4)

You can use your **preferred language** to interact with the **Ask AI** feature on the documentation site. The AI will understand your query and respond in the same language, making learning and exploring easier without language barriers.

**Example**

If you speak Chinese, you can ask:

```
什么是统一赔率数据馈送
```

**How to Use It**

1. Go to the **Search** bar on the documentation site.
2. Type your question in **your preferred language**.
3. Press **Enter** and wait for the AI to respond; it will reply in the same language you used.

{% @storylane/embed subdomain="app" linkValue="bvm4omgfe3i1" url="<https://app.storylane.io/share/bvm4omgfe3i1>" %}

#### When to Use This Option

* When you’re looking for **quick definitions or summaries**.
* When you want to **search across the entire documentation** instead of a single page.
* When you need to **translate or clarify** a concept instantly, without opening the Ask AI panel.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.sportradar.com/guides-and-tutorials/how-to-use-the-ask-ai-feature-on-the-docs.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
