You can use LibSQL a fork of SQLite to store values locally on disk.

Install LibSQL addon

npm install @llm-tools/embedjs-libsql

Usage

import { RAGApplicationBuilder } from '@llm-tools/embedjs';

import { LibSqlStore } from '@llm-tools/embedjs-libsql';



const app = await new RAGApplicationBuilder()

.setStore(new LibSqlStore({ path: './data.db' }))

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?