Skip to content

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 🤗

License

Notifications You must be signed in to change notification settings

SINGHxTUSHAR/TeleGenie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub license GitHub contributors GitHub issues GitHub pull-requests PRs Welcome

GitHub watchers GitHub forks GitHub stars

Open in Visual Studio Code

TeleGenie 🤖:

Designer (3)

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:

pip install -r requirement.txt

Setup 💿:

  • Clone the repository:
git clone https://github.com/SINGHxTUSHAR/TeleGenie.git
cd TeleGenie
  • Create a virtual environment (optional but recommended):
python -m venv venv1
  • Activate the virtual environment:
    • On Windows:
    venv1\Scripts\activate
    • On macOS/Linux:
    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 [email protected] or LinkedIn.

License 📝:

This project is licensed under the MIT License - see the LICENSE file for details.

About

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 🤗

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages