> For the complete documentation index, see [llms.txt](https://docs.lumi-ai.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.lumi-ai.com/product-features/knowledge-base/tables/magic-wand-beta.md).

# Magic Wand (Beta)

Choosing the semantic table for the knowledge base may be difficult or require lots of understanding on what the fields and tables contain during the initial setup. Magic Wand is a beta feature that would allow for an agent to look through the connected database and choose the most relevant tables and fields based on the domain of data, origin of data, and business priorities.&#x20;

{% hint style="warning" %}
Using the tool will replace the current semantic table and field selection.
{% endhint %}

### Providing Relevant Information

Each of the inputs will have some preset options, but freeform inputs can be added using the `Add Custom` button after typing in the search bar.

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

* **Domain of Data** - The business model that the tables will be used for (e.g. Marketing, Sales)
* **Origin of Data** - The sources of the data which could be a database or other data sources (e.g. Snowflake, Google Ads)
* **Business Priorities** - Based on the domain of data and focuses the business functions for the knowledge base (e.g. Sales Pipeline Visibility)

### Usage

First input the provided user inputs so Magic Wand is able to determine the relevant tables and fields. Once the inputs are appropiately set up, click the Magic Wand's `Get Started` button.

After Magic Wand completes the pop up will close. The set tables and fields can be edited to provide more insights and  details for Lumi-AI.

If Magic Wand needs to be run again, the pop up can be opened up again on the `Data Model` page using the `Magic Wand` button. It will reset all progress and fill in the information from scratch.&#x20;


---

# 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.lumi-ai.com/product-features/knowledge-base/tables/magic-wand-beta.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.
