{
  "name": "mongodb-rag-core",
  "version": "0.5.1",
  "description": "Common elements used by MongoDB Chatbot Framework components.",
  "author": "MongoDB, Inc.",
  "license": "Apache-2.0",
  "keywords": [
    "retrieval-augmented-generation",
    "rag",
    "chatbot",
    "mongodb",
    "mongodb-chatbot-framework"
  ],
  "repository": {
    "type": "git",
    "url": "https://github.com/mongodb/chatbot.git"
  },
  "homepage": "https://mongodb.github.io/chatbot/",
  "engines": {
    "node": ">=18",
    "npm": ">=8"
  },
  "files": [
    "build",
    "README.md"
  ],
  "main": "./build/index.js",
  "exports": {
    ".": "./build/index.js",
    "./langchain": "./build/langchain.js",
    "./mongodb": "./build/mongodb.js",
    "./openai": "./build/openai.js",
    "./braintrust": "./build/braintrust.js",
    "./dataSources": "./build/dataSources/index.js",
    "./eval": "./build/eval/index.js"
  },
  "scripts": {
    "clean": "rm -rf build",
    "build": "tsc -b tsconfig.build.json",
    "test": "jest --forceExit",
    "lint": "eslint ./src --ext ts,tsx,js,jsx --report-unused-disable-directives",
    "lint:fix": "npm run lint -- --fix && prettier ./src --check --write",
    "docs": "npx typedoc --excludePrivate --exclude '**/*.test.ts' --out docs src",
    "release": "release-it"
  },
  "devDependencies": {
    "@babel/preset-typescript": "^7",
    "@babel/types": "^7",
    "@release-it/keep-a-changelog": "^4.0.0",
    "@types/common-tags": "^1",
    "@types/deep-equal": "^1.0.4",
    "@types/express": "^4.17.17",
    "@types/jest": "^26",
    "@types/jsdom": "^21.1.7",
    "@types/node": "^12",
    "@types/turndown": "^5.0.5",
    "@typescript-eslint/eslint-plugin": "^5",
    "@typescript-eslint/parser": "^5",
    "eslint": "^8",
    "eslint-config-prettier": "^8",
    "eslint-plugin-prettier": "^4",
    "eslint-plugin-tsdoc": "^0.2.14",
    "express": "^4.19.2",
    "jest": "^29",
    "mongodb-memory-server": "^10.1.2",
    "node-mocks-http": "^1.16.1",
    "prettier": "^2",
    "release-it": "^16.2.1",
    "ts-jest": "^29",
    "ts-node": "^10",
    "typedoc": "^0",
    "typescript": "^5"
  },
  "dependencies": {
    "@apidevtools/swagger-parser": "^10.1.0",
    "@langchain/anthropic": "^0.3.6",
    "@langchain/community": "^0.3.10",
    "@langchain/core": "^0.3.15",
    "@langchain/openai": "^0.3.11",
    "@supercharge/promise-pool": "^3.2.0",
    "acquit": "^1.3.0",
    "acquit-require": "^0.1.1",
    "braintrust": "^0.0.176",
    "common-tags": "^1",
    "deep-equal": "^2.2.3",
    "dotenv": "^16.3.1",
    "exponential-backoff": "^3.1.1",
    "front-matter": "^4.0.2",
    "gpt3-tokenizer": "^1.1.5",
    "gray-matter": "^4.0.3",
    "ignore": "^5.3.2",
    "langchain": "^0.3.5",
    "mongodb": "^6.3.0",
    "openai": "^4.68.4",
    "rimraf": "^6.0.1",
    "simple-git": "^3.27.0",
    "toml": "^3.0.0",
    "turndown": "^7.2.0",
    "turndown-plugin-gfm": "^1.0.2",
    "winston": "^3",
    "yaml": "^2.3.1",
    "zod": "^3.21.4"
  }
}
