Code Monkey home page Code Monkey logo

ai_voice_assistant_tg_bot's Introduction

AI Assistant for Telegram Bot:

This bot provides two input options: text and voice.
The bot retrieves responses from ChatGPT for both types of input.

For voice input, the pipeline includes:
 1. Receive voice and process it on the server (ai_voice_bot.py)
 2. Use Whisper AI (from OpenAI) model locally that converts Speech to Text (STT model)
 3. The text generated is then corrected using ChatGPT API, which can be especially useful for children
 4. Use ChatGPT API with prompt and limited history for each particular user
 5. Convert response from ChatGPT to voice by using Text to Speech models ( TTS by coqui-AI and silero_tts for RU language)

This is a pet project created for my daughter :)

link to medium article - https://medium.com/@andreyhaykin/make-your-own-telegram-voice-assistant-with-chatgpt-20d79c042a4f?source=friends_link&sk=27c8477a5209807be01fb054351bb0f0

ai_voice_assistant_tg_bot's People

Contributors

xaik89 avatar

Stargazers

mmgpro avatar Sergei Chanyshev avatar  avatar Viste avatar Daniel avatar Ilya Isakov avatar OFFpolice avatar redsword avatar  avatar Evgeny Zaletkin avatar  avatar Olga Bystrova avatar Dmitrii avatar Ilia Burgsdorf avatar Yury Klimashin avatar  avatar Pavel Shvarchov avatar Ekaterina Khaykin avatar

Watchers

 avatar Yury Klimashin avatar

Forkers

maysamkt

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.