Persona is a Q&A chatbot for individuals. You can give it some context (RAG) with pdf, odt or text files and serve it on your webpage. You can also have chat messages delivered to your telegram account with your bot.
Live Demo: https://canuysal.vercel.app
- Get a ChatGPT API KEY.
mv .env.sample .envand fill the variables.- Install dependencies:
Out of the box only .odt and .txt files are supported. If you want to parse pdf, install
sudo apt install pandoc conda create --name persona -c conda-forge python=3.11 conda activate persona pip install -r requirements.txtunstructured[pdf]package as well. It requires pytorch and makes the docker image too large. - Place your resume in the
/data - Run the server with
python ./server.py
cd frontendyarn installmv .env.sample .envand fill the variables.yarn dev
- Create a telegram bot with @BotFather: guide
- Start the bot using /start (only required after bot creation)
- Get your telegram chat id from @userinfobot.
- Set environment variables.
Live demo- GDrive / S3 Bucket support.
- Memory
