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.3

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.3
File Size Uploaded
ai_vtuber-0.1.3.tar.gz 20.8 kB Details

Built distribution (wheel)

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

Total release size: 40.4 kB

Release files / ai_vtuber-0.1.3.tar.gz

Download URL ai_vtuber-0.1.3.tar.gz
Size 20.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e2f40c369d8aecefa24efadd8fb36801503f3bcf8f8674c8bffa613a60dff639
BLAKE2b-256 checksum
How to use checksums
a1e68503daa0dad281fbd3dac3b370865673d6a50b58b9f3362d33c217983c7c
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.3-py3-none-any.whl

Download URL ai_vtuber-0.1.3-py3-none-any.whl
Size 19.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7bd4b63a6bdbdc19f6d3760789372e1f935d36975b18944450b28938e759730c
BLAKE2b-256 checksum
How to use checksums
0443105625bfb606a5fd205d80fc808998416e969bde7d48b08c7ae001ba3ad1
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

This release

0.1.3 This release

2 release files

0.1.2

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