Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

mylamour/IAbot

Repository files navigation

Demo

demo-iabot.mp4

Intro

image

Requirements

  • Chat(OpenAI powered by azure cognitive services)
  • Speech(powered by azure cognitive services)
  • OCR by cnOCR (powerd by paddlepaddleOCR)

for localhost solution, speech to text and text to speech can be instead by:

  • Bark(Text to Speech)
  • Whisper(Speech to Text)

Quickstart

brew install libespeak1 espeak libspnav swig portaudio sox
virtualenv --python=python3.10 .venv
source .venv/bin/activate
pip install -r requirements.txt
python -m spacy download zh_core_web_sm en_core_web_sm

Edit your template file and replace api keys & models

cp .env.template .env
python app.py

also you need to setting a magic word for converstion, for example. i use 下次再聊吧 to end the Converstion.

About

One bot was powered gpt4 and able to voice interaction, also image

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

Languages

AltStyle によって変換されたページ (->オリジナル) /