Skip to content

llm-tools/chat-bot-nextjs-template

Repository files navigation

Chat bot built with EmbedJs

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.

License NestJs ChatBot Template GitHub repo

Contents

Introduction

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.

Deploy your own

You can deploy your own version of NestJs Chat Bot with 1-click:

Deploy with Vercel

Setting Up Locally

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.

Tech Stack

NestJs Chat Bot Template is built on the following libraries:

Contributing

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.

Author

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published