A Telegram bot powered by GPT-4 that helps users get answers to their questions.
- Node.js
- NPM
- OpenAI
- Telegraf
- .env file
-
Clone the repository:
-
Install the dependencies:
- npm install
-
Create a .env file in the project root directory and add your API keys:
- TELEGRAM_TOKEN=your_telegram_token
- OPENAI_API_KEY=your_openai_api_key
You can use 'gpt-3.5-turbo' for faster results however GPT-4 gives better quality answers more consistently.*
-
Replace <@YourBotName> in the bot.js file with your bot's username.
-
Run the bot:
- node bot.js
Start a private chat with the bot.
Use /help to see available commands.
Type a question or mention the bot with @YourBotName followed by your question in a group chat.
/start - Welcome Message & Bot Info 👋
/socials - Social Media Links 📱
/resources - List of resources to get started 🧑💻
/help - Displays Command List ⚙️
This project is licensed under the MIT License.