Giter Site home page Giter Site logo

maxim-filimonov / audio-chatgpt-telegram-bot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from faviasono/audio-chatgpt-telegram-bot

0.0 0.0 0.0 445 KB

Telegram bot to use ChatGPT with vocal commands

License: MIT License

Python 94.40% Dockerfile 5.60%

audio-chatgpt-telegram-bot's Introduction

Telegram bot transcriber

... Telegram bot to use transcribe audio messages(voice or mp3/wav files) using whisper ai from openAI.

The bot has been deployed on Railway, and it works amazingly! ๐Ÿš€ You can deploy your own bot, or try out mine! @AudioGPT_bot

Features

  • Use voice or file attachments to interact with the bost
  • Type or speak in many different languages
  • Fast answers (2-3 seconds)

Bot commands

  • /reset โ€“ start new dialog
  • /help โ€“ show help
  • /start โ€“ register to the service

Setup for deployment

  1. Register the new bot with @BotFather and retrieve the bot key

  2. Register to OpenAI and retrieve the key

  3. Register to Railway and use the template I created to set up your own configuration:

    Deploy on Railway

If you want to run locally, you will still need to set up a PostgreSQL database and configure the following env variable in app/.env file:

    API_TELEGRAM = ""
    OPENAI_TOKEN = ""

    MODE = 'polling'
    PORT = '8443'
    CHATGPT_MODEL = "gpt-3.5-turbo"

    PGDATABASE = ""
    PGHOST = ""
    PGPASSWORD = ""
    PGPORT = ""
    PGUSER = ""

audio-chatgpt-telegram-bot's People

Contributors

faviasono avatar maxim-filimonov avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.