
Security News
ECMAScript 2025 Finalized with Iterator Helpers, Set Methods, RegExp.escape, and More
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
mongodb-chatbot-server
Advanced tools
Server that manages Q&A conversations for the Docs AI Chatbot.
Node 18 was used to start this project. Please make sure you have Node 18 installed locally. If you have nvm, you can run nvm use
to switch to the expected version of Node.
Use npm
v8 to install dependencies:
npm install
Use the .env.example
file to help configure a local .env
file.
The server relies on some cloud-only services:
content
service relies on Atlas Vector Search.llm
and embeddings services rely on the OpenAI APIs.If this is your first time setting up the server, contact a member of the development team for credentials.
To start the development server, run:
npm run dev
By default, the server should be accessible through http://localhost:3000/.
Tests are ran by Jest and rely on Supertest for testing Express route logic.
To run tests, use:
npm run test
We use eslint
for linting and prettier
for formatting.
To lint the code and find any warnings or errors, run:
npm run lint
To format the code, run:
npm run format
FAQs
A chatbot server for retrieval augmented generation (RAG).
We found that mongodb-chatbot-server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
Research
North Korean threat actors linked to the Contagious Interview campaign return with 35 new malicious npm packages using a stealthy multi-stage malware loader.