> For the complete documentation index, see [llms.txt](https://docs.jamaibase.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.jamaibase.com/using-the-platform/action-table.md).

# 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="https://949944545-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRNnvWSkFcg9eUeFklENf%2Fuploads%2F0m3lUA4ZvySHNPfAHO1M%2FScreenshot%20(270).png?alt=media&amp;token=e6ee7b2a-a6fc-4ccc-8ca7-2809b67aa0ce" 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="https://949944545-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRNnvWSkFcg9eUeFklENf%2Fuploads%2FlKHXVsD5e5DHEJKD2fvW%2FScreenshot%20(272).png?alt=media&amp;token=6329ba7c-eef8-4310-9705-40749c23f81c" alt=""><figcaption></figcaption></figure>

3. Open up the created table.
4. Configure all the **Output Columns,** by c**licking on the** <img src="https://949944545-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRNnvWSkFcg9eUeFklENf%2Fuploads%2Fzt91xt8QdMURiy4elkEa%2Fmore.png?alt=media&amp;token=699bac55-a55c-4448-9f62-5682c8516163" 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="https://949944545-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRNnvWSkFcg9eUeFklENf%2Fuploads%2FdFGmR2IwNzKscdh0Oqlw%2FScreenshot%20(274).png?alt=media&amp;token=8eaa711a-34d7-48a9-8be3-98c9257d7fab" alt=""><figcaption><p>Specify your prompt</p></figcaption></figure>

<figure><img src="https://949944545-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRNnvWSkFcg9eUeFklENf%2Fuploads%2F3wLgoyYpZpR2QDlYhHyK%2FScreenshot%20(275).png?alt=media&amp;token=9da9b8ca-ad11-4954-85ec-ef0bf887d767" 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="https://949944545-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRNnvWSkFcg9eUeFklENf%2Fuploads%2FjibSYo6Gn7zIgWkFn21S%2FScreenshot%20(278)-AddRow.png?alt=media&amp;token=7fa157f1-3827-4ed9-99cf-f157f51a95b4" alt="" data-size="line">

      <figure><img src="https://949944545-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRNnvWSkFcg9eUeFklENf%2Fuploads%2FPDenTqgOr76DMzWlHUFd%2FScreenshot%20(277).png?alt=media&amp;token=7b29da14-a81e-4ce7-8073-4817663fd9c0" 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="https://949944545-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRNnvWSkFcg9eUeFklENf%2Fuploads%2Fzt91xt8QdMURiy4elkEa%2Fmore.png?alt=media&amp;token=699bac55-a55c-4448-9f62-5682c8516163" 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="https://949944545-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRNnvWSkFcg9eUeFklENf%2Fuploads%2F0yvHjh0aeO9jvX0d7s1a%2FScreenshot%20(279).png?alt=media&amp;token=d2f943aa-84d0-4e7a-84dd-0bf83e35fa56" alt=""><figcaption></figcaption></figure>


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.jamaibase.com/using-the-platform/action-table.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
