https://github.com/singhxtushar/telegenie
This is a chatbot created using the OpenAI API keys and Aiogram backend services to communicate with the gpt-3.5-turbo to solve query of user. The BotFather bot of telegram is used to provide the architecture and platform for the Chatbot name TeleGenie ๐ค
https://github.com/singhxtushar/telegenie
ai-powered-chatbot-service aiogram-bot botfather chatbot openai-api openai-chatgpt
Last synced: 1 day ago
JSON representation
This is a chatbot created using the OpenAI API keys and Aiogram backend services to communicate with the gpt-3.5-turbo to solve query of user. The BotFather bot of telegram is used to provide the architecture and platform for the Chatbot name TeleGenie ๐ค
- Host: GitHub
- URL: https://github.com/singhxtushar/telegenie
- Owner: SINGHxTUSHAR
- License: mit
- Created: 2024-04-28T12:22:28.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-28T17:04:48.000Z (over 1 year ago)
- Last Synced: 2025-07-31T05:37:15.577Z (2 months ago)
- Topics: ai-powered-chatbot-service, aiogram-bot, botfather, chatbot, openai-api, openai-chatgpt
- Language: Python
- Homepage:
- Size: 3.31 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/SINGHxTUSHAR/TeleGenie/blob/master/LICENSE)
[](https://GitHub.com/SINGHxTUSHAR/TeleGenie/graphs/contributors/)
[](https://GitHub.com/SINGHxTUSHAR/TeleGenie/issues/)
[](https://GitHub.com/SINGHxTUSHAR/TeleGenie/pulls/)
[](http://makeapullrequest.com)[](https://GitHub.com/SINGHxTUSHAR/TeleGenie/watchers/)
[](https://GitHub.com/SINGHxTUSHAR/TeleGenie/network/)
[](https://GitHub.com/SINGHxTUSHAR/TeleGenie/stargazers/)[](https://open.vscode.dev/SINGHxTUSHAR/TeleGenie)
# TeleGenie ๐ค:
Chatbots are computer programs that simulate conversation with humans. They can be found in various forms, from simple rule-based systems to complex AI-powered programs.
How Chatbots Work:
* `User Input:` Users interact with chatbots through text messages, voice commands, or buttons within a chat interface.
* `Processing:` The chatbot receives the user input and analyzes it. Rule-based bots match keywords, while AI-powered bots use NLP to understand the meaning.
* `Response Generation:` Based on the analysis, the chatbot generates a response. This could be a pre-programmed answer, information retrieved from a database, or a dynamically created response using AI.Overall, chatbots are transforming the way we interact with technology. They offer a convenient and accessible way to get information, complete tasks, and receive support.
Project-Flow:
* `OpenAI API:` This allows your chatbot to access OpenAI's powerful language models, like GPT-3.5-turbo. These models can understand and respond to user prompts in a comprehensive and informative way.
* `Aiogram:` This is a Python library specifically designed to interact with Telegram's Bot API. It simplifies the process of creating handlers for different commands and messages received by your bot.
* `BotFather:` This is an official Telegram bot that helps you create and manage your own bots. You'll use BotFather to generate a unique token that identifies your chatbot to Telegram.Chatbots powered by OpenAI's ChatGPT API leverage advanced language models to create a more natural and engaging user experience. These chatbots can grasp the nuances of human conversation, allowing them to respond in a comprehensive and informative way. By integrating ChatGPT, you bypass the need for rigid scripting and instead enable the bot to dynamically adapt its responses based on the user's input. This empowers our chatbot to hold fluid conversations, answer complex questions, and even personalize interactions for each user.
## Requirements๐ป :
Ensure you have the following dependencies installed:
- Python (version 3.7.4)
- IDE: VS-CODE
- Virtual-environment
- .env to encrypt the API key
- API key from OPENAI
- Other dependencies (refer to the requirement.txt)You can install the required Python packages using:
```bash
pip install -r requirement.txt
```## Setup ๐ฟ:
- Clone the repository:
```bash
git clone https://github.com/SINGHxTUSHAR/TeleGenie.git
cd TeleGenie
```
- Create a virtual environment (optional but recommended):
```bash
python -m venv venv1
```
- Activate the virtual environment:
- On Windows:
```bash
venv1\Scripts\activate
```
- On macOS/Linux:
```bash
source venv1/bin/activate
```
## Reference ๐งง:* We require an OPENAI API key to process the query API KEYS
* BotFather from Telegram to Provide the Service BotFather
* Error encounter TroubleShoot Error Decode
* Aiogram Documentation for reference and backend service AioGram## Contributing ๐:
If you'd like to contribute to this project, please follow the standard GitHub fork and pull request process. Contributions, issues, and feature requests are welcome!## Suggestion ๐:
If you have any suggestions for me related to this project, feel free to contact me at tusharsinghrawat.delhi@gmail.com or LinkedIn.## License ๐:
This project is licensed under the MIT License - see the LICENSE file for details.