You can use MongoDB as a data store. This creates three new collections in the database - which are configureable.

MongoDB is also supported as a vector database. This is separate from that.

Install MongoDB addon

npm install @llm-tools/embedjs-mongodb

Usage

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

const app = await new RAGApplicationBuilder()
.setStore(new MongoStore({ ... }))

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