# mongodb-rag-core

> Common elements used by MongoDB Chatbot Framework components.

Latest version **0.7.1** (published 2025-08-15) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install mongodb-rag-core
pnpm add mongodb-rag-core
yarn add mongodb-rag-core
bun add mongodb-rag-core
```

## Health

**Score 40/100 (D)** — status: maintenance-mode.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads; pre 1.0.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.7.1 |
| Published | 2025-08-15 |
| First published | 2023-10-30 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=18 |
| Dependencies | 34 |
| Unpacked size | 693.6 KB |
| Known vulnerabilities | 0 (+9 in 5 direct dependencies) |
| Install scripts | no |
| GitHub stars | 197 |
| Author | MongoDB, Inc. |
| Maintainers | nlarew, bpmutter |
| Keywords | retrieval-augmented-generation, rag, chatbot, mongodb, mongodb-chatbot-framework |

## Links

- npm: https://www.npmjs.com/package/mongodb-rag-core
- Repository: https://github.com/mongodb/chatbot
- Homepage: https://mongodb.github.io/chatbot/
- Issues: https://github.com/mongodb/chatbot/issues
- npm.io page: https://npm.io/package/mongodb-rag-core

## Dependencies (34)

- [ai](https://npm.io/package/ai.md) 5.0.0-beta.28
- [zod](https://npm.io/package/zod.md) ^3.21.4
- [toml](https://npm.io/package/toml.md) ^3.0.0
- [yaml](https://npm.io/package/yaml.md) ^2.3.1
- [acquit](https://npm.io/package/acquit.md) ^1.3.0
- [dotenv](https://npm.io/package/dotenv.md) ^16.3.1
- [ignore](https://npm.io/package/ignore.md) ^5.3.2
- [openai](https://npm.io/package/openai.md) ^5.9.1
- [rimraf](https://npm.io/package/rimraf.md) ^6.0.1
- [mongodb](https://npm.io/package/mongodb.md) ^6.3.0
- [winston](https://npm.io/package/winston.md) ^3
- [turndown](https://npm.io/package/turndown.md) ^7.2.0
- [langchain](https://npm.io/package/langchain.md) ^0.3.5
- [braintrust](https://npm.io/package/braintrust.md) ^0.2.1
- [deep-equal](https://npm.io/package/deep-equal.md) ^2.2.3
- [pdfjs-dist](https://npm.io/package/pdfjs-dist.md) ^5.3.93
- [simple-git](https://npm.io/package/simple-git.md) ^3.27.0
- [common-tags](https://npm.io/package/common-tags.md) ^1
- [gray-matter](https://npm.io/package/gray-matter.md) ^4.0.3
- [front-matter](https://npm.io/package/front-matter.md) ^4.0.2
- [@ai-sdk/azure](https://npm.io/package/@ai-sdk/azure.md) 2.0.0-beta.13
- [@ai-sdk/openai](https://npm.io/package/@ai-sdk/openai.md) 2.0.0-beta.13
- [acquit-require](https://npm.io/package/acquit-require.md) ^0.1.1
- [gpt3-tokenizer](https://npm.io/package/gpt3-tokenizer.md) ^1.1.5
- [@langchain/core](https://npm.io/package/@langchain/core.md) ^0.3.15
- [@langchain/openai](https://npm.io/package/@langchain/openai.md) ^0.3.11
- [@opendocsg/pdf2md](https://npm.io/package/@opendocsg/pdf2md.md) ^0.2.1
- [exponential-backoff](https://npm.io/package/exponential-backoff.md) ^3.1.1
- [google-auth-library](https://npm.io/package/google-auth-library.md) ^9.15.1
- [turndown-plugin-gfm](https://npm.io/package/turndown-plugin-gfm.md) ^1.0.2
- [@langchain/anthropic](https://npm.io/package/@langchain/anthropic.md) ^0.3.6
- [@langchain/community](https://npm.io/package/@langchain/community.md) ^0.3.10
- [@supercharge/promise-pool](https://npm.io/package/@supercharge/promise-pool.md) ^3.2.0
- [@apidevtools/swagger-parser](https://npm.io/package/@apidevtools/swagger-parser.md) ^10.1.0

## Alternatives

- [angular-pipes](https://npm.io/package/angular-pipes.md) — 5.6K weekly downloads
- [@ng-web-apis/midi](https://npm.io/package/@ng-web-apis/midi.md) — 2.6K weekly downloads
- [happn-3](https://npm.io/package/happn-3.md) — 1.6K weekly downloads
- [@opensip-cli/lang-go](https://npm.io/package/@opensip-cli/lang-go.md) — 1.2K weekly downloads
- [mongoose-typescript](https://npm.io/package/mongoose-typescript.md) — 85 weekly downloads

## Recent versions

- 0.7.1 (latest) — 2025-08-15
- 0.0.2-2 (next) — 2023-10-30
- 0.7.0 — 2025-05-08
- 0.6.3 — 2025-04-25
- 0.5.1 — 2025-02-05
- 0.4.1 — 2024-08-28
- 0.3.1 — 2024-06-03
- 0.3.0 — 2024-04-04
- 0.2.2 — 2024-02-05
- 0.2.1 — 2024-01-10
- 0.2.0 — 2024-01-03
- 0.1.2 — 2023-12-14
- 0.1.1 — 2023-12-05
- 0.1.1-1 — 2023-11-30
- 0.1.0 — 2023-11-30
- … 8 more at https://npm.io/package/mongodb-rag-core/versions

## README

# MongoDB RAG Core

Core library with shared components used by other MongoDB RAG packages.

## Installation

```bash
npm install mongodb-rag-core
```

---
_Source: https://npm.io/package/mongodb-rag-core · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
