> ## Documentation Index
> Fetch the complete documentation index at: https://llm-tools.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# LibSQL

You can use [LibSQL](https://docs.turso.tech/introduction) a fork of SQLite to store values locally on disk.

## Install LibSQL addon

```bash theme={null}
npm install @llm-tools/embedjs-libsql
```

## Usage

<CodeGroup>
  ```ts Partial example theme={null}
  import { RAGApplicationBuilder } from '@llm-tools/embedjs';
  import { LibSqlStore } from '@llm-tools/embedjs-libsql';

  const app = await new RAGApplicationBuilder()
  .setStore(new LibSqlStore({ path: './data.db' }))
  ```
</CodeGroup>

<Snippet file="missing-store-tip.mdx" />
