A simple chatbot API for your website using RAG and langchain.
- Clone the repository
- Add your additional information in
data/doc.txt
arranged in different sections so that chunking does not effect RAG performance much - Create a
.env
file withHF_API_TOKEN
inside - Run
npm install
- Run
npm run build
- Run
npm start
You can change system prompt
, generation
and embedding
configurations can be changed in /assistant/config.ts
.