mirror of
https://github.com/debpalash/VoiceStudio.git
synced 2026-10-02 01:26:35 +08:00
Release VoiceStudio 5.0.0 (#1487)
Complete the VoiceStudio identity, release documentation, assets, version mirrors, and safe cross-platform development startup.
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
"""Minimal pipecat agent that speaks and listens through local OmniVoice.
|
||||
"""Minimal pipecat agent that speaks and listens through local VoiceStudio.
|
||||
|
||||
OmniVoice is used purely as an OpenAI-compatible TTS/STT provider — nothing
|
||||
leaves your machine. See docs/agentic-voice.md for the full recipe.
|
||||
VoiceStudio defaults to a local OpenAI-compatible TTS/STT provider. For remote
|
||||
use, point it only at a protected tailnet URL. See docs/agentic-voice.md.
|
||||
|
||||
Run OmniVoice first (default http://localhost:3900), then:
|
||||
Run VoiceStudio first (default http://localhost:3900), then:
|
||||
|
||||
uv pip install "pipecat-ai[openai,silero]"
|
||||
python examples/agentic/pipecat_minimal.py
|
||||
|
||||
This is a deliberately tiny skeleton: it wires the OmniVoice TTS/STT services
|
||||
This is a deliberately tiny skeleton: it wires the VoiceStudio TTS/STT services
|
||||
into a pipecat pipeline and leaves the transport + LLM for you to choose. It
|
||||
does not run a phone call or a server — that is the "agentic v1" scope
|
||||
(OmniVoice as provider, you bring the runtime).
|
||||
(VoiceStudio as provider, you bring the runtime).
|
||||
"""
|
||||
|
||||
from __future__ import annotations
|
||||
@@ -19,7 +19,7 @@ from __future__ import annotations
|
||||
import os
|
||||
|
||||
OMNIVOICE_BASE_URL = os.environ.get("OMNIVOICE_API_URL", "http://localhost:3900") + "/v1"
|
||||
# OmniVoice ignores the key for local use; if you set OMNIVOICE_API_KEY on a
|
||||
# VoiceStudio ignores the key for local use; if you set OMNIVOICE_API_KEY on a
|
||||
# remote backend, pass that same value here.
|
||||
OMNIVOICE_API_KEY = os.environ.get("OMNIVOICE_API_KEY", "not-needed-locally")
|
||||
# A voice-profile id from GET /v1/audio/voices, or "default".
|
||||
@@ -27,7 +27,7 @@ OMNIVOICE_VOICE = os.environ.get("OMNIVOICE_VOICE", "default")
|
||||
|
||||
|
||||
def build_services():
|
||||
"""Return (stt, tts) backed by local OmniVoice.
|
||||
"""Return (stt, tts) backed by local VoiceStudio.
|
||||
|
||||
Imported lazily so this file is importable (and lint-clean) without
|
||||
pipecat installed — the smoke test in CI checks the wiring shape, not a
|
||||
@@ -52,7 +52,7 @@ def build_services():
|
||||
|
||||
def main() -> None:
|
||||
stt, tts = build_services()
|
||||
print("OmniVoice STT + TTS services constructed against", OMNIVOICE_BASE_URL)
|
||||
print("VoiceStudio STT + TTS services constructed against", OMNIVOICE_BASE_URL)
|
||||
print("Wire `stt` and `tts` into your pipecat Pipeline with a transport")
|
||||
print("and an LLM service. See docs/agentic-voice.md.")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user