Skip to content

Constructing a personalized ChatGPT bot capable of accepting voice recordings

Notifications You must be signed in to change notification settings

wealthior/ChatGptTelegramVoiceBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

🤖 Telegram ChatGPT Bot

You want ChatGPT with voice message support on your mobile phone? Then check this out!

🌟 Features

  • Simple chatbot version that can be easily copied and pasted
  • Chatbot with voice message support and customizable personality

📚 Prerequisites

  • Python v3
  • Text Editor like Visual Studio Code
  • OpenAI API key
  • Telegram app
  • Python script (provided in this repository)

🔧 Installation

  1. Download the Telegram app and search for "Botfather".
  2. Follow the instructions to create a new bot account. Choose a name for your bot.
  3. Copy the API key provided by Botfather and save it on your computer.
  4. Obtain an OpenAI API key by signing up for an account on their website.
  5. Install Python v3 on your system, if not already installed.
  6. To run it 24/7 you can host the script. For example on https://www.pythonanywhere.com/ for free

⚙️ Configuration

  1. Clone this repository and open the Python script in Visual Studio Code.

  2. pip install -r python-telegram-bot==13.0 openai moviepy

  3. Replace the placeholder values for the OpenAI API key and the Telegram API key with your respective keys.

  4. Save the script and run it to start your chatbot.

📄 Script Overview

The provided Python script connects your custom GPT chatbot with the Telegram and Whisper APIs. It handles message processing, including text and voice input, and manages the chatbot's memory and personality.

🙌 Acknowledgments

This script was originally created by The AI Advantage. Leave a like on his video and subscribe to his channel.

About

Constructing a personalized ChatGPT bot capable of accepting voice recordings

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages