Metadata-Version: 2.4
Name: achatbot
Version: 0.0.29
Summary: An open source chat bot for voice (and multimodal) assistants
Author-email: weedge <weege007@gmail.com>
Maintainer-email: weedge <weege007@gmail.com>
License: BSD 3-Clause License
        
        Copyright (c) 2024, weedge
        
        Redistribution and use in source and binary forms, with or without
        modification, are permitted provided that the following conditions are met:
        
        1. Redistributions of source code must retain the above copyright notice, this
           list of conditions and the following disclaimer.
        
        2. Redistributions in binary form must reproduce the above copyright notice,
           this list of conditions and the following disclaimer in the documentation
           and/or other materials provided with the distribution.
        
        3. Neither the name of the copyright holder nor the names of its
           contributors may be used to endorse or promote products derived from
           this software without specific prior written permission.
        
        THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
        AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
        IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
        DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
        FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
        DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
        SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
        CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
        OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
        OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
        
Project-URL: Homepage, https://github.com/ai-bot-pro/chat-bot
Project-URL: Documentation, https://github.com/ai-bot-pro/chat-bot/blob/main/docs
Project-URL: Repository, https://github.com/ai-bot-pro/chat-bot.git
Project-URL: Issues, https://github.com/ai-bot-pro/chat-bot/issues
Project-URL: Changelog, https://github.com/ai-bot-pro/chat-bot/blob/main/CHANGELOG.md
Keywords: ai,chat bot,audio,speech,video,image,vision,mcp,translate,avatar,function-calling
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Build Tools
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Topic :: Multimedia :: Sound/Audio
Classifier: Topic :: Multimedia :: Video
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests
Requires-Dist: apipeline>=0.2.7
Requires-Dist: python-dotenv
Requires-Dist: pydub
Requires-Dist: pillow
Requires-Dist: aiohttp==3.10.11
Requires-Dist: scipy
Requires-Dist: pyloudnorm
Requires-Dist: pydantic
Requires-Dist: numpy>=1.22.0
Requires-Dist: nest_asyncio
Requires-Dist: protobuf
Provides-Extra: pyee
Requires-Dist: pyee~=12.0.0; extra == "pyee"
Provides-Extra: conf
Requires-Dist: omegaconf~=2.3.0; extra == "conf"
Requires-Dist: hydra-core~=1.3.2; extra == "conf"
Provides-Extra: yaml
Requires-Dist: PyYAML~=6.0.2; extra == "yaml"
Provides-Extra: gdown
Requires-Dist: gdown==5.1.0; extra == "gdown"
Provides-Extra: matplotlib
Requires-Dist: matplotlib==3.7.5; extra == "matplotlib"
Provides-Extra: tensorrt
Requires-Dist: tensorrt~=10.4.0; extra == "tensorrt"
Provides-Extra: einops
Requires-Dist: einops~=0.8.0; extra == "einops"
Provides-Extra: flash-attn
Requires-Dist: flash-attn==2.7.3; extra == "flash-attn"
Provides-Extra: tiktoken
Requires-Dist: tiktoken~=0.7.0; extra == "tiktoken"
Provides-Extra: verovio
Requires-Dist: verovio~=4.3.1; extra == "verovio"
Provides-Extra: accelerate
Requires-Dist: accelerate>=0.26.0; extra == "accelerate"
Provides-Extra: opencv
Requires-Dist: opencv-python~=4.10.0.84; extra == "opencv"
Provides-Extra: librosa
Requires-Dist: librosa~=0.10.2.post1; extra == "librosa"
Provides-Extra: soundfile
Requires-Dist: soundfile~=0.12.1; extra == "soundfile"
Provides-Extra: torch-vision-audio
Requires-Dist: torch; extra == "torch-vision-audio"
Requires-Dist: torchvision; extra == "torch-vision-audio"
Requires-Dist: torchaudio; extra == "torch-vision-audio"
Provides-Extra: mcp
Requires-Dist: mcp[cli]~=1.9.1; extra == "mcp"
Requires-Dist: fastmcp; extra == "mcp"
Provides-Extra: diffusers
Requires-Dist: achatbot[torch_vision_audio]; extra == "diffusers"
Requires-Dist: diffusers[torch]~=0.31.0; extra == "diffusers"
Provides-Extra: bitsandbytes
Requires-Dist: bitsandbytes~=0.44.1; extra == "bitsandbytes"
Provides-Extra: autoawq
Requires-Dist: autoawq; extra == "autoawq"
Provides-Extra: fastapi
Requires-Dist: fastapi~=0.112.0; extra == "fastapi"
Provides-Extra: websocket
Requires-Dist: websockets~=12.0; extra == "websocket"
Provides-Extra: fastapi-bot-server
Requires-Dist: fastapi~=0.112.0; extra == "fastapi-bot-server"
Requires-Dist: uvicorn~=0.30.6; extra == "fastapi-bot-server"
Provides-Extra: ngrok-proxy
Requires-Dist: pyngrok~=7.2.0; extra == "ngrok-proxy"
Requires-Dist: nest-asyncio~=1.6.0; extra == "ngrok-proxy"
Provides-Extra: agora
Requires-Dist: colorlog; extra == "agora"
Requires-Dist: agora-realtime-ai-api-v1~=0.0.3; extra == "agora"
Requires-Dist: agora_python_server_sdk_v1~=0.0.3; extra == "agora"
Requires-Dist: achatbot[opencv]; extra == "agora"
Provides-Extra: daily
Requires-Dist: daily-python==0.11.0; extra == "daily"
Provides-Extra: livekit
Requires-Dist: livekit~=0.17.5; extra == "livekit"
Provides-Extra: livekit-api
Requires-Dist: livekit-api~=0.7.1; extra == "livekit-api"
Provides-Extra: webrtc
Requires-Dist: aiortc~=1.13.0; extra == "webrtc"
Provides-Extra: google-ai
Requires-Dist: google-generativeai~=0.8.3; extra == "google-ai"
Provides-Extra: openai
Requires-Dist: openai~=1.54.1; extra == "openai"
Provides-Extra: together-ai
Requires-Dist: together~=1.3.3; extra == "together-ai"
Provides-Extra: litellm
Requires-Dist: litellm~=1.52.0; extra == "litellm"
Provides-Extra: grpc
Requires-Dist: grpcio>=1.71.0; extra == "grpc"
Provides-Extra: grpc-tools
Requires-Dist: grpcio-tools>=1.71.0; extra == "grpc-tools"
Provides-Extra: rpc
Requires-Dist: grpcio>=1.71.0; extra == "rpc"
Provides-Extra: redis
Requires-Dist: redis~=5.0.0; extra == "redis"
Provides-Extra: queue
Requires-Dist: achatbot[redis]; extra == "queue"
Provides-Extra: livekit-transport
Requires-Dist: achatbot[livekit,livekit-api]; extra == "livekit-transport"
Provides-Extra: daily-transport
Requires-Dist: achatbot[daily]; extra == "daily-transport"
Provides-Extra: websocket-server-transport
Requires-Dist: achatbot[websocket]; extra == "websocket-server-transport"
Provides-Extra: agora-transport
Requires-Dist: achatbot[agora]; extra == "agora-transport"
Provides-Extra: pyaudio-stream
Requires-Dist: PyAudio~=0.2.14; extra == "pyaudio-stream"
Provides-Extra: daily-room-audio-stream
Requires-Dist: achatbot[daily]; extra == "daily-room-audio-stream"
Provides-Extra: livekit-room-audio-stream
Requires-Dist: achatbot[livekit,livekit-api]; extra == "livekit-room-audio-stream"
Provides-Extra: agora-channel-audio-stream
Requires-Dist: achatbot[agora]; extra == "agora-channel-audio-stream"
Provides-Extra: speech-audio-stream
Requires-Dist: PyAudio~=0.2.14; extra == "speech-audio-stream"
Requires-Dist: daily-python~=0.11.0; extra == "speech-audio-stream"
Provides-Extra: porcupine-wakeword
Requires-Dist: pvporcupine~=3.0.2; extra == "porcupine-wakeword"
Provides-Extra: speech-waker
Requires-Dist: achatbot[porcupine_wakeword]; extra == "speech-waker"
Provides-Extra: pyannote-vad
Requires-Dist: pyannote.audio~=3.2.0; extra == "pyannote-vad"
Provides-Extra: webrtcvad
Requires-Dist: webrtcvad~=2.0.10; extra == "webrtcvad"
Provides-Extra: silero-vad
Requires-Dist: achatbot[torch_vision_audio]; extra == "silero-vad"
Requires-Dist: onnxruntime; extra == "silero-vad"
Provides-Extra: webrtc-silero-vad
Requires-Dist: achatbot[silero_vad,webrtcvad]; extra == "webrtc-silero-vad"
Provides-Extra: speech-vad
Requires-Dist: achatbot[pyannote_vad,silero_vad,webrtcvad]; extra == "speech-vad"
Provides-Extra: daily-webrtc-vad-analyzer
Requires-Dist: achatbot[daily]; extra == "daily-webrtc-vad-analyzer"
Provides-Extra: silero-vad-analyzer
Requires-Dist: achatbot[silero_vad]; extra == "silero-vad-analyzer"
Provides-Extra: speech-vad-analyzer
Requires-Dist: achatbot[daily_webrtc_vad_analyzer,silero_vad_analyzer]; extra == "speech-vad-analyzer"
Provides-Extra: smart-turn
Requires-Dist: torch; extra == "smart-turn"
Requires-Dist: transformers; extra == "smart-turn"
Provides-Extra: rms-recorder
Provides-Extra: vad-recorder
Requires-Dist: achatbot[speech_vad]; extra == "vad-recorder"
Provides-Extra: llama-cpp
Requires-Dist: llama-cpp-python~=0.2.82; extra == "llama-cpp"
Provides-Extra: whisper-cpp
Requires-Dist: pywhispercpp; extra == "whisper-cpp"
Provides-Extra: llm-personalai-proxy
Requires-Dist: geocoder~=1.38.1; extra == "llm-personalai-proxy"
Provides-Extra: sglang
Requires-Dist: sglang[all]==0.4.4.post1; extra == "sglang"
Provides-Extra: vllm
Requires-Dist: vllm==0.9.2; extra == "vllm"
Provides-Extra: transformers
Requires-Dist: transformers[torch]; extra == "transformers"
Provides-Extra: trtllm
Requires-Dist: tensorrt-llm==0.17.0.post1; extra == "trtllm"
Provides-Extra: ctranslate2
Requires-Dist: ctranslate2; extra == "ctranslate2"
Provides-Extra: flashinfer-python
Requires-Dist: flashinfer-python==0.2.3; extra == "flashinfer-python"
Provides-Extra: llm-transformers-manual-vision
Requires-Dist: transformers; extra == "llm-transformers-manual-vision"
Requires-Dist: qwen-vl-utils; extra == "llm-transformers-manual-vision"
Requires-Dist: av; extra == "llm-transformers-manual-vision"
Requires-Dist: achatbot[torch_vision_audio]; extra == "llm-transformers-manual-vision"
Provides-Extra: llm-transformers-manual-vision-qwen
Requires-Dist: achatbot[llm_transformers_manual_vision]; extra == "llm-transformers-manual-vision-qwen"
Provides-Extra: llm-transformers-manual-vision-llama
Requires-Dist: achatbot[llm_transformers_manual_vision]; extra == "llm-transformers-manual-vision-llama"
Provides-Extra: llm-transformers-manual-vision-molmo
Requires-Dist: achatbot[einops,llm_transformers_manual_vision]; extra == "llm-transformers-manual-vision-molmo"
Provides-Extra: vision-transformers-got-ocr
Requires-Dist: achatbot[accelerate,llm_transformers_manual_vision,tiktoken,verovio]; extra == "vision-transformers-got-ocr"
Provides-Extra: llm-transformers-manual-vision-img-janus
Requires-Dist: achatbot[accelerate,einops,llm_transformers_manual_vision]; extra == "llm-transformers-manual-vision-img-janus"
Requires-Dist: sentencepiece; extra == "llm-transformers-manual-vision-img-janus"
Requires-Dist: attrdict; extra == "llm-transformers-manual-vision-img-janus"
Requires-Dist: timm>=0.9.16; extra == "llm-transformers-manual-vision-img-janus"
Provides-Extra: llm-transformers-manual-vision-deepseekvl2
Requires-Dist: achatbot[accelerate,einops]; extra == "llm-transformers-manual-vision-deepseekvl2"
Requires-Dist: transformers==4.38.2; extra == "llm-transformers-manual-vision-deepseekvl2"
Requires-Dist: xformers>=0.0.21; extra == "llm-transformers-manual-vision-deepseekvl2"
Requires-Dist: sentencepiece; extra == "llm-transformers-manual-vision-deepseekvl2"
Requires-Dist: attrdict; extra == "llm-transformers-manual-vision-deepseekvl2"
Requires-Dist: timm>=0.9.16; extra == "llm-transformers-manual-vision-deepseekvl2"
Provides-Extra: llm-transformers-manual-vision-kimi
Requires-Dist: numpy==1.26.2; extra == "llm-transformers-manual-vision-kimi"
Requires-Dist: blobfile; extra == "llm-transformers-manual-vision-kimi"
Requires-Dist: achatbot[accelerate,llm_transformers_manual_vision,tiktoken]; extra == "llm-transformers-manual-vision-kimi"
Provides-Extra: llm-transformers-manual-vision-fastvlm
Requires-Dist: achatbot[accelerate,torch_vision_audio]; extra == "llm-transformers-manual-vision-fastvlm"
Requires-Dist: numpy==1.26.4; extra == "llm-transformers-manual-vision-fastvlm"
Requires-Dist: transformers==4.48.3; extra == "llm-transformers-manual-vision-fastvlm"
Requires-Dist: tokenizers==0.21.0; extra == "llm-transformers-manual-vision-fastvlm"
Requires-Dist: sentencepiece==0.1.99; extra == "llm-transformers-manual-vision-fastvlm"
Requires-Dist: shortuuid; extra == "llm-transformers-manual-vision-fastvlm"
Requires-Dist: peft<0.14.0,>=0.10.0; extra == "llm-transformers-manual-vision-fastvlm"
Requires-Dist: bitsandbytes; extra == "llm-transformers-manual-vision-fastvlm"
Requires-Dist: markdown2[all]; extra == "llm-transformers-manual-vision-fastvlm"
Requires-Dist: scikit-learn==1.2.2; extra == "llm-transformers-manual-vision-fastvlm"
Requires-Dist: einops==0.6.1; extra == "llm-transformers-manual-vision-fastvlm"
Requires-Dist: einops-exts==0.0.4; extra == "llm-transformers-manual-vision-fastvlm"
Requires-Dist: timm==1.0.15; extra == "llm-transformers-manual-vision-fastvlm"
Provides-Extra: llm-transformers-manual-vision-smolvlm
Requires-Dist: achatbot[llm_transformers_manual_vision]; extra == "llm-transformers-manual-vision-smolvlm"
Requires-Dist: num2words; extra == "llm-transformers-manual-vision-smolvlm"
Provides-Extra: llm-transformers-manual-vision-gemma
Requires-Dist: achatbot[accelerate,llm_transformers_manual_vision]; extra == "llm-transformers-manual-vision-gemma"
Provides-Extra: llm-transformers-manual-vision-mimo
Requires-Dist: achatbot[llm_transformers_manual_vision]; extra == "llm-transformers-manual-vision-mimo"
Provides-Extra: llm-transformers-manual-vision-keye
Requires-Dist: keye-vl-utils[decord]==1.0.0; extra == "llm-transformers-manual-vision-keye"
Requires-Dist: achatbot[llm_transformers_manual_vision]; extra == "llm-transformers-manual-vision-keye"
Provides-Extra: llm-transformers-manual-vision-glm4v
Requires-Dist: achatbot[llm_transformers_manual_vision]; extra == "llm-transformers-manual-vision-glm4v"
Provides-Extra: llm-transformers-manual-vision-skyworkr1v
Requires-Dist: achatbot[llm_transformers_manual_vision]; extra == "llm-transformers-manual-vision-skyworkr1v"
Requires-Dist: timm; extra == "llm-transformers-manual-vision-skyworkr1v"
Provides-Extra: llm-transformers-manual-vision-deepseek-ocr
Requires-Dist: achatbot[accelerate,einops,llm_transformers_manual_vision,matplotlib]; extra == "llm-transformers-manual-vision-deepseek-ocr"
Requires-Dist: easydict; extra == "llm-transformers-manual-vision-deepseek-ocr"
Requires-Dist: addict; extra == "llm-transformers-manual-vision-deepseek-ocr"
Requires-Dist: torch==2.6.0; extra == "llm-transformers-manual-vision-deepseek-ocr"
Requires-Dist: torchvision==0.21.0; extra == "llm-transformers-manual-vision-deepseek-ocr"
Requires-Dist: torchaudio==2.6.0; extra == "llm-transformers-manual-vision-deepseek-ocr"
Requires-Dist: transformers==4.46.3; extra == "llm-transformers-manual-vision-deepseek-ocr"
Requires-Dist: tokenizers==0.20.3; extra == "llm-transformers-manual-vision-deepseek-ocr"
Provides-Extra: llm-transformers-manual-vision-speech-phi
Requires-Dist: achatbot[accelerate,soundfile,torch_vision_audio]; extra == "llm-transformers-manual-vision-speech-phi"
Requires-Dist: transformers==4.48.2; extra == "llm-transformers-manual-vision-speech-phi"
Requires-Dist: backoff; extra == "llm-transformers-manual-vision-speech-phi"
Requires-Dist: peft; extra == "llm-transformers-manual-vision-speech-phi"
Requires-Dist: qwen-omni-utils; extra == "llm-transformers-manual-vision-speech-phi"
Provides-Extra: llm-transformers-manual-vision-speech-gemma
Requires-Dist: achatbot[librosa,llm_transformers_manual_vision_gemma]; extra == "llm-transformers-manual-vision-speech-gemma"
Requires-Dist: timm; extra == "llm-transformers-manual-vision-speech-gemma"
Provides-Extra: llm-transformers-manual-voice
Requires-Dist: transformers~=4.45.2; extra == "llm-transformers-manual-voice"
Requires-Dist: torch~=2.2.2; extra == "llm-transformers-manual-voice"
Requires-Dist: torchaudio~=2.2.2; extra == "llm-transformers-manual-voice"
Provides-Extra: llm-transformers-manual-voice-glm
Requires-Dist: achatbot[conf,gdown,llm_transformers_manual_voice,matplotlib,tts_cosy_voice]; extra == "llm-transformers-manual-voice-glm"
Provides-Extra: llm-transformers-manual-voice-freeze-omni
Requires-Dist: achatbot[librosa,llm_transformers_manual_voice,soundfile,yaml]; extra == "llm-transformers-manual-voice-freeze-omni"
Provides-Extra: llm-transformers-manual-speech-llasa
Requires-Dist: achatbot[llm_transformers_manual_voice]; extra == "llm-transformers-manual-speech-llasa"
Provides-Extra: llm-transformers-manual-speech-spark
Requires-Dist: achatbot[llm_transformers_manual_voice]; extra == "llm-transformers-manual-speech-spark"
Provides-Extra: llm-transformers-manual-speech-llama
Requires-Dist: achatbot[llm_transformers_manual_voice]; extra == "llm-transformers-manual-speech-llama"
Provides-Extra: llm-transformers-manual-speech-higgs
Requires-Dist: torch; extra == "llm-transformers-manual-speech-higgs"
Requires-Dist: torchaudio; extra == "llm-transformers-manual-speech-higgs"
Requires-Dist: transformers<4.47.0,>=4.45.1; extra == "llm-transformers-manual-speech-higgs"
Requires-Dist: librosa; extra == "llm-transformers-manual-speech-higgs"
Requires-Dist: omegaconf; extra == "llm-transformers-manual-speech-higgs"
Requires-Dist: dacite; extra == "llm-transformers-manual-speech-higgs"
Requires-Dist: json_repair; extra == "llm-transformers-manual-speech-higgs"
Requires-Dist: pandas; extra == "llm-transformers-manual-speech-higgs"
Requires-Dist: vector_quantize_pytorch; extra == "llm-transformers-manual-speech-higgs"
Requires-Dist: loguru; extra == "llm-transformers-manual-speech-higgs"
Requires-Dist: jieba; extra == "llm-transformers-manual-speech-higgs"
Requires-Dist: accelerate>=0.26.0; extra == "llm-transformers-manual-speech-higgs"
Requires-Dist: soundfile; extra == "llm-transformers-manual-speech-higgs"
Requires-Dist: descript-audio-codec; extra == "llm-transformers-manual-speech-higgs"
Provides-Extra: llm-transformers-manual-vision-voice-minicpmo
Requires-Dist: achatbot[accelerate,librosa,soundfile]; extra == "llm-transformers-manual-vision-voice-minicpmo"
Requires-Dist: torch~=2.2.2; extra == "llm-transformers-manual-vision-voice-minicpmo"
Requires-Dist: torchaudio~=2.2.2; extra == "llm-transformers-manual-vision-voice-minicpmo"
Requires-Dist: torchvision~=0.17.2; extra == "llm-transformers-manual-vision-voice-minicpmo"
Requires-Dist: transformers==4.44.2; extra == "llm-transformers-manual-vision-voice-minicpmo"
Requires-Dist: vector-quantize-pytorch~=1.18.5; extra == "llm-transformers-manual-vision-voice-minicpmo"
Requires-Dist: vocos~=0.1.0; extra == "llm-transformers-manual-vision-voice-minicpmo"
Requires-Dist: decord; extra == "llm-transformers-manual-vision-voice-minicpmo"
Requires-Dist: moviepy; extra == "llm-transformers-manual-vision-voice-minicpmo"
Provides-Extra: llm-transformers-manual-vision-voice-qwen
Requires-Dist: achatbot[accelerate,librosa,soundfile,torch_vision_audio]; extra == "llm-transformers-manual-vision-voice-qwen"
Requires-Dist: numpy==1.26.2; extra == "llm-transformers-manual-vision-voice-qwen"
Requires-Dist: qwen-omni-utils[decord]; extra == "llm-transformers-manual-vision-voice-qwen"
Requires-Dist: torchdiffeq; extra == "llm-transformers-manual-vision-voice-qwen"
Requires-Dist: x_transformers; extra == "llm-transformers-manual-vision-voice-qwen"
Provides-Extra: llm-transformers-manual-voice-kimi
Requires-Dist: achatbot[accelerate,conf,librosa,soundfile]; extra == "llm-transformers-manual-voice-kimi"
Requires-Dist: torch~=2.6.0; extra == "llm-transformers-manual-voice-kimi"
Requires-Dist: torchaudio~=2.6.0; extra == "llm-transformers-manual-voice-kimi"
Requires-Dist: torchdyn==1.0.6; extra == "llm-transformers-manual-voice-kimi"
Requires-Dist: transformers; extra == "llm-transformers-manual-voice-kimi"
Requires-Dist: pandas; extra == "llm-transformers-manual-voice-kimi"
Requires-Dist: openai-whisper; extra == "llm-transformers-manual-voice-kimi"
Requires-Dist: sox; extra == "llm-transformers-manual-voice-kimi"
Requires-Dist: six==1.16.0; extra == "llm-transformers-manual-voice-kimi"
Requires-Dist: hyperpyyaml; extra == "llm-transformers-manual-voice-kimi"
Requires-Dist: conformer==0.3.2; extra == "llm-transformers-manual-voice-kimi"
Requires-Dist: diffusers; extra == "llm-transformers-manual-voice-kimi"
Requires-Dist: loguru; extra == "llm-transformers-manual-voice-kimi"
Requires-Dist: tqdm; extra == "llm-transformers-manual-voice-kimi"
Requires-Dist: huggingface_hub; extra == "llm-transformers-manual-voice-kimi"
Requires-Dist: blobfile; extra == "llm-transformers-manual-voice-kimi"
Requires-Dist: timm; extra == "llm-transformers-manual-voice-kimi"
Provides-Extra: llm-transformers-manual-voice-vita
Requires-Dist: achatbot[accelerate,conf,librosa,soundfile,torch_vision_audio]; extra == "llm-transformers-manual-voice-vita"
Requires-Dist: transformers; extra == "llm-transformers-manual-voice-vita"
Requires-Dist: tiktoken; extra == "llm-transformers-manual-voice-vita"
Requires-Dist: funasr; extra == "llm-transformers-manual-voice-vita"
Requires-Dist: rich; extra == "llm-transformers-manual-voice-vita"
Requires-Dist: hyperpyyaml; extra == "llm-transformers-manual-voice-vita"
Requires-Dist: conformer; extra == "llm-transformers-manual-voice-vita"
Requires-Dist: lightning; extra == "llm-transformers-manual-voice-vita"
Requires-Dist: wget; extra == "llm-transformers-manual-voice-vita"
Requires-Dist: natsort; extra == "llm-transformers-manual-voice-vita"
Requires-Dist: safetensors; extra == "llm-transformers-manual-voice-vita"
Requires-Dist: diffusers; extra == "llm-transformers-manual-voice-vita"
Requires-Dist: gdown; extra == "llm-transformers-manual-voice-vita"
Requires-Dist: jiwer; extra == "llm-transformers-manual-voice-vita"
Requires-Dist: zhon; extra == "llm-transformers-manual-voice-vita"
Requires-Dist: WeTextProcessing; extra == "llm-transformers-manual-voice-vita"
Requires-Dist: inflect; extra == "llm-transformers-manual-voice-vita"
Requires-Dist: openai-whisper; extra == "llm-transformers-manual-voice-vita"
Requires-Dist: modelscope; extra == "llm-transformers-manual-voice-vita"
Requires-Dist: word2number; extra == "llm-transformers-manual-voice-vita"
Requires-Dist: pyworld; extra == "llm-transformers-manual-voice-vita"
Requires-Dist: matplotlib; extra == "llm-transformers-manual-voice-vita"
Provides-Extra: core-llm
Requires-Dist: achatbot[llama_cpp,llm_personalai_proxy]; extra == "core-llm"
Provides-Extra: whisper-asr
Requires-Dist: openai-whisper; extra == "whisper-asr"
Provides-Extra: whisper-timestamped-asr
Requires-Dist: whisper-timestamped; extra == "whisper-timestamped-asr"
Provides-Extra: whisper-faster-asr
Requires-Dist: faster-whisper; extra == "whisper-faster-asr"
Provides-Extra: whisper-transformers-asr
Requires-Dist: transformers[torch]>=4.40.2; extra == "whisper-transformers-asr"
Provides-Extra: whisper-mlx-asr
Requires-Dist: mlx_whisper~=0.2.0; (sys_platform == "darwin" and platform_machine == "arm64") and extra == "whisper-mlx-asr"
Provides-Extra: whisper-groq-asr
Requires-Dist: groq~=0.9.0; extra == "whisper-groq-asr"
Provides-Extra: sense-voice-asr
Requires-Dist: torch; extra == "sense-voice-asr"
Requires-Dist: torchaudio; extra == "sense-voice-asr"
Requires-Dist: funasr; extra == "sense-voice-asr"
Requires-Dist: onnx; extra == "sense-voice-asr"
Requires-Dist: onnxconverter-common; extra == "sense-voice-asr"
Provides-Extra: speech-asr
Requires-Dist: achatbot[sense_voice_asr,whisper_asr,whisper_faster_asr,whisper_groq_asr,whisper_mlx_asr,whisper_timestamped_asr,whisper_transformers_asr]; extra == "speech-asr"
Provides-Extra: codec-transformers-mimi
Requires-Dist: transformers[torch]~=4.45.1; extra == "codec-transformers-mimi"
Provides-Extra: codec-moshi-mimi
Requires-Dist: moshi~=0.1.0; extra == "codec-moshi-mimi"
Provides-Extra: codec-xcodec2
Requires-Dist: xcodec2==0.1.3; extra == "codec-xcodec2"
Provides-Extra: codec-transformers-dac
Requires-Dist: transformers[torch]~=4.45.1; extra == "codec-transformers-dac"
Provides-Extra: codec-bitokenizer
Requires-Dist: einops==0.8.1; extra == "codec-bitokenizer"
Requires-Dist: einx==0.3.0; extra == "codec-bitokenizer"
Requires-Dist: numpy==2.2.3; extra == "codec-bitokenizer"
Requires-Dist: omegaconf==2.3.0; extra == "codec-bitokenizer"
Requires-Dist: packaging==24.2; extra == "codec-bitokenizer"
Requires-Dist: safetensors==0.5.2; extra == "codec-bitokenizer"
Requires-Dist: soundfile==0.12.1; extra == "codec-bitokenizer"
Requires-Dist: soxr==0.5.0.post1; extra == "codec-bitokenizer"
Requires-Dist: torch==2.5.1; extra == "codec-bitokenizer"
Requires-Dist: torchaudio==2.5.1; extra == "codec-bitokenizer"
Requires-Dist: torchvision==0.20.1; extra == "codec-bitokenizer"
Requires-Dist: transformers==4.46.2; extra == "codec-bitokenizer"
Provides-Extra: codec-snac
Requires-Dist: snac; extra == "codec-snac"
Provides-Extra: codec-wavtokenizer
Requires-Dist: numpy==1.23.5; extra == "codec-wavtokenizer"
Requires-Dist: encodec; extra == "codec-wavtokenizer"
Requires-Dist: pyyaml; extra == "codec-wavtokenizer"
Requires-Dist: huggingface_hub; extra == "codec-wavtokenizer"
Requires-Dist: achatbot[einops,librosa,matplotlib,soundfile]; extra == "codec-wavtokenizer"
Provides-Extra: tts-coqui
Requires-Dist: TTS~=0.22.0; extra == "tts-coqui"
Provides-Extra: tts-edge
Requires-Dist: edge-tts==7.2.0; extra == "tts-edge"
Provides-Extra: tts-g
Requires-Dist: gTTS~=2.5.1; extra == "tts-g"
Provides-Extra: tts-pyttsx3
Requires-Dist: pyttsx3~=2.90; extra == "tts-pyttsx3"
Provides-Extra: tts-cosy-voice
Requires-Dist: torch~=2.2.2; extra == "tts-cosy-voice"
Requires-Dist: torchaudio~=2.2.2; extra == "tts-cosy-voice"
Requires-Dist: transformers~=4.40.2; extra == "tts-cosy-voice"
Requires-Dist: hyperpyyaml~=1.2.2; extra == "tts-cosy-voice"
Requires-Dist: onnxruntime~=1.18.1; extra == "tts-cosy-voice"
Requires-Dist: openai-whisper==20231117; extra == "tts-cosy-voice"
Requires-Dist: WeTextProcessing~=1.0.2; sys_platform == "linux" and extra == "tts-cosy-voice"
Requires-Dist: conformer~=0.3.2; extra == "tts-cosy-voice"
Requires-Dist: diffusers[torch]~=0.30.0; extra == "tts-cosy-voice"
Requires-Dist: lightning~=2.2.4; extra == "tts-cosy-voice"
Requires-Dist: wget~=3.2; extra == "tts-cosy-voice"
Requires-Dist: modelscope~=1.16.0; extra == "tts-cosy-voice"
Requires-Dist: achatbot[conf]; extra == "tts-cosy-voice"
Provides-Extra: tts-cosy-voice2
Requires-Dist: achatbot[tts_cosy_voice]; extra == "tts-cosy-voice2"
Provides-Extra: tts-chat
Requires-Dist: torch~=2.2.2; extra == "tts-chat"
Requires-Dist: vocos~=0.1.0; extra == "tts-chat"
Requires-Dist: pybase16384~=0.3.7; extra == "tts-chat"
Requires-Dist: vector_quantize_pytorch~=1.16.1; extra == "tts-chat"
Requires-Dist: pynini~=2.1.5; sys_platform == "linux" and extra == "tts-chat"
Requires-Dist: WeTextProcessing~=1.0.2; sys_platform == "linux" and extra == "tts-chat"
Requires-Dist: nemo_text_processing~=1.0.2; sys_platform == "linux" and extra == "tts-chat"
Requires-Dist: transformers~=4.40.2; extra == "tts-chat"
Provides-Extra: tts-f5
Requires-Dist: wandb; extra == "tts-f5"
Requires-Dist: ema_pytorch; extra == "tts-f5"
Requires-Dist: datasets; extra == "tts-f5"
Requires-Dist: accelerate>=0.33.0; extra == "tts-f5"
Requires-Dist: bitsandbytes>0.37.0; (platform_machine != "arm64" and platform_system != "Darwin") and extra == "tts-f5"
Requires-Dist: tomli; extra == "tts-f5"
Requires-Dist: cached_path; extra == "tts-f5"
Requires-Dist: click; extra == "tts-f5"
Requires-Dist: torch~=2.2.2; extra == "tts-f5"
Requires-Dist: torchaudio~=2.2.2; extra == "tts-f5"
Requires-Dist: matplotlib; extra == "tts-f5"
Requires-Dist: numpy<=1.26.4; extra == "tts-f5"
Requires-Dist: torchdiffeq; extra == "tts-f5"
Requires-Dist: jieba; extra == "tts-f5"
Requires-Dist: pypinyin; extra == "tts-f5"
Requires-Dist: achatbot[librosa,soundfile]; extra == "tts-f5"
Requires-Dist: transformers~=4.40.2; extra == "tts-f5"
Requires-Dist: x_transformers>=1.31.14; extra == "tts-f5"
Requires-Dist: vocos~=0.1.0; extra == "tts-f5"
Provides-Extra: tts-openvoicev2
Requires-Dist: achatbot[librosa,soundfile,whisper_faster_asr,whisper_timestamped_asr]; extra == "tts-openvoicev2"
Requires-Dist: wavmark==0.0.3; extra == "tts-openvoicev2"
Requires-Dist: eng_to_ipa~=0.0.2; extra == "tts-openvoicev2"
Requires-Dist: inflect~=7.0.0; extra == "tts-openvoicev2"
Requires-Dist: unidecode~=1.3.7; extra == "tts-openvoicev2"
Requires-Dist: jieba; extra == "tts-openvoicev2"
Requires-Dist: pypinyin; extra == "tts-openvoicev2"
Requires-Dist: cn2an; extra == "tts-openvoicev2"
Requires-Dist: langid; extra == "tts-openvoicev2"
Provides-Extra: tts-kokoro
Requires-Dist: torch~=2.2.2; extra == "tts-kokoro"
Requires-Dist: transformers~=4.40.2; extra == "tts-kokoro"
Requires-Dist: phonemizer; extra == "tts-kokoro"
Requires-Dist: munch; extra == "tts-kokoro"
Provides-Extra: tts-onnx-kokoro
Requires-Dist: kokoro-onnx~=0.2.5; extra == "tts-onnx-kokoro"
Provides-Extra: tts-fishspeech
Requires-Dist: torch~=2.3.1; extra == "tts-fishspeech"
Requires-Dist: torchaudio~=2.3.1; extra == "tts-fishspeech"
Requires-Dist: transformers~=4.40.2; extra == "tts-fishspeech"
Requires-Dist: natsort>=8.4.0; extra == "tts-fishspeech"
Requires-Dist: loguru>=0.6.0; extra == "tts-fishspeech"
Requires-Dist: rich>=13.5.3; extra == "tts-fishspeech"
Requires-Dist: vector_quantize_pytorch==1.14.24; extra == "tts-fishspeech"
Requires-Dist: loralib>=0.1.2; extra == "tts-fishspeech"
Requires-Dist: tiktoken>=0.8.0; extra == "tts-fishspeech"
Requires-Dist: pytorch-lightning~=2.4.0; extra == "tts-fishspeech"
Requires-Dist: lightning~=2.4.0; extra == "tts-fishspeech"
Requires-Dist: pyrootutils; extra == "tts-fishspeech"
Requires-Dist: achatbot[conf,einops,librosa]; extra == "tts-fishspeech"
Provides-Extra: tts-llasa
Requires-Dist: achatbot[codec_xcodec2]; extra == "tts-llasa"
Provides-Extra: tts-zonos
Requires-Dist: torch>=2.5.1; extra == "tts-zonos"
Requires-Dist: inflect>=7.5.0; extra == "tts-zonos"
Requires-Dist: kanjize>=1.5.0; extra == "tts-zonos"
Requires-Dist: phonemizer>=3.3.0; extra == "tts-zonos"
Requires-Dist: sudachidict-full>=20241021; extra == "tts-zonos"
Requires-Dist: sudachipy>=0.6.10; extra == "tts-zonos"
Requires-Dist: torchaudio>=2.5.1; extra == "tts-zonos"
Requires-Dist: transformers>=4.48.1; extra == "tts-zonos"
Requires-Dist: huggingface-hub>=0.28.1; extra == "tts-zonos"
Requires-Dist: achatbot[soundfile]; extra == "tts-zonos"
Provides-Extra: tts-zonos-hybrid
Requires-Dist: achatbot[tts_zonos]; extra == "tts-zonos-hybrid"
Requires-Dist: flash-attn>=2.7.3; extra == "tts-zonos-hybrid"
Requires-Dist: mamba-ssm>=2.2.4; extra == "tts-zonos-hybrid"
Requires-Dist: causal-conv1d>=1.5.0.post8; extra == "tts-zonos-hybrid"
Provides-Extra: tts-step
Requires-Dist: torch==2.3.1; extra == "tts-step"
Requires-Dist: torchaudio==2.3.1; extra == "tts-step"
Requires-Dist: torchvision==0.18.1; extra == "tts-step"
Requires-Dist: transformers==4.48.3; extra == "tts-step"
Requires-Dist: accelerate==1.3.0; extra == "tts-step"
Requires-Dist: openai-whisper==20231117; extra == "tts-step"
Requires-Dist: sox==1.5.0; extra == "tts-step"
Requires-Dist: modelscope; extra == "tts-step"
Requires-Dist: six==1.16.0; extra == "tts-step"
Requires-Dist: hyperpyyaml; extra == "tts-step"
Requires-Dist: conformer==0.3.2; extra == "tts-step"
Requires-Dist: diffusers; extra == "tts-step"
Requires-Dist: onnxruntime-gpu==1.20.1; extra == "tts-step"
Requires-Dist: sentencepiece; extra == "tts-step"
Requires-Dist: funasr>=1.1.3; extra == "tts-step"
Requires-Dist: protobuf==5.29.3; extra == "tts-step"
Requires-Dist: achatbot[conf,librosa]; extra == "tts-step"
Provides-Extra: tts-spark
Requires-Dist: achatbot[codec_bitokenizer]; extra == "tts-spark"
Provides-Extra: tts-generator-spark
Requires-Dist: achatbot[tts_spark]; extra == "tts-generator-spark"
Provides-Extra: tts-orpheus
Requires-Dist: achatbot[codec_snac]; extra == "tts-orpheus"
Requires-Dist: numpy==1.26.4; extra == "tts-orpheus"
Requires-Dist: torch==2.3.1; extra == "tts-orpheus"
Requires-Dist: torchaudio==2.3.1; extra == "tts-orpheus"
Requires-Dist: transformers==4.48.3; extra == "tts-orpheus"
Provides-Extra: tts-mega3
Requires-Dist: torch==2.3.1; extra == "tts-mega3"
Requires-Dist: torchaudio==2.3.1; extra == "tts-mega3"
Requires-Dist: transformers==4.49.0; extra == "tts-mega3"
Requires-Dist: WeTextProcessing==1.0.4.1; extra == "tts-mega3"
Requires-Dist: pyloudnorm==0.1.1; extra == "tts-mega3"
Requires-Dist: x-transformers==1.44.4; extra == "tts-mega3"
Requires-Dist: torchdiffeq==0.2.5; extra == "tts-mega3"
Requires-Dist: openai-whisper==20240930; extra == "tts-mega3"
Requires-Dist: langdetect; extra == "tts-mega3"
Requires-Dist: attrdict; extra == "tts-mega3"
Requires-Dist: setproctitle==1.3.3; extra == "tts-mega3"
Requires-Dist: achatbot[librosa]; extra == "tts-mega3"
Provides-Extra: tts-higgs
Requires-Dist: achatbot[llm_transformers_manual_speech_higgs]; extra == "tts-higgs"
Provides-Extra: speech-tts
Requires-Dist: achatbot[tts_chat,tts_coqui,tts_cosy_voice,tts_edge,tts_f5,tts_g,tts_kokoro,tts_openvoicev2,tts_pyttsx3]; extra == "speech-tts"
Provides-Extra: stream-player
Provides-Extra: vision-yolo-detector
Requires-Dist: ultralytics~=8.3.12; extra == "vision-yolo-detector"
Requires-Dist: supervision~=0.24.0; extra == "vision-yolo-detector"
Provides-Extra: pytube
Requires-Dist: pytube~=15.0.0; extra == "pytube"
Provides-Extra: deep-translator
Requires-Dist: deep_translator~=1.11.4; extra == "deep-translator"
Provides-Extra: ai-langchain-framework-processor
Requires-Dist: langchain~=0.3.9; extra == "ai-langchain-framework-processor"
Provides-Extra: ai-frameworks-processor
Requires-Dist: achatbot[ai_langchain_framework_processor]; extra == "ai-frameworks-processor"
Provides-Extra: lite-avatar
Requires-Dist: funasr; extra == "lite-avatar"
Requires-Dist: av; extra == "lite-avatar"
Requires-Dist: h5py; extra == "lite-avatar"
Requires-Dist: jieba; extra == "lite-avatar"
Requires-Dist: pypinyin; extra == "lite-avatar"
Requires-Dist: transformers; extra == "lite-avatar"
Requires-Dist: typeguard==2.13.3; extra == "lite-avatar"
Requires-Dist: vector-quantize-pytorch; extra == "lite-avatar"
Requires-Dist: vocos; extra == "lite-avatar"
Requires-Dist: onnxruntime; extra == "lite-avatar"
Requires-Dist: numpy==1.26.4; extra == "lite-avatar"
Provides-Extra: lite-avatar-gpu
Requires-Dist: achatbot[lite_avatar]; extra == "lite-avatar-gpu"
Requires-Dist: onnxruntime-gpu; extra == "lite-avatar-gpu"
Provides-Extra: musetalk-avatar
Requires-Dist: ffmpeg-python>=0.2.0; extra == "musetalk-avatar"
Requires-Dist: imageio[ffmpeg]>=2.37.0; extra == "musetalk-avatar"
Requires-Dist: tensorflow==2.12.0; extra == "musetalk-avatar"
Requires-Dist: accelerate==0.32.0; extra == "musetalk-avatar"
Requires-Dist: transformers==4.44.1; extra == "musetalk-avatar"
Requires-Dist: av; extra == "musetalk-avatar"
Requires-Dist: moviepy; extra == "musetalk-avatar"
Requires-Dist: diffusers; extra == "musetalk-avatar"
Requires-Dist: achatbot[conf,einops,librosa,opencv,soundfile]; extra == "musetalk-avatar"
Provides-Extra: lam-audio2expression-avatar
Requires-Dist: opencv_python_headless; extra == "lam-audio2expression-avatar"
Requires-Dist: omegaconf; extra == "lam-audio2expression-avatar"
Requires-Dist: addict==2.4.0; extra == "lam-audio2expression-avatar"
Requires-Dist: yapf==0.40.1; extra == "lam-audio2expression-avatar"
Requires-Dist: librosa; extra == "lam-audio2expression-avatar"
Requires-Dist: termcolor; extra == "lam-audio2expression-avatar"
Requires-Dist: numpy==1.24.3; extra == "lam-audio2expression-avatar"
Requires-Dist: protobuf==5.29.4; extra == "lam-audio2expression-avatar"
Requires-Dist: transformers==4.36.2; extra == "lam-audio2expression-avatar"
Provides-Extra: deepgram-asr-processor
Requires-Dist: deepgram-sdk~=3.7.7; extra == "deepgram-asr-processor"
Provides-Extra: asr-processor
Requires-Dist: achatbot[deepgram_asr_processor,speech_asr]; extra == "asr-processor"
Provides-Extra: cartesia-tts-processor
Requires-Dist: websockets~=12.0; extra == "cartesia-tts-processor"
Provides-Extra: tts-processor
Requires-Dist: achatbot[cartesia_tts_processor,openai,speech_tts]; extra == "tts-processor"
Provides-Extra: openai-llm-processor
Requires-Dist: achatbot[openai]; extra == "openai-llm-processor"
Provides-Extra: google-llm-processor
Requires-Dist: achatbot[google_ai,openai]; extra == "google-llm-processor"
Provides-Extra: litellm-processor
Requires-Dist: achatbot[litellm,openai]; extra == "litellm-processor"
Provides-Extra: llm-processor
Requires-Dist: achatbot[google_llm_processor,litellm_processor,openai_llm_processor]; extra == "llm-processor"
Provides-Extra: img-processor
Requires-Dist: openai~=1.54.1; extra == "img-processor"
Provides-Extra: glm-voice-processor
Requires-Dist: achatbot[bitsandbytes,llm_transformers_manual_voice_glm]; extra == "glm-voice-processor"
Provides-Extra: freeze-omni-voice-processor
Requires-Dist: achatbot[llm_transformers_manual_voice_freeze_omni]; extra == "freeze-omni-voice-processor"
Provides-Extra: moshi-voice-processor
Requires-Dist: moshi~=0.2.1; extra == "moshi-voice-processor"
Provides-Extra: step-voice-processor
Requires-Dist: achatbot[tts_step]; extra == "step-voice-processor"
Provides-Extra: daily-rtvi-bot
Requires-Dist: achatbot[daily_transport,llm_processor,tts_edge,whisper_groq_asr]; extra == "daily-rtvi-bot"
Provides-Extra: langchain-openai-tidb-vector
Requires-Dist: achatbot[ai_langchain_framework_processor]; extra == "langchain-openai-tidb-vector"
Requires-Dist: langchain-text-splitters~=0.3.2; extra == "langchain-openai-tidb-vector"
Requires-Dist: langchain-openai~=0.2.11; extra == "langchain-openai-tidb-vector"
Requires-Dist: langchain-community~=0.3.9; extra == "langchain-openai-tidb-vector"
Requires-Dist: tidb-vector~=0.0.10; extra == "langchain-openai-tidb-vector"
Requires-Dist: pymysql~=1.1.1; extra == "langchain-openai-tidb-vector"
Provides-Extra: daily-langchain-rag-bot
Requires-Dist: achatbot[daily_transport,langchain_openai_tidb_vector,llm_processor,tts_edge,whisper_groq_asr]; extra == "daily-langchain-rag-bot"
Provides-Extra: local-terminal-chat-bot
Requires-Dist: tqdm>=4.66.0; extra == "local-terminal-chat-bot"
Requires-Dist: achatbot[core_llm,pyaudio_stream,speech_asr,speech_tts,speech_vad,speech_waker,stream_player]; extra == "local-terminal-chat-bot"
Provides-Extra: daily-webrtc-terminal-chat-bot
Requires-Dist: achatbot[core_llm,daily_room_audio_stream,speech_asr,speech_tts,speech_vad,speech_waker,stream_player]; extra == "daily-webrtc-terminal-chat-bot"
Provides-Extra: remote-queue-chat-bot-fe
Requires-Dist: achatbot[queue,speech_audio_stream,stream_player]; extra == "remote-queue-chat-bot-fe"
Provides-Extra: remote-queue-chat-bot-be-worker
Requires-Dist: achatbot[core_llm,queue,speech_asr,speech_tts,speech_vad,speech_waker]; extra == "remote-queue-chat-bot-be-worker"
Provides-Extra: remote-rpc-chat-bot-fe
Requires-Dist: achatbot[rpc,speech_audio_stream]; extra == "remote-rpc-chat-bot-fe"
Provides-Extra: remote-rpc-chat-bot-be-worker
Requires-Dist: achatbot[core_llm,rpc,speech_asr,speech_tts,speech_vad,speech_waker]; extra == "remote-rpc-chat-bot-be-worker"
Provides-Extra: remote-grpc-tts-client
Requires-Dist: achatbot[grpc,stream_player]; extra == "remote-grpc-tts-client"
Provides-Extra: remote-grpc-tts-server
Requires-Dist: achatbot[grpc,speech_tts]; extra == "remote-grpc-tts-server"
Provides-Extra: test
Requires-Dist: sentence_transformers~=3.0.0; extra == "test"
Requires-Dist: pytest~=8.3.2; extra == "test"
Requires-Dist: pytest-mock~=3.14.0; extra == "test"
Dynamic: license-file

image

# achatbot
[![PyPI](https://img.shields.io/pypi/v/achatbot)](https://pypi.org/project/achatbot/)

achatbot factory, create chat bots with llm(tools), asr, tts, vad, ocr, detect object etc..

:evergreen_tree: Project Structure

# Project Structure
![project-structure](https://github.com/user-attachments/assets/5bf7cebb-e590-4718-a78a-6b0c0b36ea28)  

:herb: Features

# Features
- demo
  
  - [podcast](https://github.com/ai-bot-pro/achatbot/blob/main/demo/content_parser_tts.py)  AI Podcast：[https://podcast-997.pages.dev/](https://podcast-997.pages.dev/) :)
  
    ```shell
    # need GOOGLE_API_KEY in environment variables
    # default use language English
    
    # websit
    python -m demo.content_parser_tts instruct-content-tts \
        "https://en.wikipedia.org/wiki/Large_language_model"
    
    python -m demo.content_parser_tts instruct-content-tts \
        --role-tts-voices zh-CN-YunjianNeural \
        --role-tts-voices zh-CN-XiaoxiaoNeural \
        --language zh \
        "https://en.wikipedia.org/wiki/Large_language_model"
    
    # pdf
    # https://web.stanford.edu/~jurafsky/slp3/ed3bookaug20_2024.pdf 600 page is ok~ :)
    python -m demo.content_parser_tts instruct-content-tts \
        "/Users/wuyong/Desktop/Speech and Language Processing.pdf"
    
    python -m demo.content_parser_tts instruct-content-tts \
        --role-tts-voices zh-CN-YunjianNeural \
        --role-tts-voices zh-CN-XiaoxiaoNeural \
        --language zh \
        "/Users/wuyong/Desktop/Speech and Language Processing.pdf"
    ```
  
- cmd chat bots:

  - [local-terminal-chat](https://github.com/ai-bot-pro/achatbot/tree/main/src/cmd/local-terminal-chat)(be/fe)
  - [remote-queue-chat](https://github.com/ai-bot-pro/achatbot/tree/main/src/cmd/remote-queue-chat)(be/fe)
  - [grpc-terminal-chat](https://github.com/ai-bot-pro/achatbot/tree/main/src/cmd/grpc/terminal-chat)(be/fe)
  - [grpc-speaker](https://github.com/ai-bot-pro/achatbot/tree/main/src/cmd/grpc/speaker)
  - [http fastapi_daily_bot_serve](https://github.com/ai-bot-pro/achatbot/blob/main/src/cmd/http/server/fastapi_daily_bot_serve.py) (with chat bots pipeline)
  - [**bots with config**](https://github.com/ai-bot-pro/achatbot/blob/main/src/cmd/bots/main.py)  see notebooks:
    - [Run chat bots with colab notebook](https://github.com/ai-bot-pro/achatbot?tab=readme-ov-file#run-chat-bots-with-colab-notebook)  🏃

- support transport connector: 
  - [x] pipe(UNIX socket)
  - [ ] TCP/IP socket
  - [x] gRPC
  - queue
    - [x] redis
    - [ ] zmq
    - [ ] rocketmq

- chat bot processors: 
  - aggreators(llm use, assistant message), 
  - ai_frameworks
    - [x] [langchain](https://www.langchain.com/): RAG
    - [ ] [llamaindex](https://www.llamaindex.ai/): RAG
    - [ ] [autoagen](https://github.com/microsoft/autogen): multi Agents
  - realtime voice inference(RTVI),
  - transport: 
    - WebRTC:
      - [x] **[daily](https://github.com/ai-bot-pro/achatbot/blob/main/src/transports/daily.py)**: audio, video(image)
      - [x] **[livekit](https://github.com/ai-bot-pro/achatbot/blob/main/src/transports/livekit.py)**: audio, video(image)
      - [x] **[agora](https://github.com/ai-bot-pro/achatbot/blob/main/src/transports/agora.py)**: audio, video(image)
      - [x] **[small_webrtc](https://github.com/ai-bot-pro/achatbot/blob/main/src/transports/small_webrtc.py)**: audio, video(image)
    - WebSocket:
      - [x] [Websocket server](https://github.com/ai-bot-pro/achatbot/blob/main/src/transports/websocket_server.py)
      - [x] [fastapi Websocket server](https://github.com/ai-bot-pro/achatbot/blob/main/src/transports/fastapi_websocket_server.py)
  - ai processor: llm, tts, asr etc..
    - llm_processor:
      - [x] [openai](https://github.com/ai-bot-pro/achatbot/blob/main/test/integration/processors/test_openai_llm_processor.py)(use openai sdk)
      - [x] [google gemini](https://github.com/ai-bot-pro/achatbot/blob/main/test/integration/processors/test_google_llm_processor.py)(use google-generativeai sdk)
      - [x] [litellm](https://github.com/ai-bot-pro/achatbot/blob/main/test/integration/processors/test_litellm_processor.py)(use openai input/output format proxy sdk) 

- core module:
  - local llm: 
    - [x] llama-cpp (support text,vision with function-call model) 
      - [x] llm_llamacpp_generator
    - [x] fastdeploy:
      - [x] llm_fastdeploy_vision_ernie4v
      - [x] llm_fastdeploy_generator
    - [x] tensorrt_llm:
      - [x] llm_trtllm_generator
      - [x] llm_trtllm_runner_generator
    - [x] sglang:
      - [x] llm_sglang_generator
    - [x] vllm:
      - [x] llm_vllm_generator
      - [x] llm_vllm_vision_skyworkr1v
      - [x] llm_vllm_deepseek_ocr, llm_office_vllm_deepseek_ocr
    - [x] transformers(manual, pipeline) (support text; vision,vision+image; speech,voice; vision+voice)
      - [x] llm_transformers_manual_vision_llama
      - [x] llm_transformers_manual_vision_molmo
      - [x] llm_transformers_manual_vision_qwen
      - [x] llm_transformers_manual_vision_deepseek
      - [x] llm_transformers_manual_vision_janus_flow
      - [x] llm_transformers_manual_vision_janus
      - [x] llm_transformers_manual_vision_smolvlm
      - [x] llm_transformers_manual_vision_gemma
      - [x] llm_transformers_manual_vision_fastvlm
      - [x] llm_transformers_manual_vision_kimi
      - [x] llm_transformers_manual_vision_mimo
      - [x] llm_transformers_manual_vision_keye
      - [x] llm_transformers_manual_vision_glm4v
      - [x] llm_transformers_manual_vision_skyworkr1v
      - [x] llm_transformers_manual_vision_deepseek_ocr
      - [x] llm_transformers_manual_image_janus_flow
      - [x] llm_transformers_manual_vision_janus
      - [x] llm_transformers_manual_image_janus
      - [x] llm_transformers_manual_speech_llasa
      - [x] llm_transformers_manual_speech_step
      - [x] llm_transformers_manual_voice_glm
      - [x] llm_transformers_manual_vision_voice_minicpmo, llm_transformers_manual_voice_minicpmo,llm_transformers_manual_audio_minicpmo,llm_transformers_manual_text_speech_minicpmo,llm_transformers_manual_instruct_speech_minicpmo,llm_transformers_manual_vision_minicpmo
      - [x] llm_transformers_manual_qwen2_5omni, llm_transformers_manual_qwen2_5omni_audio_asr,llm_transformers_manual_qwen2_5omni_vision,llm_transformers_manual_qwen2_5omni_speech,llm_transformers_manual_qwen2_5omni_vision_voice,llm_transformers_manual_qwen2_5omni_text_voice,llm_transformers_manual_qwen2_5omni_audio_voice
      - [x] llm_transformers_manual_kimi_voice,llm_transformers_manual_kimi_audio_asr,llm_transformers_manual_kimi_text_voice
      - [x] llm_transformers_manual_vita_text llm_transformers_manual_vita_audio_asr llm_transformers_manual_vita_tts llm_transformers_manual_vita_text_voice llm_transformers_manual_vita_voice
      - [x] llm_transformers_manual_phi4_vision_speech,llm_transformers_manual_phi4_audio_asr,llm_transformers_manual_phi4_audio_translation,llm_transformers_manual_phi4_vision,llm_transformers_manual_phi4_audio_chat
      - [x] llm_transformers_manual_vision_speech_gemma3n,llm_transformers_manual_vision_gemma3n,llm_transformers_manual_gemma3n_audio_asr,llm_transformers_manual_gemma3n_audio_translation
      - [x] llm_transformers_manual_voice_step2, llm_vllm_client_step_audio2, llm_vllm_client_step_audio2_mock
      - [x] llm_transformers_manual_qwen3omni, llm_transformers_manual_qwen3omni_vision_voice
  - remote api llm: personal-ai(like openai api, other ai provider)
  
- AI modules:
  - functions:
    - [x] search: search,search1,serper
    - [x] weather: openweathermap
  - punctuation: 
    - [x]  punc_ct_tranformerm, punc_ct_tranformer_offline, punc_ct_tranformer_onnx, punc_ct_tranformer_onnx_offline
  - speech:
    - [x] asr: 
      - [x] whisper_asr, whisper_timestamped_asr, whisper_faster_asr, whisper_transformers_asr, whisper_mlx_asr
      - [x] whisper_groq_asr
      - [x] sense_voice_asr
      - [x] minicpmo_asr (whisper)
      - [x] qwen2_5omni_asr (whisper)
      - [x] kimi_asr (whisper)
      - [x] vita_asr (sensevoice-small)
      - [x] phi4_asr (conformer)
      - [x] gemma3n_asr (matformer)
    - [x] asr_live:
      - [x] asr_streaming_sensevoice
    - [x] speech enhancement:
      - [x] enhancer_ans_rnnoise
      - [x] enhancer_ans_dfsmn
    - [x] audio_stream: daily_room_audio_stream(in/out), pyaudio_stream(in/out)
    - [x] detector: porcupine_wakeword,pyannote_vad,webrtc_vad,silero_vad,webrtc_silero_vad,fsmn_vad
    - [x] player: stream_player
    - [x] recorder: rms_recorder, wakeword_rms_recorder, vad_recorder, wakeword_vad_recorder
    - [x] tts: 
      - [x] tts_edge
      - [x] tts_g
      - [x] tts_coqui
      - [x] tts_chat
      - [x] tts_cosy_voice,tts_cosy_voice2
      - [x] tts_f5
      - [x] tts_openvoicev2
      - [x] tts_kokoro,tts_onnx_kokoro
      - [x] tts_fishspeech
      - [x] tts_llasa
      - [x] tts_minicpmo
      - [x] tts_zonos
      - [x] tts_step
      - [x] tts_spark
      - [x] tts_orpheus
      - [x] tts_mega3
      - [x] tts_vita
    - [x] vad_analyzer: 
      - [x] daily_webrtc_vad_analyzer
      - [x] silero_vad_analyzer
      - [x] ten_vad_analyzer
    - [x] turn_analyzer
      - [x] v2_smart_turn_analyzer
  - vision
    - [x] OCR(*Optical Character Recognition*):
      - [ ] [PaddleOCR](https://github.com/PaddlePaddle/PaddleOCR)
      - [x]  [GOT](https://github.com/Ucas-HaoranWei/GOT-OCR2.0)(*the General OCR Theory*)
    - [x] Detector:
      - [x] [YOLO](https://docs.ultralytics.com/) (*You Only Look Once*)
      - [ ] [RT-DETR v2](https://github.com/lyuwenyu/RT-DETR) (*RealTime End-to-End Object Detection with Transformers*)
  
- gen modules config(*.yaml, local/test/prod) from env with file: `.env`
   u also use HfArgumentParser this module's args to local cmd parse args

- deploy to cloud ☁️ serverless: 
  - vercel (frontend ui pages)
  - Cloudflare(frontend ui pages), personal ai workers 
  - [fastapi-daily-chat-bot](https://github.com/ai-bot-pro/achatbot/tree/main/deploy/cerebrium/fastapi-daily-chat-bot) on cerebrium (provider aws)
  - [fastapi-daily-chat-bot](https://github.com/ai-bot-pro/achatbot/tree/main/deploy/leptonai/fastapi-daily-chat-bot) on leptonai
  - [fastapi-daily-chat-bot](https://github.com/ai-bot-pro/achatbot/tree/main/deploy/modal) on modal
  - aws lambda + api Gateway
  - docker -> k8s/k3s
  - etc...

:sunflower: Service Deployment Architecture

# Service Deployment Architecture

## UI (easy to deploy with github like pages)
- [x] [ui/web-client-ui](https://github.com/ai-bot-pro/web-client-ui)
deploy it to cloudflare page with vite, access https://chat-client-weedge.pages.dev/
- [x] [ui/educator-client](https://github.com/ai-bot-pro/educator-client)
deploy it to cloudflare page with vite, access https://educator-client.pages.dev/
- [x] [chat-bot-rtvi-web-sandbox](https://github.com/ai-bot-pro/chat-bot-rtvi-client/tree/main/chat-bot-rtvi-web-sandbox)
use this web sandbox to test config, actions with [DailyRTVIGeneralBot](https://github.com/ai-bot-pro/achatbot/blob/main/src/cmd/bots/rtvi/daily_rtvi_general_bot.py)
- [x] [vite-react-rtvi-web-voice](https://github.com/ai-bot-pro/vite-react-rtvi-web-voice) rtvi web voice chat bots, diff cctv roles etc, u can diy your own role by change the system prompt with [DailyRTVIGeneralBot](https://github.com/ai-bot-pro/achatbot/blob/main/src/cmd/bots/rtvi/daily_rtvi_general_bot.py)
deploy it to cloudflare page with vite, access https://role-chat.pages.dev/
- [x] [vite-react-web-vision](https://github.com/ai-bot-pro/vite-react-web-vision) 
deploy it to cloudflare page with vite, access https://vision-weedge.pages.dev/
- [x] [nextjs-react-web-storytelling](https://github.com/ai-bot-pro/nextjs-react-web-storytelling) 
deploy it to cloudflare page worker with nextjs, access https://storytelling.pages.dev/ 
- [x] [websocket-demo](https://github.com/ai-bot-pro/achatbot/blob/main/ui/websocket/simple-demo): websocket audio chat bot demo
- [x] [webrtc-demo](https://github.com/ai-bot-pro/achatbot/blob/main/ui/webrtc/simple-demo): webrtc audio chat bot demo
- [x] [webrtc websocket voice avatar](https://github.com/ai-bot-pro/achatbot/tree/main/ui/webrtc_websocket):
  - [x] [webrtc+websocket lam audio2expression avatar bot demo intro](https://github.com/ai-bot-pro/achatbot/tree/main/ui/webrtc_websocket/lam_audio2expression_avatar): native js logic, get audio to play and print expression from websocket pb avatar_data_frames Message
  - [x] [lam_audio2expression_avatar_ts](https://github.com/ai-bot-pro/achatbot/tree/main/ui/webrtc_websocket/lam_audio2expression_avatar_ts_v2): **http signaling service** and use vite+ts+gaussian-splat-renderer-for-lam to play audio and render expression from websocket pb avatar_data_frames Message
  - [x] [**lam_audio2expression_avatar_ts_v2**](https://github.com/ai-bot-pro/achatbot/tree/main/ui/webrtc_websocket/lam_audio2expression_avatar_ts_v2): **websocket signaling service** and use vite+ts+gaussian-splat-renderer-for-lam to play audio and render expression from websocket pb avatar_data_frames Message, access https://avatar-2lm.pages.dev/ 

## Server Deploy (CD)
- [x] [deploy/modal](https://github.com/ai-bot-pro/achatbot/tree/main/deploy/modal)(KISS) 👍🏻 
- [x] [deploy/leptonai](https://github.com/ai-bot-pro/achatbot/tree/main/deploy/leptonai)(KISS)👍🏻
- [x] [deploy/cerebrium/fastapi-daily-chat-bot](https://github.com/ai-bot-pro/achatbot/tree/main/deploy/cerebrium/fastapi-daily-chat-bot) :)
- [x] [deploy/aws/fastapi-daily-chat-bot](https://github.com/ai-bot-pro/achatbot/tree/main/deploy/aws/fastapi-daily-chat-bot) :|
- [x] [deploy/docker/fastapi-daily-chat-bot](https://github.com/ai-bot-pro/achatbot/tree/main/deploy/docker) 🏃

# Install
> [!NOTE]
> `python --version` >=3.10 with [asyncio-task](https://docs.python.org/3.10/library/asyncio-task.html)
> if install `achatbot[tts_openvoicev2]` need install melo-tts `pip install git+https://github.com/myshell-ai/MeloTTS.git`
>
> if some other nested loop code with achatbot lib, you need to add the following code:
>
> ```python
> import nest_asyncio
> 
> nest_asyncio.apply()
> ```

> [!TIP]
> use [uv](https://github.com/astral-sh/uv) + pip to run, install the required dependencies fastly, e.g.:
> `uv pip install achatbot`
> `uv pip install "achatbot[fastapi_bot_server]"`

## pypi
```bash
python3 -m venv .venv_achatbot
source .venv_achatbot/bin/activate
pip install achatbot
# optional-dependencies e.g.
pip install "achatbot[fastapi_bot_server]"
```

## local
```bash
git clone --recursive https://github.com/ai-bot-pro/chat-bot.git
cd chat-bot
python3 -m venv .venv_achatbot
source .venv_achatbot/bin/activate
bash scripts/pypi_achatbot.sh dev
# optional-dependencies e.g.
pip install "dist/achatbot-{$version}-py3-none-any.whl[fastapi_bot_server]"
```

## run local lite avatar chat bot
```shell
# install dependencies (replace $version) (if use cpu(default) install lite_avatar)
pip install "dist/achatbot-{$version}-py3-none-any.whl[fastapi_bot_server,livekit,livekit-api,daily,agora,silero_vad_analyzer,sense_voice_asr,openai_llm_processor,google_llm_processor,litellm_processor,together_ai,tts_edge,lite_avatar]"
# install dependencies (replace $version) (if use gpu(cuda) install lite_avatar_gpu)
pip install "dist/achatbot-{$version}-py3-none-any.whl[fastapi_bot_server,livekit,livekit-api,daily,agora,silero_vad_analyzer,sense_voice_asr,openai_llm_processor,google_llm_processor,litellm_processor,together_ai,tts_edge,lite_avatar_gpu]"
# download model weights
huggingface-cli download weege007/liteavatar --local-dir ./models/weege007/liteavatar
huggingface-cli download FunAudioLLM/SenseVoiceSmall --local-dir ./models/FunAudioLLM/SenseVoiceSmall
# run local lite-avatar chat bot
python -m src.cmd.bots.main -f config/bots/daily_liteavatar_echo_bot.json
python -m src.cmd.bots.main -f config/bots/daily_liteavatar_chat_bot.json
```
More details: https://github.com/ai-bot-pro/achatbot/pull/161

## run local lam_audio2expression avatar chat bot
```shell
# install dependencies (replace $version) 
pip install "dist/achatbot-{$version}-py3-none-any.whl[fastapi_bot_server,silero_vad_analyzer,sense_voice_asr,openai_llm_processor,google_llm_processor,litellm_processor,together_ai,tts_edge,lam_audio2expression_avatar]"
pip install spleeter==2.4.2
pip install typing_extensions==4.14.0 aiortc==1.13.0 transformers==4.36.2 protobuf==5.29.4
# download model weights
wget https://virutalbuy-public.oss-cn-hangzhou.aliyuncs.com/share/aigc3d/data/LAM/LAM_audio2exp_streaming.tar -P ./models/LAM_audio2exp/
tar -xzvf ./models/LAM_audio2exp/LAM_audio2exp_streaming.tar -C ./models/LAM_audio2exp && rm ./models/LAM_audio2exp/LAM_audio2exp_streaming.tar
git clone --depth 1 https://www.modelscope.cn/AI-ModelScope/wav2vec2-base-960h.git ./models/facebook/wav2vec2-base-960h
huggingface-cli download FunAudioLLM/SenseVoiceSmall  --local-dir ./models/FunAudioLLM/SenseVoiceSmall
# run http signaling service + webrtc + websocket local lam_audio2expression-avatar chat bot
python -m src.cmd.webrtc_websocket.fastapi_ws_signaling_bot_serve -f config/bots/small_webrtc_fastapi_websocket_avatar_echo_bot.json
python -m src.cmd.webrtc_websocket.fastapi_ws_signaling_bot_serve -f config/bots/small_webrtc_fastapi_websocket_avatar_chat_bot.json
# run http signaling service + webrtc + websocket voice avatar agent web ui
cd ui/webrtc_websocket/lam_audio2expression_avatar_ts && npm install && npm run dev
# run websocket signaling service + webrtc + websocket local lam_audio2expression-avatar chat bot
python -m src.cmd.webrtc_websocket.fastapi_ws_signaling_bot_serve_v2 -f config/bots/small_webrtc_fastapi_websocket_avatar_echo_bot.json
python -m src.cmd.webrtc_websocket.fastapi_ws_signaling_bot_serve_v2 -f config/bots/small_webrtc_fastapi_websocket_avatar_chat_bot.json
# run websocket signaling service + webrtc + websocket voice avatar agent web ui
cd ui/webrtc_websocket/lam_audio2expression_avatar_ts_v2 && npm install && npm run dev
```
More details: https://github.com/ai-bot-pro/achatbot/pull/164 and https://github.com/ai-bot-pro/achatbot/pull/206 | online lam_audio2expression avatar: https://avatar-2lm.pages.dev/

---
HTTP signaling service +  webrtc + websocket transports I/O bridge:
image
Websocket signaling service +  webrtc + websocket transports I/O bridge:
image

---
Websocket signaling service +  websocket + webrtc-queue transports I/O bridge:
image

---
Local/Global Scheduler + webrtc-queue bots :
image

#  Run chat bots
## :memo: Run chat bots with colab notebook

|                           Chat Bot                           | optional-dependencies                                        | Colab                                                        | Device                                                       | Pipeline Desc                                                |
| :----------------------------------------------------------: | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ |
| [daily_bot](https://github.com/ai-bot-pro/achatbot/blob/main/src/cmd/bots/daily_bot.py)
[livekit_bot](https://github.com/ai-bot-pro/achatbot/blob/main/src/cmd/bots/livekit_bot.py)
[agora_bot](https://github.com/ai-bot-pro/achatbot/blob/main/src/cmd/bots/agora_bot.py)
 | e.g.:
daily_room_audio_stream \| livekit_room_audio_stream,
sense_voice_asr,
groq \| together api llm(text), 
tts_edge |  | CPU (free, 2 cores)                                          | e.g.:
daily \| livekit room in stream
-> silero (vad)
-> sense_voice (asr) 
-> groq \| together  (llm) 
-> edge (tts)
-> daily \| livekit room out stream |
| [generate_audio2audio](https://github.com/ai-bot-pro/achatbot/blob/main/src/cmd/remote-queue-chat/generate_audio2audio.py) | remote_queue_chat_bot_be_worker                              |  | T4(free)                                                     | e.g.:
pyaudio in stream
-> silero (vad)
-> sense_voice (asr) 
-> qwen (llm) 
-> cosy_voice (tts)
-> pyaudio out stream |
| [daily_describe_vision_tools_bot](https://github.com/ai-bot-pro/achatbot/blob/main/src/cmd/bots/vision/daily_describe_vision_tools_bot.py)
[livekit_describe_vision_tools_bot](https://github.com/ai-bot-pro/achatbot/blob/main/src/cmd/bots/vision/livekit_describe_vision_tools_bot.py)
[agora_describe_vision_tools_bot](https://github.com/ai-bot-pro/achatbot/blob/main/src/cmd/bots/agora_describe_vision_tools_bot.py)
 | e.g.:
daily_room_audio_stream \|livekit_room_audio_stream
deepgram_asr,
goole_gemini,
tts_edge |  | CPU(free, 2 cores)                                           | e.g.:
daily \|livekit room in stream
-> silero (vad)
-> deepgram (asr) 
-> google gemini  
-> edge (tts)
-> daily \|livekit room out stream |
| [daily_describe_vision_bot](https://github.com/ai-bot-pro/achatbot/blob/main/src/cmd/bots/vision/daily_describe_vision_bot.py)
[livekit_describe_vision_bot](https://github.com/ai-bot-pro/achatbot/blob/main/src/cmd/bots/vision/livekit_describe_vision_bot.py)
[agora_describe_vision_bot](https://github.com/ai-bot-pro/achatbot/blob/main/src/cmd/bots/agora_describe_vision_bot.py)
 | e.g.:
daily_room_audio_stream \| livekit_room_audio_stream
sense_voice_asr,
llm_transformers_manual_vision_qwen,
tts_edge | achatbot_vision_qwen_vl.ipynb:

achatbot_vision_janus.ipynb:

achatbot_vision_minicpmo.ipynb:

achatbot_kimivl.ipynb:

achatbot_phi4_multimodal.ipynb:
 | - Qwen2-VL-2B-Instruct
 T4(free)
- Qwen2-VL-7B-Instruct
L4
- Llama-3.2-11B-Vision-Instruct
L4
- allenai/Molmo-7B-D-0924
A100 | e.g.:
daily \| livekit room in stream
-> silero (vad)
-> sense_voice (asr) 
-> qwen-vl (llm) 
-> edge (tts)
-> daily \| livekit room out stream |
| [daily_chat_vision_bot](https://github.com/ai-bot-pro/achatbot/blob/main/src/cmd/bots/vision/daily_chat_vision_bot.py)
[livekit_chat_vision_bot](https://github.com/ai-bot-pro/achatbot/blob/main/src/cmd/bots/vision/livekit_chat_vision_bot.py)
[agora_chat_vision_bot](https://github.com/ai-bot-pro/achatbot/blob/main/src/cmd/bots/agora_chat_vision_bot.py)
 | e.g.:
daily_room_audio_stream \|livekit_room_audio_stream
sense_voice_asr,
llm_transformers_manual_vision_qwen,
tts_edge |  | - Qwen2-VL-2B-Instruct
 T4(free)
- Qwen2-VL-7B-Instruct
L4
- Ll
ama-3.2-11B-Vision-Instruct
L4
- allenai/Molmo-7B-D-0924
A100 | e.g.:
daily \| livekit room in stream
-> silero (vad)
-> sense_voice (asr) 
-> llm answer guide qwen-vl (llm) 
-> edge (tts)
-> daily \| livekit room out stream |
| [daily_chat_tools_vision_bot](https://github.com/ai-bot-pro/achatbot/blob/main/src/cmd/bots/vision/daily_chat_tools_vision_bot.py)
[livekit_chat_tools_vision_bot](https://github.com/ai-bot-pro/achatbot/blob/main/src/cmd/bots/vision/livekit_chat_tools_vision_bot.py)
[agora_chat_tools_vision_bot](https://github.com/ai-bot-pro/achatbot/blob/main/src/cmd/bots/vision/agora_chat_tools_vision_bot.py)
 | e.g.:
daily_room_audio_stream \| livekit_room_audio_stream
sense_voice_asr,
groq api llm(text), 
tools:
- llm_transformers_manual_vision_qwen,
tts_edge |  | - Qwen2-VL-2B-Instruct<br
 /> T4(free)
- Qwen2-VL-7B-Instruct
L4
- Llama-3.2-11B-Vision-Instruct
L4 
- allenai/Molmo-7B-D-0924
A100 | e.g.:
daily \| livekit room in stream
-> silero (vad)
-> sense_voice (asr) 
->llm with tools qwen-vl  
-> edge (tts)
-> daily \| livekit room out stream |
| [daily_annotate_vision_bot](https://github.com/ai-bot-pro/achatbot/blob/main/src/cmd/bots/vision/daily_annotate_vision_bot.py)
[livekit_annotate_vision_bot](https://github.com/ai-bot-pro/achatbot/blob/main/src/cmd/bots/vision/livekit_annotate_vision_bot.py)
[agora_annotate_vision_bot](https://github.com/ai-bot-pro/achatbot/blob/main/src/cmd/bots/vision/agora_annotate_vision_bot.py)
 | e.g.:
daily_room_audio_stream \| livekit_room_audio_stream
vision_yolo_detector
tts_edge |  | T4(free)                                                     | e.g.:
daily \| livekit room in stream
vision_yolo_detector
-> edge (tts)
-> daily \| livekit room out stream |
| [daily_detect_vision_bot](https://github.com/ai-bot-pro/achatbot/blob/main/src/cmd/bots/vision/daily_detect_vision_bot.py)
[livekit_detect_vision_bot](https://github.com/ai-bot-pro/achatbot/blob/main/src/cmd/bots/vision/livekit_detect_vision_bot.py)
[agora_detect_vision_bot](https://github.com/ai-bot-pro/achatbot/blob/main/src/cmd/bots/vision/agora_detect_vision_bot.py)
 | e.g.:
daily_room_audio_stream \| livekit_room_audio_stream
vision_yolo_detector
tts_edge |  | T4(free)                                                     | e.g.:
daily \| livekit room in stream
vision_yolo_detector
-> edge (tts)
-> daily \| livekit room out stream |
| [daily_ocr_vision_bot](https://github.com/ai-bot-pro/achatbot/blob/main/src/cmd/bots/vision/daily_ocr_vision_bot.py)
[livekit_ocr_vision_bot](https://github.com/ai-bot-pro/achatbot/blob/main/src/cmd/bots/vision/livekit_ocr_vision_bot.py)
[agora_ocr_vision_bot](https://github.com/ai-bot-pro/achatbot/blob/main/src/cmd/bots/vision/agora_ocr_vision_bot.py)
 | e.g.:
daily_room_audio_stream \| livekit_room_audio_stream
sense_voice_asr,
vision_transformers_got_ocr
tts_edge |  | T4(free)                                                     | e.g.:
daily \| livekit room in stream
-> silero (vad)
-> sense_voice (asr) 
vision_transformers_got_ocr
-> edge (tts)
-> daily \| livekit room out stream |
| [daily_month_narration_bot](https://github.com/ai-bot-pro/achatbot/blob/main/src/cmd/bots/image/daily_month_narration_bot.py) | e.g.:
daily_room_audio_stream 
groq \|together api llm(text),
hf_sd, together api (image)
tts_edge |  | when use sd model with diffusers
T4(free) cpu+cuda (slow)
L4 cpu+cuda
A100 all cuda
 | e.g.:
daily room in stream
-> together  (llm) 
-> hf sd gen image model
-> edge (tts)
-> daily  room out stream |
| [daily_storytelling_bot](https://github.com/ai-bot-pro/achatbot/blob/main/src/cmd/bots/image/storytelling/daily_bot.py) | e.g.:
daily_room_audio_stream 
groq \|together api llm(text),
hf_sd, together api (image)
tts_edge |  | cpu (2 cores)
when use sd model with diffusers
T4(free) cpu+cuda (slow)
L4 cpu+cuda
A100 all cuda
 | e.g.:
daily room in stream
-> together  (llm) 
-> hf sd gen image model
-> edge (tts)
-> daily  room out stream |
| [websocket_server_bot](https://github.com/ai-bot-pro/achatbot/blob/main/src/cmd/bots/websocket_server_bot.py)
[fastapi_websocket_server_bot](https://github.com/ai-bot-pro/achatbot/blob/main/src/cmd/bots/fastapi_websocket_server_bot.py)
 | e.g.:
 websocket_server
sense_voice_asr,
groq \|together api llm(text),
tts_edge |  | cpu(2 cores)                                                 | e.g.:
websocket protocol  in stream
-> silero (vad)
-> sense_voice (asr) 
-> together  (llm) 
-> edge (tts)
-> websocket protocol out stream |
| [daily_natural_conversation_bot](https://github.com/ai-bot-pro/achatbot/blob/main/src/cmd/bots/nlp/daily_natural_conversation_bot.py) | e.g.:
 daily_room_audio_stream
sense_voice_asr,
groq \|together api llm(NLP task),
gemini-1.5-flash (chat)
tts_edge |  | cpu(2 cores)                                                 | e.g.:
daily room in stream
-> together  (llm NLP task) 
->  gemini-1.5-flash model (chat)
-> edge (tts)
-> daily  room out stream |
| [fastapi_websocket_moshi_bot](https://github.com/ai-bot-pro/achatbot/blob/main/src/cmd/bots/voice/fastapi_websocket_moshi_bot.py) | e.g.:
 websocket_server
moshi opus stream voice llm
 |  | L4/A100                                                      | websocket protocol  in stream
-> silero (vad)
-> moshi opus stream voice llm
-> websocket protocol out stream |
| [daily_asr_glm_voice_bot](https://github.com/ai-bot-pro/achatbot/blob/main/src/cmd/bots/voice/daily_asr_glm_voice_bot.py)
[daily_glm_voice_bot](https://github.com/ai-bot-pro/achatbot/blob/main/src/cmd/bots/voice/daily_glm_voice_bot.py)
 | e.g.:
 daily_room_audio_stream
glm voice llm
 |  | T4/L4/A100                                                   | e.g.:
daily room in stream
->glm4-voice
-> daily  room out stream |
| [daily_freeze_omni_voice_bot](https://github.com/ai-bot-pro/achatbot/blob/main/src/cmd/bots/voice/daily_freeze_omni_voice_bot.py) | e.g.:
 daily_room_audio_stream
freezeOmni voice llm
 |  | L4/A100                                                      | e.g.:
daily room in stream
->freezeOmni-voice
-> daily  room out stream |
| [daily_asr_minicpmo_voice_bot](https://github.com/ai-bot-pro/achatbot/blob/main/src/cmd/bots/voice/daily_asr_minicpmo_voice_bot.py)
[daily_minicpmo_voice_bot](https://github.com/ai-bot-pro/achatbot/blob/main/src/cmd/bots/voice/daily_minicpmo_voice_bot.py)
[daily_minicpmo_vision_voice_bot](https://github.com/ai-bot-pro/achatbot/blob/main/src/cmd/bots/omni/daily_minicpmo_vision_voice_bot.py)
 | e.g.:
 daily_room_audio_stream
minicpmo llm
  |  | T4: MiniCPM-o-2_6-int4
L4/A100: MiniCPM-o-2_6
     | e.g.:
daily room in stream
->minicpmo
-> daily  room out stream |
| [livekit_asr_qwen2_5omni_voice_bot](https://github.com/ai-bot-pro/achatbot/blob/main/src/cmd/bots/voice/livekit_asr_qwen2_5omni_voice_bot.py)
[livekit_qwen2_5omni_voice_bot](https://github.com/ai-bot-pro/achatbot/blob/main/src/cmd/bots/voice/livekit_qwen2_5omni_voice_bot.py)
[livekit_qwen2_5omni_vision_voice_bot](https://github.com/ai-bot-pro/achatbot/blob/main/src/cmd/bots/omni/livekit_qwen2_5omni_vision_voice_bot.py)
 | e.g.:
 livekit_room_audio_stream
qwen2.5omni llm
 |  | A100                                                         | e.g.:
livekit room in stream
->qwen2.5omni
-> livekit  room out stream |
| [livekit_asr_kimi_voice_bot](https://github.com/ai-bot-pro/achatbot/blob/main/src/cmd/bots/voice/livekit_asr_kimi_voice_bot.py)
[livekit_kimi_voice_bot](https://github.com/ai-bot-pro/achatbot/blob/main/src/cmd/bots/voice/livekit_kimi_voice_bot.py)
 | e.g.:
 livekit_room_audio_stream
kimi audio llm
 |  | A100                                                         | e.g.:
livekit room in stream
-> Kimi-Audio
-> livekit  room out stream |
| [livekit_asr_vita_voice_bot](https://github.com/ai-bot-pro/achatbot/blob/main/src/cmd/bots/voice/livekit_asr_vita_voice_bot.py)
[livekit_vita_voice_bot](https://github.com/ai-bot-pro/achatbot/blob/main/src/cmd/bots/voice/livekit_vita_voice_bot.py)
 | e.g.:
 livekit_room_audio_stream
vita audio llm
 |  | L4/100                                                       | e.g.:
livekit room in stream
-> VITA-Audio
-> livekit  room out stream |
| [daily_phi4_voice_bot](https://github.com/ai-bot-pro/achatbot/blob/main/src/cmd/bots/voice/daily_phi4_voice_bot.py)
[daily_phi4_vision_speech_bot](https://github.com/ai-bot-pro/achatbot/blob/main/src/cmd/bots/omni/daily_phi4_vision_speech_bot.py)
 | e.g.:
 daily_room_audio_stream
phi4-multimodal llm
 |  | L4/100                                                       | e.g.:
daily room in stream
-> phi4-multimodal
-> edge (tts)
-> daily  room out stream |
| [daliy_multi_mcp_bot](https://github.com/ai-bot-pro/achatbot/blob/main/src/cmd/bots/mcp/daily_multi_mcp_bot.py)
[livekit_multi_mcp_bot](https://github.com/ai-bot-pro/achatbot/blob/main/src/cmd/bots/mcp/livekit_multi_mcp_bot.py)
[agora_multi_mcp_bot](https://github.com/ai-bot-pro/achatbot/blob/main/src/cmd/bots/mcp/agora_multi_mcp_bot.py)
 | e.g.:
agora_channel_audio_stream \|daily_room_audio_stream \|livekit_room_audio_stream,
sense_voice_asr,
groq \|together api llm(text), 
mcp 
tts_edge |  | CPU (free, 2 cores)                                          | e.g.:
agora \| daily \|livekit room in stream
-> silero (vad)
-> sense_voice (asr) 
-> groq \|together  (llm) 
-> mcp server tools
-> edge (tts)
-> daily \|livekit room out stream |
| [daily_liteavatar_chat_bot](https://github.com/ai-bot-pro/achatbot/blob/main/src/cmd/bots/avatar/daily_liteavatar_chat_bot.py)
[daily_liteavatar_echo_bot](https://github.com/ai-bot-pro/achatbot/blob/main/src/cmd/bots/avatar/daily_liteavatar_echo_bot.py)
[livekit_musetalk_chat_bot](https://github.com/ai-bot-pro/achatbot/blob/main/src/cmd/bots/avatar/livekit_musetalk_chat_bot.py)
[livekit_musetalk_echo_bot](https://github.com/ai-bot-pro/achatbot/blob/main/src/cmd/bots/avatar/livekit_musetalk_echo_bot.py)
 | e.g.:
agora_channel_audio_stream \|daily_room_audio_stream \|livekit_room_audio_stream,
sense_voice_asr,
groq \|together api llm(text), 
tts_edge
avatar
 | achatbot_avatar_musetalk.ipynb:
 | CPU/T4/L4                                                    | e.g.:
agora \|daily \|livekit room in stream
-> silero (vad)
-> sense_voice (asr) 
-> groq \|together  (llm) 
-> edge (tts)
-> avatar 
-> daily \|livekit room out stream |
|                                                              |                                                              |                                                              |                                                              |                                                              |

:new_moon: Run local chat bots

## Run local chat bots

> [!NOTE]
>
> - run src code, replace achatbot to src, don't need set `ACHATBOT_PKG=1` e.g.:
>   ```
>   TQDM_DISABLE=True \
>        python -m src.cmd.local-terminal-chat.generate_audio2audio > log/std_out.log
>   ```
> - PyAudio need install python3-pyaudio 
> e.g. ubuntu `apt-get install python3-pyaudio`, macos `brew install portaudio`
> see: https://pypi.org/project/PyAudio/
>
> - llm llama-cpp-python init use cpu Pre-built Wheel to install, 
> if want to use other lib(cuda), see: https://github.com/abetlen/llama-cpp-python#installation-configuration
>
> - install `pydub`  need install `ffmpeg` see: https://www.ffmpeg.org/download.html

1. run `pip install "achatbot[local_terminal_chat_bot]"` to install dependencies to run local terminal chat bot;
2. create achatbot data dir in `$HOME` dir `mkdir -p ~/.achatbot/{log,config,models,records,videos}`;
3. `cp .env.example .env`, and check `.env`, add key/value env params;
4. select a model ckpt to download:
    - vad model ckpt (default vad ckpt model use [silero vad](https://github.com/snakers4/silero-vad))
    ```
    # vad pyannote segmentation ckpt
    huggingface-cli download pyannote/segmentation-3.0  --local-dir ~/.achatbot/models/pyannote/segmentation-3.0 --local-dir-use-symlinks False
    ```
    - asr model ckpt (default whipser ckpt model use base size)
    ```
    # asr openai whisper ckpt
    wget https://openaipublic.azureedge.net/main/whisper/models/ed3a0b6b1c0edf879ad9b11b1af5a0e6ab5db9205f891f668f8b0e6c6326e34e/base.pt -O ~/.achatbot/models/base.pt
    
    # asr hf openai whisper ckpt for transformers pipeline to load
    huggingface-cli download openai/whisper-base  --local-dir ~/.achatbot/models/openai/whisper-base --local-dir-use-symlinks False
    
    # asr hf faster whisper (CTranslate2)
    huggingface-cli download Systran/faster-whisper-base  --local-dir ~/.achatbot/models/Systran/faster-whisper-base --local-dir-use-symlinks False
    
    # asr SenseVoice ckpt
    huggingface-cli download FunAudioLLM/SenseVoiceSmall  --local-dir ~/.achatbot/models/FunAudioLLM/SenseVoiceSmall --local-dir-use-symlinks False
    ```
    - llm model ckpt (default llamacpp ckpt(ggml) model use qwen-2 instruct 1.5B size)
    ```
    # llm llamacpp Qwen2-Instruct
    huggingface-cli download Qwen/Qwen2-1.5B-Instruct-GGUF qwen2-1_5b-instruct-q8_0.gguf  --local-dir ~/.achatbot/models --local-dir-use-symlinks False
    
    # llm llamacpp Qwen1.5-chat
    huggingface-cli download Qwen/Qwen1.5-7B-Chat-GGUF qwen1_5-7b-chat-q8_0.gguf  --local-dir ~/.achatbot/models --local-dir-use-symlinks False
    
    # llm llamacpp phi-3-mini-4k-instruct
    huggingface-cli download microsoft/Phi-3-mini-4k-instruct-gguf Phi-3-mini-4k-instruct-q4.gguf --local-dir ~/.achatbot/models --local-dir-use-symlinks False
    
    ```
    - tts model ckpt (default whipser ckpt model use base size)
    ```
    # tts chatTTS
    huggingface-cli download 2Noise/ChatTTS  --local-dir ~/.achatbot/models/2Noise/ChatTTS --local-dir-use-symlinks False
    
    # tts coquiTTS
    huggingface-cli download coqui/XTTS-v2  --local-dir ~/.achatbot/models/coqui/XTTS-v2 --local-dir-use-symlinks False
    
    # tts cosy voice
    git lfs install
    git clone https://www.modelscope.cn/iic/CosyVoice-300M.git ~/.achatbot/models/CosyVoice-300M
    git clone https://www.modelscope.cn/iic/CosyVoice-300M-SFT.git ~/.achatbot/models/CosyVoice-300M-SFT
    git clone https://www.modelscope.cn/iic/CosyVoice-300M-Instruct.git ~/.achatbot/models/CosyVoice-300M-Instruct
    #git clone https://www.modelscope.cn/iic/CosyVoice-ttsfrd.git ~/.achatbot/models/CosyVoice-ttsfrd
    
    ```

5. run local terminal chat bot with env; e.g. 
    - use dufault env params to run local chat bot
    ```
    ACHATBOT_PKG=1 TQDM_DISABLE=True \
        python -m achatbot.cmd.local-terminal-chat.generate_audio2audio > ~/.achatbot/log/std_out.log
    ```

:waxing_crescent_moon: Run remote http fastapi daily chat bots

## Run remote http fastapi daily chat bots
1. run `pip install "achatbot[fastapi_daily_bot_server]"` to install dependencies to run http fastapi daily chat bot; 

2. run below cmd to start http server, see api docs: http://0.0.0.0:4321/docs
    ```
    ACHATBOT_PKG=1 python -m achatbot.cmd.http.server.fastapi_daily_bot_serve
    ```
3. run chat bot processor, e.g. 
   - run a daily langchain rag bot api, with ui/educator-client
    > [!NOTE]
    > need process youtube audio save to local file with `pytube`, run `pip install "achatbot[pytube,deep_translator]"` to install dependencies
    > and transcribe/translate to text, then chunks to vector store, and run langchain rag bot api;
    > run data process: 
    > ```
    > ACHATBOT_PKG=1 python -m achatbot.cmd.bots.rag.data_process.youtube_audio_transcribe_to_tidb
    > ```
    > or download processed data from hf dataset [weege007/youtube_videos](https://huggingface.co/datasets/weege007/youtube_videos/tree/main/videos), then chunks to vector store .
   ```
   curl -XPOST "http://0.0.0.0:4321/bot_join/chat-bot/DailyLangchainRAGBot" \
    -H "Content-Type: application/json" \
    -d $'{"config":{"llm":{"model":"llama-3.1-70b-versatile","messages":[{"role":"system","content":""}],"language":"zh"},"tts":{"tag":"cartesia_tts_processor","args":{"voice_id":"eda5bbff-1ff1-4886-8ef1-4e69a77640a0","language":"zh"}},"asr":{"tag":"deepgram_asr_processor","args":{"language":"zh","model":"nova-2"}}}}' | jq .
   ```
   - run a simple daily chat bot api, with ui/web-client-ui (default language: zh)
   ```
   curl -XPOST "http://0.0.0.0:4321/bot_join/DailyBot" \
    -H "Content-Type: application/json" \
    -d '{}' | jq .
   ```
   

:first_quarter_moon: Run remote rpc chat bot worker

## Run remote rpc chat bot worker
1. run `pip install "achatbot[remote_rpc_chat_bot_be_worker]"` to install dependencies to run rpc chat bot BE worker; e.g. :
   - use dufault env params to run rpc chat bot BE worker
```
ACHATBOT_PKG=1 RUN_OP=be TQDM_DISABLE=True \
    TTS_TAG=tts_edge \
    python -m achatbot.cmd.grpc.terminal-chat.generate_audio2audio > ~/.achatbot/log/be_std_out.log
```
2. run `pip install "achatbot[remote_rpc_chat_bot_fe]"` to install dependencies to run rpc chat bot FE; 
```
ACHATBOT_PKG=1 RUN_OP=fe \
    TTS_TAG=tts_edge \
    python -m achatbot.cmd.grpc.terminal-chat.generate_audio2audio > ~/.achatbot/log/fe_std_out.log
```


:waxing_gibbous_moon: Run remote queue chat bot worker

## Run remote queue chat bot worker
1. run `pip install "achatbot[remote_queue_chat_bot_be_worker]"` to install dependencies to run queue chat bot worker; e.g.:
   - use default env params to run 
    ```
    ACHATBOT_PKG=1 REDIS_PASSWORD=$redis_pwd RUN_OP=be TQDM_DISABLE=True \
        python -m achatbot.cmd.remote-queue-chat.generate_audio2audio > ~/.achatbot/log/be_std_out.log
    ```
   - sense_voice(asr) -> qwen (llm) -> cosy_voice (tts)
   u can login [redislabs](https://app.redislabs.com/#/) create 30M free databases; set `REDIS_HOST`,`REDIS_PORT` and `REDIS_PASSWORD` to run, e.g.:
   ```
    ACHATBOT_PKG=1 RUN_OP=be \
      TQDM_DISABLE=True \
      REDIS_PASSWORD=$redis_pwd \
      REDIS_HOST=redis-14241.c256.us-east-1-2.ec2.redns.redis-cloud.com \
      REDIS_PORT=14241 \
      ASR_TAG=sense_voice_asr \
      ASR_LANG=zn \
      ASR_MODEL_NAME_OR_PATH=~/.achatbot/models/FunAudioLLM/SenseVoiceSmall \
      N_GPU_LAYERS=33 FLASH_ATTN=1 \
      LLM_MODEL_NAME=qwen \
      LLM_MODEL_PATH=~/.achatbot/models/qwen1_5-7b-chat-q8_0.gguf \
      TTS_TAG=tts_cosy_voice \
      python -m achatbot.cmd.remote-queue-chat.generate_audio2audio > ~/.achatbot/log/be_std_out.log
   ```
2. run `pip install "achatbot[remote_queue_chat_bot_fe]"` to install the required packages to run quueue chat bot frontend; e.g.:
   - use default env params to run (default vad_recorder)
    ```
    ACHATBOT_PKG=1 RUN_OP=fe \
        REDIS_PASSWORD=$redis_pwd \
        REDIS_HOST=redis-14241.c256.us-east-1-2.ec2.redns.redis-cloud.com \
        REDIS_PORT=14241 \
        python -m achatbot.cmd.remote-queue-chat.generate_audio2audio > ~/.achatbot/log/fe_std_out.log
    ```
   - with wake word
    ```
    ACHATBOT_PKG=1 RUN_OP=fe \
        REDIS_PASSWORD=$redis_pwd \
        REDIS_HOST=redis-14241.c256.us-east-1-2.ec2.redns.redis-cloud.com \
        REDIS_PORT=14241 \
        RECORDER_TAG=wakeword_rms_recorder \
        python -m achatbot.cmd.remote-queue-chat.generate_audio2audio > ~/.achatbot/log/fe_std_out.log
    ```
   - default pyaudio player stream with tts tag out sample info(rate,channels..), e.g.: (be use tts_cosy_voice out stream info)
   ```
    ACHATBOT_PKG=1 RUN_OP=fe \
        REDIS_PASSWORD=$redis_pwd \
        REDIS_HOST=redis-14241.c256.us-east-1-2.ec2.redns.redis-cloud.com \
        REDIS_PORT=14241 \
        RUN_OP=fe \
        TTS_TAG=tts_cosy_voice \
        python -m achatbot.cmd.remote-queue-chat.generate_audio2audio > ~/.achatbot/log/fe_std_out.log
   ```
   remote_queue_chat_bot_be_worker in colab examples :

   - sense_voice(asr) -> qwen (llm) -> cosy_voice (tts)

:full_moon: Run remote grpc tts speaker bot

## Run remote grpc tts speaker bot
1. run `pip install "achatbot[remote_grpc_tts_server]"` to install dependencies to run grpc tts speaker bot server; 
```
ACHATBOT_PKG=1 python -m achatbot.cmd.grpc.speaker.server.serve
```
2. run `pip install "achatbot[remote_grpc_tts_client]"` to install dependencies to run grpc tts speaker bot client; 
```
ACHATBOT_PKG=1 TTS_TAG=tts_edge IS_RELOAD=1 python -m src.cmd.grpc.speaker.client
ACHATBOT_PKG=1 TTS_TAG=tts_g IS_RELOAD=1 python -m src.cmd.grpc.speaker.client
ACHATBOT_PKG=1 TTS_TAG=tts_coqui IS_RELOAD=1 python -m src.cmd.grpc.speaker.client
ACHATBOT_PKG=1 TTS_TAG=tts_chat IS_RELOAD=1 python -m src.cmd.grpc.speaker.client
ACHATBOT_PKG=1 TTS_TAG=tts_cosy_voice IS_RELOAD=1 python -m src.cmd.grpc.speaker.client
ACHATBOT_PKG=1 TTS_TAG=tts_fishspeech IS_RELOAD=1 python -m src.cmd.grpc.speaker.client
ACHATBOT_PKG=1 TTS_TAG=tts_f5 IS_RELOAD=1 python -m src.cmd.grpc.speaker.client
ACHATBOT_PKG=1 TTS_TAG=tts_openvoicev2 IS_RELOAD=1 python -m src.cmd.grpc.speaker.client
ACHATBOT_PKG=1 TTS_TAG=tts_kokoro IS_RELOAD=1 python -m src.cmd.grpc.speaker.client
ACHATBOT_PKG=1 TTS_TAG=tts_onnx_kokoro IS_RELOAD=1 KOKORO_ESPEAK_NG_LIB_PATH=/usr/local/lib/libespeak-ng.1.dylib KOKORO_LANGUAGE=cmn python -m src.cmd.grpc.speaker.client
ACHATBOT_PKG=1 TTS_TAG=tts_cosy_voice2 \
    COSY_VOICE_MODELS_DIR=./models/FunAudioLLM/CosyVoice2-0.5B \
    COSY_VOICE_REFERENCE_AUDIO_PATH=./test/audio_files/asr_example_zh.wav \
    IS_RELOAD=1 python -m src.cmd.grpc.speaker.client
```


:video_camera: Multimodal Interaction

# Multimodal Interaction
## audio (voice)
- stream-stt (realtime-recorder)
![audio-text](https://github.com/user-attachments/assets/44bcec7d-f0a1-47db-bd95-21feee43a361)

- audio-llm (multimode-chat)
![pipe](https://github.com/user-attachments/assets/9970cf18-9bbc-4109-a3c5-e3e3c88086af)
![queue](https://github.com/user-attachments/assets/30f2e880-f16d-4b62-8668-61bb97c57b2b)

- stream-tts (realtime-(clone)-speaker)
![text-audio](https://github.com/user-attachments/assets/676230a0-0a99-475b-9ef5-6afc95f044d8)
![audio-text text-audio](https://github.com/user-attachments/assets/cbcabf98-731e-4887-9f37-649ec81e37a0)

## vision (CV)
- stream-ocr (realtime-object-detection)

## more
- Embodied Intelligence: Robots that touch the world, perceive and move

# License

achatbot is released under the [BSD 3 license](LICENSE). (Additional code in this distribution is covered by the MIT and Apache Open Source
licenses.) However you may have other legal obligations that govern your use of content, such as the terms of service for third-party models.
