This is a sample NestJS application and template built on EmbedJS. This allows you to eaily deploy a chat bot that understands your data powered by LLMs.
EmbedJs Chat Bot Template is an open-source AI chatbot that uses EmbedJs and OpenAI to to interact in natural language on specific topics. As a demo, the bot is set to answer questions about Steve Jobs but you can load your own dataset.
For example, you can create a Harry Potter chat bot or a bot that answers questions about your private data pretty easily by simply changing a few configurations.
You can deploy your own version of NestJs Chat Bot with 1-click:
To set up NestJs Chat Bot locally, you'll need to clone the repository and set up the following environment variables:
OPENAI_API_KEY
– your OpenAI API key (you can get one here)PINECONE_API_KEY
– your Pinecone API key (you can create a free account here)PINECONE_ENVIRONMENT
– find this in the Pinecone dashboard in the API Keys section.
NestJs Chat Bot Template is built on the following libraries:
- EmbedJs - LLM and Embeddings
- Next.js – framework
- Vercel – deployments
- TailwindCSS – styles
This project and the EmbedJs library are both fully open source. We welcome all PRs and suggestions. Here's how you can contribute:
- Open an issue if you believe you've encountered a bug.
- Make a pull request to add new features/make quality-of-life improvements/fix bugs.