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.

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.

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.

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.)

Result:

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.

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.

Last updated

Was this helpful?