Skip to main content

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
      
  • 安裝依賴套件:

    • 於專案根目錄執行:
      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.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ai-vtuber 0.1.2
File Size Uploaded
ai_vtuber-0.1.2.tar.gz 21.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ai-vtuber 0.1.2
File Interpreter ABI Platform
ai_vtuber-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 42.1 kB

Release files / ai_vtuber-0.1.2.tar.gz

Download URL ai_vtuber-0.1.2.tar.gz
Size 21.6 kB
Tags Source
SHA-256 checksum
How to use checksums
68ab1f92aa104f65feaa62935b329846f10ee1df5030df5bbd727ecae716986c
BLAKE2b-256 checksum
How to use checksums
6ebb05ad80d49a8abd6c76d7c1cfe9992ea436777b524eb5de7a6b117118a55a
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.1.2-py3-none-any.whl

Download URL ai_vtuber-0.1.2-py3-none-any.whl
Size 20.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a6606b246fd499ae75a239dae1e5fb784a836ce9e03a6d38c72946c45b04dc0f
BLAKE2b-256 checksum
How to use checksums
7805d9f84993b5928fe70cd859cf7b16f38772a553a7e465a63e309db871f7e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.20

Release history Release notifications | RSS feed

0.2.0

2 release files

0.1.3

2 release files

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page