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

# LLM Plugin

You can enable/disable the LLM plugin in the TablePlus settings. It is enabled by default when you download the app from our website.

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

TablePlus LLM plugin is located on the right sidebar

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

TablePlus LLM plugin is just a chat client:<br>

1. Your data records (data rows) are never sent to the LLM.

   TablePlus will never send your data records to a language model, and the LLM does not have permission to access your data—now or ever.
2. Table/view structure (table/view SQL creation) may be shared when using AI features.

   When you use the AI feature, TablePlus and the LLM may access your table structure (i.e., the table creation statement), but not the actual data.
3. Secure transmission to your LLM.

   TablePlus sends the table structure *directly* to your configured LLM—there is no intermediary involved.

So the security is entirely dependent on your setup. If you block access to the LLM vendors, the TablePlus plugin will not work. The query that TablePlus sends to the LLM depends on your configuration—you can point it to OpenAI, Anthropic, Github Copilot... or a local LLM instance.


---

# 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.tableplus.com/llm-plugin.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.
