{"repo":"mitumh3/tlg-chatbot-render","free":true,"listed":false,"github":"https://github.com/mitumh3/tlg-chatbot-render","clone":"git clone https://github.com/mitumh3/tlg-chatbot-render.git","description":"Telegram chatbot that is integrated with Chat GPT and deployed 24/7 on Render for free","language":"Python","stars":27,"topics":["chat-gpt","free","openai-api","render","telegram-bot","telethon","duckduckgo","bots","chatbot","llm"],"license":"MIT","category":"ai-agents","readme_excerpt":"OpenAI-integrated Telegram Chatbot This is a project to create a Telegram chatbot that is integrated with OpenAI to enable natural language processing and intelligent responses in messaging. Additionally, we will provide guidelines for deploying the bot with zero downtime on Render for free, an alternative to Heroku. The following set of comprehensive instructions will guide you through creating the chatbot, which includes registering a new Telegram bot, configuring OpenAI API keys, integrating the two services, and deploying the application as a 24/7 service. PREREQUISITES To run this project, you will need the following: - A Github account (Obviously) - An OpenAI API Key - Telegram App ID and hash - A Telegram Bot token - A Render account - Python (version 3.8 or newer) - if running in local INSTALLATION 1. Clone this repository by typing this command in the terminal. 2. Install the required packages by this command. SETUP KEYS Get OpenAI API Key 1. Make sure you have an OpenAI account. 2. Go to to create or get an API Key. Note: In gpt-3.5-turbo model, $0.002 will be charged for 1k tokens. However, there are account plans that give you certain amount of granted credit (my case is a free trial of $18). Get Telegram App ID and Hash To get the API ID and Hash of your Telegram app (your bot), you need to follow the below steps: 1. Please ensure that you have a Telegram account and are already logged in on your phone. 2. Open your web browser and go to . 3. Enter your phone num","default_branch":null,"files":null,"tree":[],"storefront":"/r/mitumh3","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mitumh3/tlg-chatbot-render/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}