# Action Table

{% embed url="<https://www.jamaibase.com/_app/immutable/assets/Action-Table.CsAFJSZa.mp4>" %}
Demo on Action Table Usage
{% endembed %}

1. Go to **>> Project >> Action Table**

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

2. Create a **New Action Table**. Define the **Column ID** and the **Data Type**. Each column can be specified as **Output** ( :heavy\_check\_mark: ) or **Input. Every Output Column is an LLM Agent.**

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

3. Open up the created table.
4. Configure all the **Output Columns,** by c**licking on the** <img src="/files/s7DqLj4rL0R4P980VjWX" alt="" data-size="line">  of the **Output Column** and **open settings.**

* Under **Prompt** tab, you can write the prompt of the LLM Agent. You can referenced any of the column to the left of the current column. E.g. In this case. **Malay** Output Column can reference the Fruit Name Column as an input in its prompt, but not any other columns (Chinese, Arabic, etc,) which are to the right of the **Malay** Output Column.

<figure><img src="/files/1u2jJ0zHC85nmIZrtydq" alt=""><figcaption><p>Specify your prompt</p></figcaption></figure>

<figure><img src="/files/ofpIR3jAH394bSO6TTBq" alt=""><figcaption><p>Define your LLM Agent Parameters</p></figcaption></figure>

5. **Click** **Update.**
6. Start using the table!
   1. On the **app.jamaibase.com,** in the table view, click <img src="/files/OGfodtnFZRR7aq09eT7X" alt="" data-size="line">

      <figure><img src="/files/wvTH5EPKLQzpZSCNvaR1" alt=""><figcaption></figcaption></figure>
   2. You can also add row through our SDK [Broken mention](broken://pages/Dzw6vpYEfw7ZfRPixN4l). at endpoint app.jamaibase.com with auth.

## Advanced Usage: Give your LLM Agent Knowledge

1. When you are updating the configuration  <img src="/files/s7DqLj4rL0R4P980VjWX" alt="" data-size="line">   of the Output Column, enable the **RAG.**
2. There are a few settings to configure:

* **k**: The number of maximum Knowledge Row that can be fetched as references during RAG.
* **Reranking Model** (<mark style="color:orange;">optional</mark>): Reranking the Knowledge Row retrieved before passing it into LLM Agent.
* **Knowledge Table**: The table where LLM Agent will search for Knowledge Rows and use it as references.

<figure><img src="/files/rs8GpR11LDOxKOFvI3H0" alt=""><figcaption></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.jamaibase.com/using-the-platform/action-table.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.
