You can use LMDB to store values locally on disk.

Install LMDB addon

npm install @llm-tools/embedjs-lmdb

Usage

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') }))

If you can't find specific feature or run into issues, please feel free to reach out through the following channels.

Was this page helpful?