> ## 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.

# LMDB

You can use [LMDB](https://dbdb.io/db/lmdb) to store values locally on disk.

## Install LMDB addon

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

## Usage

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

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