Documentation Buddy is a Telegram chatbot powered by GPT and OpenAI. You can upload PDF and other documents, the bot will learn from them and you can ask it questions.
Useful in a variety of situations where you have too much information to learn and need a quick reference guide!
EMBEDDINGS_URL to match. If you use the Deploy to DigitalOcean button below then this will be deployed for you as the memory component.4839574812:AAFD39kkdpWt3ywyRZergyOLMaJhac60qc. You will use this for the TELEGRAM_TOKEN env variable later.PINECONE_API_KEY env variable. The index will be created automatically later so you don't need to do anything else.Click this button to deploy the app to the DigitalOcean App Platform. If you are not logged in, you will be prompted to log in with your DigitalOcean account.
When you get to the "Review" section of the deploy, make sure to set the plan to Basic as it will default to Pro. The chat component should run fine on a $5/mo sized instance, and the memory component will probably be fine at $5 also, but much faster at $10/mo.
You'll need to add these to the DigitalOcean app env variables.
| Key | Default | Description |
|---|---|---|
| OPEN_AI_MODEL | "gpt-3.5-turbo" | The AI model that the assistant will use to reply. GPT-3.5-Turbo will be good enough for most cases |
| OPEN_AI_KEY | Your OpenAI API Key | |
| TELEGRAM_TOKEN | The token you get from BotFather | |
| BEARER_TOKEN | Set this to a randomly generated string | |
| STORAGE_NAME | The name of the s3 storage bucket eg. "doc-buddy" | |
| STORAGE_URL | The url of the s3 bucket eg. https://sfo3.digitaloceanspaces.com/ | |
| STORAGE_KEY | The API key of the s3 bucket | |
| STORAGE_SECRET | The Secret key of the s3 bucket | |
| DATASTORE | pinecone | |
| PINECONE_API_KEY | Your Pinecone API key | |
| PINECONE_ENVIRONMENT | The envrinment of your Pinecone index eg. "northamerica-northeast1-gcp" | |
| PINECONE_INDEX | The name of your Pinecone index eg. "doc-buddy-memory" |
Simply upload a doc to the Telegram chat and doc buddy will learn the contents of that document.

You can edit the prompt that is given to the assistant in the prompt.md file.
Sponsored by Ellie - Your AI Email assistant. Ellie learns from your writing style and crafts replies as if they were written by you!
