# How to use AI assistant

LineHub everages a cutting-edge LLM to offer users an advanced AI Assistant, integrated seamlessly with the LineHub dApp. This AI bot answers user queries by consolidating information from public documentation, while also capable of executing simple tasks like token swaps and more based on user prompts.

Users can experience the AI ​​feature right on LineHub's homepage.

## AI Asistant&#x20;

1. Head to LineHub, connect your wallet&#x20;
2. Open Surface Area at the ✨ icon in the lower right corner.&#x20;

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

3. Type @ to display the functions that Assistant AI can assist you with immediately.

<figure><img src="/files/YxekyXY2aKG5Uvz2vEy4" alt="" width="563"><figcaption></figcaption></figure>

4. Select one of the commands you'd like to execute and experience its speed compared to manual actions.


---

# 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.linehub.io/tutorials/how-to-use-ai-assistant.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.
