整個套件為包含一整個可用的ai vtuber,會包括思考、說話及接收我們對話內容手段等工具
Project description
ai_vtuber
一個整合 AI 思考、語音辨識、語音合成、網路搜尋、爬蟲等多功能的 AI VTuber 工具包,支援多種工具與本地 LLM,適合自動化對話、語音互動與多模態應用。
授權:詳見 LICENSE
Python 版本需求:3.10.x
主要特色
- 整合 LLM(Ollama)、語音辨識(Vosk)、語音合成(TTS)、網路搜尋(Tavily)、網頁爬蟲等多種工具
- 支援多語系語音合成與語音克隆
- 具備短期記憶、多輪對話、工具自定義與擴充能力
- 適合本地端部署,無需雲端依賴
安裝與環境建議
-
Python 版本:需 3.10.x
-
建議使用虛擬環境(如 venv、conda、pyenv 等)以避免套件衝突
-
Ollama 安裝:
- 前往 Ollama 官網下載並安裝 Ollama( https://ollama.com/ )
- Linux 可用:
curl -fsSL https://ollama.ai/install.sh | sh
- Ubuntu 也可用 snap:
sudo snap install ollama
- Windows 可用:
irm https://ollama.com/install.ps1 | iex
-
FFmpeg 安裝:
-
Linux 可用:
sudo apt update sudo apt install ffmpeg
-
macOS 可用:
brew install ffmpeg
-
Windows 可用:
- 使用 Scoop 安裝:
scoop install ffmpeg
- 或使用 Conda 安裝:
conda install -c conda-forge ffmpeg
-
-
PortAudio 安裝:
- Linux 可用:
sudo apt update sudo apt install portaudio19-dev
- macOS 可用:
brew install portaudio
- Windows 可用:
scoop install portaudio
- Linux 可用:
-
安裝依賴套件:
- 於專案根目錄執行:
pip install ai_vtuber
- 於專案根目錄執行:
-
下載 LLM 模型:
- 於命令列執行:
ollama pull <model>
- 可至 Ollama 官網查詢更多模型
- 於命令列執行:
使用方式
- 啟動虛擬環境(如有)
- 執行主程式(請依你的主程式檔名調整):
python your_main.py
主要功能簡介
- 支援文字與語音互動,具備短期記憶
- 可使用agent
- 工具可擴充,支援自訂函式註冊
- 內建多種常用工具(時間查詢、打招呼、搜尋、爬蟲、語音辨識、語音合成等)
其他
- 詳細 API 與工具用法請參考 API_DOC.md
- 有任何問題歡迎聯絡作者
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ai_vtuber-0.1.0.tar.gz
(16.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
ai_vtuber-0.1.0-py3-none-any.whl
(13.5 kB
view details)
File details
Details for the file ai_vtuber-0.1.0.tar.gz.
File metadata
- Download URL: ai_vtuber-0.1.0.tar.gz
- Upload date:
- Size: 16.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a75c3fb550e2a512bd3537df86f566a4f121c0e70f30212b01c3886bf714abf8
|
|
| MD5 |
0ac9ad9c8838575243624d5b6785a589
|
|
| BLAKE2b-256 |
e2eed213013aa1f0db7f7ea115bbbd2fe90b2ce2cb70ca964190721b429ce4c8
|
File details
Details for the file ai_vtuber-0.1.0-py3-none-any.whl.
File metadata
- Download URL: ai_vtuber-0.1.0-py3-none-any.whl
- Upload date:
- Size: 13.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fd56c02846ad32d49c59ff810332d4326fcf3f5a3d8bcaa3bf6bef7a71262360
|
|
| MD5 |
633e05b25c2785bdf3689fad3d31b067
|
|
| BLAKE2b-256 |
c6e409df3124224ccc2e391dc96c65129d0015d8e94207aa35285f9e785b8e54
|