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
- 有任何問題歡迎聯絡作者
Metadata
Release files for ai-vtuber 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ai_vtuber-0.2.0.tar.gz | 28.1 kB | Without provenance | Details for ai_vtuber-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ai_vtuber-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for ai_vtuber-0.2.0-py3-none-any.whl |
Total release size: 56.3 kB
Release files / ai_vtuber-0.2.0.tar.gz
| Download URL | ai_vtuber-0.2.0.tar.gz |
|---|---|
| Size | 28.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c356cd0daf2b41d17ecffaf97d3f36528ccdaf6914cb2662de6246e60a215c95
|
|
BLAKE2b-256 checksum How to use checksums |
b038e80ebe3be3d48ca70fb59c8d38f4fbbbf1cf5198c2bcb6ef3615687d3822
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.20
|
Release files / ai_vtuber-0.2.0-py3-none-any.whl
| Download URL | ai_vtuber-0.2.0-py3-none-any.whl |
|---|---|
| Size | 28.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
70947950259cfa068f334a1395fadb5f60f0605a7a87c88d09fb15d634f00e25
|
|
BLAKE2b-256 checksum How to use checksums |
46a0e0a421530b60078e90acb99514131ef08791611056f2b5d215b07f7825da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.20
|
Security for ai-vtuber 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.