Update deprecation version to 0.0.105

This commit is contained in:
Mark Backman
2026-03-03 20:31:08 -05:00
parent d5b89242f5
commit 630d7bd7ab
66 changed files with 199 additions and 200 deletions

View File

@@ -21,7 +21,7 @@ from pipecat.processors.aggregators.llm_response_universal import (
)
from pipecat.runner.types import RunnerArguments
from pipecat.runner.utils import create_transport
from pipecat.services.cartesia.tts import CartesiaTTSService
from pipecat.services.cartesia.tts import CartesiaTTSService, CartesiaTTSSettings
from pipecat.services.deepgram.stt import DeepgramSTTService
from pipecat.services.openai.llm import OpenAILLMService
from pipecat.services.tts_service import TextAggregationMode
@@ -56,10 +56,9 @@ async def run_bot(transport: BaseTransport, runner_args: RunnerArguments):
tts = CartesiaTTSService(
api_key=os.getenv("CARTESIA_API_KEY"),
voice_id="71a7ad14-091c-4e8e-a314-022ece01c121", # British Reading Lady
# Alternatively, you can use TextAggregationMode.TOKEN to stream tokens instead of
# sentencesfor faster response times.
# text_aggregation_mode=TextAggregationMode.TOKEN,
settings=CartesiaTTSSettings(
voice="71a7ad14-091c-4e8e-a314-022ece01c121", # British Reading Lady
),
)
llm = OpenAILLMService(

View File

@@ -110,7 +110,7 @@ class AsyncAITTSService(AudioContextTTSService):
class InputParams(BaseModel):
"""Input parameters for Async TTS configuration.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``AsyncAITTSSettings`` directly via the ``settings`` parameter instead.
Parameters:
@@ -143,14 +143,14 @@ class AsyncAITTSService(AudioContextTTSService):
voice_id: UUID of the voice to use for synthesis. See docs for a full list:
https://docs.async.com/list-voices-16699698e0
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=AsyncAITTSSettings(voice=...)`` instead.
version: Async API version.
url: WebSocket URL for Async TTS API.
model: TTS model to use (e.g., "async_flash_v1.0").
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=AsyncAITTSSettings(model=...)`` instead.
sample_rate: Audio sample rate.
@@ -158,7 +158,7 @@ class AsyncAITTSService(AudioContextTTSService):
container: Audio container format.
params: Additional input parameters for voice customization.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=AsyncAITTSSettings(...)`` instead.
settings: Runtime-updatable settings. When provided alongside deprecated
@@ -508,7 +508,7 @@ class AsyncAIHttpTTSService(TTSService):
class InputParams(BaseModel):
"""Input parameters for Async API.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``AsyncAITTSSettings`` directly via the ``settings`` parameter instead.
Parameters:
@@ -539,13 +539,13 @@ class AsyncAIHttpTTSService(TTSService):
api_key: Async API key.
voice_id: ID of the voice to use for synthesis.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=AsyncAITTSSettings(voice=...)`` instead.
aiohttp_session: An aiohttp session for making HTTP requests.
model: TTS model to use (e.g., "async_flash_v1.0").
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=AsyncAITTSSettings(model=...)`` instead.
url: Base URL for Async API.
@@ -555,7 +555,7 @@ class AsyncAIHttpTTSService(TTSService):
container: Audio container format.
params: Additional input parameters for voice customization.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=AsyncAITTSSettings(...)`` instead.
settings: Runtime-updatable settings. When provided alongside deprecated

View File

@@ -96,12 +96,12 @@ class AWSTranscribeSTTService(WebsocketSTTService):
region: AWS region for the service.
sample_rate: Audio sample rate in Hz. Must be 8000 or 16000.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=AWSTranscribeSTTSettings(sample_rate=...)`` instead.
language: Language for transcription.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=AWSTranscribeSTTSettings(language=...)`` instead.
settings: Runtime-updatable settings. When provided alongside deprecated

View File

@@ -155,7 +155,7 @@ class AWSPollyTTSService(TTSService):
class InputParams(BaseModel):
"""Input parameters for AWS Polly TTS configuration.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``AWSPollyTTSSettings`` directly via the ``settings`` parameter instead.
Parameters:
@@ -196,13 +196,13 @@ class AWSPollyTTSService(TTSService):
region: AWS region for Polly service. Defaults to 'us-east-1'.
voice_id: Voice ID to use for synthesis. Defaults to 'Joanna'.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=AWSPollyTTSSettings(voice=...)`` instead.
sample_rate: Audio sample rate. If None, uses service default.
params: Additional input parameters for voice customization.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=AWSPollyTTSSettings(...)`` instead.
settings: Runtime-updatable settings. When provided alongside deprecated

View File

@@ -59,7 +59,7 @@ class AzureImageGenServiceREST(ImageGenService):
endpoint: Azure OpenAI endpoint URL.
model: The image generation model to use.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=AzureImageGenSettings(model=...)`` instead.
aiohttp_session: Shared aiohttp session for HTTP requests.

View File

@@ -40,7 +40,7 @@ class AzureLLMService(OpenAILLMService):
endpoint: The Azure endpoint URL.
model: The model identifier to use. Defaults to "gpt-4o".
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=OpenAILLMSettings(model=...)`` instead.
api_version: Azure API version. Defaults to "2024-09-01-preview".

View File

@@ -94,7 +94,7 @@ class AzureSTTService(STTService):
region: Azure region for the Speech service (e.g., 'eastus').
language: Language for speech recognition. Defaults to English (US).
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=AzureSTTSettings(language=...)`` instead.
sample_rate: Audio sample rate in Hz. If None, uses service default.

View File

@@ -115,7 +115,7 @@ class AzureBaseTTSService:
class InputParams(BaseModel):
"""Input parameters for Azure TTS voice configuration.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=AzureTTSSettings(...)`` instead.
Parameters:
@@ -271,13 +271,13 @@ class AzureTTSService(TTSService, AzureBaseTTSService):
region: Azure region identifier (e.g., "eastus", "westus2").
voice: Voice name to use for synthesis.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=AzureTTSSettings(voice=...)`` instead.
sample_rate: Audio sample rate in Hz. If None, uses service default.
params: Voice and synthesis parameters configuration.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=AzureTTSSettings(...)`` instead.
settings: Runtime-updatable settings. When provided alongside deprecated
@@ -782,13 +782,13 @@ class AzureHttpTTSService(TTSService, AzureBaseTTSService):
region: Azure region identifier (e.g., "eastus", "westus2").
voice: Voice name to use for synthesis.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=AzureTTSSettings(voice=...)`` instead.
sample_rate: Audio sample rate in Hz. If None, uses service default.
params: Voice and synthesis parameters configuration.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=AzureTTSSettings(...)`` instead.
settings: Runtime-updatable settings. When provided alongside deprecated

View File

@@ -175,7 +175,7 @@ class CambTTSService(TTSService):
class InputParams(BaseModel):
"""Input parameters for Camb.ai TTS configuration.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=CambTTSSettings(...)`` instead.
Parameters:
@@ -210,12 +210,12 @@ class CambTTSService(TTSService):
api_key: Camb.ai API key for authentication.
voice_id: Voice ID to use.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=CambTTSSettings(voice=...)`` instead.
model: TTS model to use. Options: "mars-flash" (fast), "mars-pro" (high quality).
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=CambTTSSettings(model=...)`` instead.
timeout: Request timeout in seconds. Defaults to 60.0 (minimum recommended
@@ -223,7 +223,7 @@ class CambTTSService(TTSService):
sample_rate: Audio sample rate in Hz. If None, uses model-specific default.
params: Additional voice parameters. If None, uses defaults.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=CambTTSSettings(...)`` instead.
settings: Runtime-updatable settings. When provided alongside deprecated

View File

@@ -39,7 +39,7 @@ class CerebrasLLMService(OpenAILLMService):
base_url: The base URL for Cerebras API. Defaults to "https://api.cerebras.ai/v1".
model: The model identifier to use. Defaults to "gpt-oss-120b".
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=OpenAILLMSettings(model=...)`` instead.
settings: Runtime-updatable settings. When provided alongside deprecated

View File

@@ -124,7 +124,7 @@ class DeepgramFluxSTTService(WebsocketSTTService):
class InputParams(BaseModel):
"""Configuration parameters for Deepgram Flux API.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=DeepgramFluxSTTSettings(...)`` instead.
Parameters:
@@ -173,14 +173,14 @@ class DeepgramFluxSTTService(WebsocketSTTService):
sample_rate: Audio sample rate in Hz. If None, uses the rate from params or 16000.
model: Deepgram Flux model to use for transcription.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=DeepgramFluxSTTSettings(model=...)`` instead.
flux_encoding: Audio encoding format required by Flux API. Must be "linear16".
Raw signed little-endian 16-bit PCM encoding.
params: InputParams instance containing detailed API configuration options.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=DeepgramFluxSTTSettings(...)`` instead.
should_interrupt: Determine whether the bot should be interrupted when Flux detects that the user is speaking.

View File

@@ -92,7 +92,7 @@ class DeepgramSageMakerTTSService(TTSService):
region: AWS region where the endpoint is deployed (e.g., "us-east-2").
voice: Voice model to use for synthesis. Defaults to "aura-2-helena-en".
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=DeepgramSageMakerTTSSettings(voice=...)`` instead.
sample_rate: Audio sample rate in Hz. If None, uses the value from StartFrame.

View File

@@ -85,7 +85,7 @@ class DeepgramTTSService(WebsocketTTSService):
api_key: Deepgram API key for authentication.
voice: Voice model to use for synthesis.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=DeepgramTTSSettings(voice=...)`` instead.
base_url: WebSocket base URL for Deepgram API. Defaults to "wss://api.deepgram.com".
@@ -409,7 +409,7 @@ class DeepgramHttpTTSService(TTSService):
api_key: Deepgram API key for authentication.
voice: Voice model to use for synthesis.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=DeepgramTTSSettings(voice=...)`` instead.
aiohttp_session: Shared aiohttp session for HTTP requests with connection pooling.

View File

@@ -39,7 +39,7 @@ class DeepSeekLLMService(OpenAILLMService):
base_url: The base URL for DeepSeek API. Defaults to "https://api.deepseek.com/v1".
model: The model identifier to use. Defaults to "deepseek-chat".
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=OpenAILLMSettings(model=...)`` instead.
settings: Runtime-updatable settings. When provided alongside deprecated

View File

@@ -228,7 +228,7 @@ class ElevenLabsSTTService(SegmentedSTTService):
class InputParams(BaseModel):
"""Configuration parameters for ElevenLabs STT API.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=ElevenLabsSTTSettings(...)`` instead.
Parameters:
@@ -260,13 +260,13 @@ class ElevenLabsSTTService(SegmentedSTTService):
base_url: Base URL for ElevenLabs API.
model: Model ID for transcription.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=ElevenLabsSTTSettings(model=...)`` instead.
sample_rate: Audio sample rate in Hz. If not provided, uses the pipeline's rate.
params: Configuration parameters for the STT service.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=ElevenLabsSTTSettings(...)`` instead.
settings: Runtime-updatable settings. When provided alongside deprecated
@@ -461,7 +461,7 @@ class ElevenLabsRealtimeSTTService(WebsocketSTTService):
class InputParams(BaseModel):
"""Configuration parameters for ElevenLabs Realtime STT API.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=ElevenLabsRealtimeSTTSettings(...)`` instead.
Parameters:
@@ -509,13 +509,13 @@ class ElevenLabsRealtimeSTTService(WebsocketSTTService):
base_url: Base URL for ElevenLabs WebSocket API.
model: Model ID for transcription.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=ElevenLabsRealtimeSTTSettings(model=...)`` instead.
sample_rate: Audio sample rate in Hz. If not provided, uses the pipeline's rate.
params: Configuration parameters for the STT service.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=ElevenLabsRealtimeSTTSettings(...)`` instead.
settings: Runtime-updatable settings. When provided alongside deprecated

View File

@@ -331,7 +331,7 @@ class ElevenLabsTTSService(AudioContextTTSService):
class InputParams(BaseModel):
"""Input parameters for ElevenLabs TTS configuration.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=ElevenLabsTTSSettings(...)`` instead.
Parameters:
@@ -381,12 +381,12 @@ class ElevenLabsTTSService(AudioContextTTSService):
api_key: ElevenLabs API key for authentication.
voice_id: ID of the voice to use for synthesis.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=ElevenLabsTTSSettings(voice=...)`` instead.
model: TTS model to use (e.g., "eleven_turbo_v2_5").
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=ElevenLabsTTSSettings(model=...)`` instead.
url: WebSocket URL for ElevenLabs TTS API.
@@ -395,7 +395,7 @@ class ElevenLabsTTSService(AudioContextTTSService):
locators to use.
params: Additional input parameters for voice customization.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=ElevenLabsTTSSettings(...)`` instead.
settings: Runtime-updatable settings. When provided alongside deprecated
@@ -921,7 +921,7 @@ class ElevenLabsHttpTTSService(TTSService):
class InputParams(BaseModel):
"""Input parameters for ElevenLabs HTTP TTS configuration.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=ElevenLabsHttpTTSSettings(...)`` instead.
Parameters:
@@ -968,13 +968,13 @@ class ElevenLabsHttpTTSService(TTSService):
api_key: ElevenLabs API key for authentication.
voice_id: ID of the voice to use for synthesis.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=ElevenLabsHttpTTSSettings(voice=...)`` instead.
aiohttp_session: aiohttp ClientSession for HTTP requests.
model: TTS model to use (e.g., "eleven_turbo_v2_5").
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=ElevenLabsHttpTTSSettings(model=...)`` instead.
base_url: Base URL for ElevenLabs HTTP API.
@@ -983,7 +983,7 @@ class ElevenLabsHttpTTSService(TTSService):
locators to use.
params: Additional input parameters for voice customization.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=ElevenLabsHttpTTSSettings(...)`` instead.
settings: Runtime-updatable settings. When provided alongside deprecated

View File

@@ -87,7 +87,7 @@ class FalImageGenService(ImageGenService):
aiohttp_session: HTTP client session for downloading generated images.
model: The Fal.ai model to use for generation. Defaults to "fal-ai/fast-sdxl".
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=FalImageGenSettings(model=...)`` instead.
key: Optional API key for Fal.ai. If provided, sets FAL_KEY environment variable.

View File

@@ -176,7 +176,7 @@ class FalSTTService(SegmentedSTTService):
class InputParams(BaseModel):
"""Configuration parameters for Fal's Wizper API.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=FalSTTSettings(...)`` instead.
Parameters:
@@ -208,7 +208,7 @@ class FalSTTService(SegmentedSTTService):
sample_rate: Audio sample rate in Hz. If not provided, uses the pipeline's rate.
params: Configuration parameters for the Wizper API.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=FalSTTSettings(...)`` instead.
settings: Runtime-updatable settings. When provided alongside deprecated

View File

@@ -38,7 +38,7 @@ class FireworksLLMService(OpenAILLMService):
api_key: The API key for accessing Fireworks AI.
model: The model identifier to use. Defaults to "accounts/fireworks/models/firefunction-v2".
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=OpenAILLMSettings(model=...)`` instead.
base_url: The base URL for Fireworks API. Defaults to "https://api.fireworks.ai/inference/v1".

View File

@@ -95,7 +95,7 @@ class FishAudioTTSService(InterruptibleTTSService):
class InputParams(BaseModel):
"""Input parameters for Fish Audio TTS configuration.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=FishAudioTTSSettings(...)`` instead.
Parameters:
@@ -131,7 +131,7 @@ class FishAudioTTSService(InterruptibleTTSService):
api_key: Fish Audio API key for authentication.
reference_id: Reference ID of the voice model to use for synthesis.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=FishAudioTTSSettings(voice=...)`` instead.
model: Deprecated. Reference ID of the voice model to use for synthesis.
@@ -142,14 +142,14 @@ class FishAudioTTSService(InterruptibleTTSService):
model_id: Specify which Fish Audio TTS model to use (e.g. "s1").
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=FishAudioTTSSettings(model=...)`` instead.
output_format: Audio output format. Defaults to "pcm".
sample_rate: Audio sample rate. If None, uses default.
params: Additional input parameters for voice customization.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=FishAudioTTSSettings(...)`` instead.
settings: Runtime-updatable settings. When provided alongside deprecated

View File

@@ -272,12 +272,12 @@ class GladiaSTTService(WebsocketSTTService):
sample_rate: Audio sample rate in Hz. If None, uses service default.
model: Model to use for transcription.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=GladiaSTTSettings(model=...)`` instead.
params: Additional configuration parameters for Gladia service.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=GladiaSTTSettings(...)`` instead.
max_buffer_size: Maximum size of audio buffer in bytes. Defaults to 20MB.

View File

@@ -82,7 +82,7 @@ class GoogleImageGenService(ImageGenService):
api_key: Google AI API key for authentication.
params: Configuration parameters for image generation.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=GoogleImageGenSettings(model=...)`` instead.
http_options: HTTP options for the client.

View File

@@ -66,7 +66,7 @@ class GoogleLLMOpenAIBetaService(OpenAILLMService):
base_url: Base URL for Google's OpenAI-compatible API.
model: Google model name to use (e.g., "gemini-2.0-flash").
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=OpenAILLMSettings(model=...)`` instead.
settings: Runtime-updatable settings. When provided alongside deprecated

View File

@@ -425,7 +425,7 @@ class GoogleSTTService(STTService):
class InputParams(BaseModel):
"""Configuration parameters for Google Speech-to-Text.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=GoogleSTTSettings(...)`` instead.
Parameters:
@@ -500,7 +500,7 @@ class GoogleSTTService(STTService):
sample_rate: Audio sample rate in Hertz.
params: Configuration parameters for the service.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=GoogleSTTSettings(...)`` instead.
settings: Runtime-updatable settings. When provided alongside deprecated

View File

@@ -566,7 +566,7 @@ class GoogleHttpTTSService(TTSService):
class InputParams(BaseModel):
"""Input parameters for Google HTTP TTS voice customization.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``GoogleHttpTTSSettings`` directly via the ``settings`` parameter instead.
Parameters:
@@ -609,13 +609,13 @@ class GoogleHttpTTSService(TTSService):
location: Google Cloud location for regional endpoint (e.g., "us-central1").
voice_id: Google TTS voice identifier (e.g., "en-US-Standard-A").
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=GoogleHttpTTSSettings(voice=...)`` instead.
sample_rate: Audio sample rate in Hz. If None, uses default.
params: Voice customization parameters including pitch, rate, volume, etc.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=GoogleHttpTTSSettings(...)`` instead.
settings: Runtime-updatable settings. When provided alongside deprecated
@@ -1029,7 +1029,7 @@ class GoogleTTSService(GoogleBaseTTSService):
class InputParams(BaseModel):
"""Input parameters for Google streaming TTS configuration.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``GoogleStreamTTSSettings`` directly via the ``settings`` parameter instead.
Parameters:
@@ -1061,14 +1061,14 @@ class GoogleTTSService(GoogleBaseTTSService):
location: Google Cloud location for regional endpoint (e.g., "us-central1").
voice_id: Google TTS voice identifier (e.g., "en-US-Chirp3-HD-Charon").
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=GoogleStreamTTSSettings(voice=...)`` instead.
voice_cloning_key: The voice cloning key for Chirp 3 custom voices.
sample_rate: Audio sample rate in Hz. If None, uses default.
params: Language configuration parameters.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=GoogleStreamTTSSettings(...)`` instead.
settings: Runtime-updatable settings. When provided alongside deprecated
@@ -1242,7 +1242,7 @@ class GeminiTTSService(GoogleBaseTTSService):
class InputParams(BaseModel):
"""Input parameters for Gemini TTS configuration.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``GeminiTTSSettings`` directly via the ``settings`` parameter instead.
Parameters:
@@ -1283,7 +1283,7 @@ class GeminiTTSService(GoogleBaseTTSService):
model: Gemini TTS model to use. Must be a TTS model like
"gemini-2.5-flash-tts" or "gemini-2.5-pro-tts".
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=GeminiTTSSettings(model=...)`` instead.
credentials: JSON string containing Google Cloud service account credentials.
@@ -1291,13 +1291,13 @@ class GeminiTTSService(GoogleBaseTTSService):
location: Google Cloud location for regional endpoint (e.g., "us-central1").
voice_id: Voice name from the available Gemini voices.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=GeminiTTSSettings(voice=...)`` instead.
sample_rate: Audio sample rate in Hz. If None, uses Google's default 24kHz.
params: TTS configuration parameters.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=GeminiTTSSettings(...)`` instead.
settings: Runtime-updatable settings. When provided alongside deprecated

View File

@@ -91,7 +91,7 @@ class GradiumSTTService(WebsocketSTTService):
class InputParams(BaseModel):
"""Configuration parameters for Gradium STT API.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=GradiumSTTSettings(...)`` instead.
Parameters:
@@ -125,7 +125,7 @@ class GradiumSTTService(WebsocketSTTService):
api_endpoint_base_url: WebSocket endpoint URL. Defaults to Gradium's streaming endpoint.
params: Configuration parameters for language and delay settings.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=GradiumSTTSettings(...)`` instead.
json_config: Optional JSON configuration string for additional model settings.

View File

@@ -57,7 +57,7 @@ class GradiumTTSService(AudioContextTTSService):
class InputParams(BaseModel):
"""Configuration parameters for Gradium TTS service.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``GradiumTTSSettings`` directly via the ``settings`` parameter instead.
Parameters:
@@ -84,19 +84,19 @@ class GradiumTTSService(AudioContextTTSService):
api_key: Gradium API key for authentication.
voice_id: the voice identifier.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=GradiumTTSSettings(voice=...)`` instead.
url: Gradium websocket API endpoint.
model: Model ID to use for synthesis.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=GradiumTTSSettings(model=...)`` instead.
json_config: Optional JSON configuration string for additional model settings.
params: Additional configuration parameters.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=GradiumTTSSettings(...)`` instead.
settings: Runtime-updatable settings. When provided alongside deprecated

View File

@@ -95,7 +95,7 @@ class GrokLLMService(OpenAILLMService):
base_url: The base URL for Grok API. Defaults to "https://api.x.ai/v1".
model: The model identifier to use. Defaults to "grok-3-beta".
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=OpenAILLMSettings(model=...)`` instead.
settings: Runtime-updatable settings. When provided alongside deprecated

View File

@@ -38,7 +38,7 @@ class GroqLLMService(OpenAILLMService):
base_url: The base URL for Groq API. Defaults to "https://api.groq.com/openai/v1".
model: The model identifier to use. Defaults to "llama-3.3-70b-versatile".
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=OpenAILLMSettings(model=...)`` instead.
settings: Runtime-updatable settings. When provided alongside deprecated

View File

@@ -43,24 +43,24 @@ class GroqSTTService(BaseWhisperSTTService):
Args:
model: Whisper model to use.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=BaseWhisperSTTSettings(model=...)`` instead.
api_key: Groq API key. Defaults to None.
base_url: API base URL. Defaults to "https://api.groq.com/openai/v1".
language: Language of the audio input.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=BaseWhisperSTTSettings(language=...)`` instead.
prompt: Optional text to guide the model's style or continue a previous segment.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=BaseWhisperSTTSettings(prompt=...)`` instead.
temperature: Optional sampling temperature between 0 and 1.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=BaseWhisperSTTSettings(temperature=...)`` instead.
settings: Runtime-updatable settings. When provided alongside deprecated

View File

@@ -64,7 +64,7 @@ class GroqTTSService(TTSService):
class InputParams(BaseModel):
"""Input parameters for Groq TTS configuration.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=GroqTTSSettings(...)`` instead.
Parameters:
@@ -96,17 +96,17 @@ class GroqTTSService(TTSService):
output_format: Audio output format. Defaults to "wav".
params: Additional input parameters for voice customization.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=GroqTTSSettings(...)`` instead.
model_name: TTS model to use.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=GroqTTSSettings(model=...)`` instead.
voice_id: Voice identifier to use.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=GroqTTSSettings(voice=...)`` instead.
sample_rate: Audio sample rate. Must be 48000 Hz for Groq TTS.

View File

@@ -84,7 +84,7 @@ class HumeTTSService(TTSService):
class InputParams(BaseModel):
"""Optional synthesis parameters for Hume TTS.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=HumeTTSSettings(...)`` instead.
Parameters:
@@ -113,12 +113,12 @@ class HumeTTSService(TTSService):
api_key: Hume API key. If omitted, reads the ``HUME_API_KEY`` environment variable.
voice_id: ID of the voice to use. Only voice IDs are supported; voice names are not.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=HumeTTSSettings(voice=...)`` instead.
params: Optional synthesis controls (acting instructions, speed, trailing silence).
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=HumeTTSSettings(...)`` instead.
sample_rate: Output sample rate for emitted PCM frames. Defaults to 48_000 (Hume).

View File

@@ -125,7 +125,7 @@ class InworldHttpTTSService(TTSService):
class InputParams(BaseModel):
"""Input parameters for Inworld TTS configuration.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``InworldTTSSettings`` directly via the ``settings`` parameter instead.
Parameters:
@@ -159,12 +159,12 @@ class InworldHttpTTSService(TTSService):
aiohttp_session: aiohttp ClientSession for HTTP requests.
voice_id: ID of the voice to use for synthesis.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=InworldTTSSettings(voice=...)`` instead.
model: ID of the model to use for synthesis.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=InworldTTSSettings(model=...)`` instead.
streaming: Whether to use streaming mode.
@@ -172,7 +172,7 @@ class InworldHttpTTSService(TTSService):
encoding: Audio encoding format.
params: Input parameters for Inworld TTS configuration.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=InworldTTSSettings(...)`` instead.
settings: Runtime-updatable settings. When provided alongside deprecated
@@ -532,7 +532,7 @@ class InworldTTSService(AudioContextTTSService):
class InputParams(BaseModel):
"""Input parameters for Inworld WebSocket TTS configuration.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``InworldTTSSettings`` directly via the ``settings`` parameter instead.
Parameters:
@@ -579,12 +579,12 @@ class InworldTTSService(AudioContextTTSService):
api_key: Inworld API key.
voice_id: ID of the voice to use for synthesis.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=InworldTTSSettings(voice=...)`` instead.
model: ID of the model to use for synthesis.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=InworldTTSSettings(model=...)`` instead.
url: URL of the Inworld WebSocket API.
@@ -592,7 +592,7 @@ class InworldTTSService(AudioContextTTSService):
encoding: Audio encoding format.
params: Input parameters for Inworld WebSocket TTS configuration.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=InworldTTSSettings(...)`` instead.
settings: Runtime-updatable settings. When provided alongside deprecated

View File

@@ -112,7 +112,7 @@ class KokoroTTSService(TTSService):
class InputParams(BaseModel):
"""Input parameters for Kokoro TTS configuration.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``KokoroTTSSettings`` directly via the ``settings`` parameter instead.
Parameters:
@@ -136,14 +136,14 @@ class KokoroTTSService(TTSService):
Args:
voice_id: Voice identifier to use for synthesis.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=KokoroTTSSettings(voice=...)`` instead.
model_path: Path to the kokoro ONNX model file. Defaults to auto-downloaded file.
voices_path: Path to the voices binary file. Defaults to auto-downloaded file.
params: Configuration parameters for synthesis.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=KokoroTTSSettings(...)`` instead.
settings: Runtime-updatable settings. When provided alongside deprecated

View File

@@ -111,14 +111,14 @@ class LmntTTSService(InterruptibleTTSService):
api_key: LMNT API key for authentication.
voice_id: ID of the voice to use for synthesis.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=LmntTTSSettings(voice=...)`` instead.
sample_rate: Audio sample rate. If None, uses default.
language: Language for synthesis. Defaults to English.
model: TTS model to use.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=LmntTTSSettings(model=...)`` instead.
settings: Runtime-updatable settings. When provided alongside deprecated

View File

@@ -166,7 +166,7 @@ class MiniMaxHttpTTSService(TTSService):
class InputParams(BaseModel):
"""Configuration parameters for MiniMax TTS.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``MiniMaxTTSSettings`` directly via the ``settings`` parameter instead.
Parameters:
@@ -226,19 +226,19 @@ class MiniMaxHttpTTSService(TTSService):
"speech-02-hd", "speech-02-turbo",
"speech-01-hd", "speech-01-turbo".
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=MiniMaxTTSSettings(model=...)`` instead.
voice_id: Voice identifier. Defaults to "Calm_Woman".
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=MiniMaxTTSSettings(voice=...)`` instead.
aiohttp_session: aiohttp.ClientSession for API communication.
sample_rate: Output audio sample rate in Hz. If None, uses pipeline default.
params: Additional configuration parameters.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=MiniMaxTTSSettings(...)`` instead.
settings: Runtime-updatable settings. When provided alongside deprecated

View File

@@ -41,7 +41,7 @@ class MistralLLMService(OpenAILLMService):
base_url: The base URL for Mistral API. Defaults to "https://api.mistral.ai/v1".
model: The model identifier to use. Defaults to "mistral-small-latest".
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=OpenAILLMSettings(model=...)`` instead.
settings: Runtime-updatable settings. When provided alongside deprecated

View File

@@ -93,7 +93,7 @@ class MoondreamService(VisionService):
Args:
model: Hugging Face model identifier for the Moondream model.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=MoondreamSettings(model=...)`` instead.
revision: Specific model revision to use.

View File

@@ -102,7 +102,7 @@ class NeuphonicTTSService(InterruptibleTTSService):
class InputParams(BaseModel):
"""Input parameters for Neuphonic TTS configuration.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=NeuphonicTTSSettings(...)`` instead.
Parameters:
@@ -133,7 +133,7 @@ class NeuphonicTTSService(InterruptibleTTSService):
api_key: Neuphonic API key for authentication.
voice_id: ID of the voice to use for synthesis.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=NeuphonicTTSSettings(voice=...)`` instead.
url: WebSocket URL for the Neuphonic API.
@@ -141,7 +141,7 @@ class NeuphonicTTSService(InterruptibleTTSService):
encoding: Audio encoding format. Defaults to "pcm_linear".
params: Additional input parameters for TTS configuration.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=NeuphonicTTSSettings(...)`` instead.
settings: Runtime-updatable settings. When provided alongside deprecated
@@ -451,7 +451,7 @@ class NeuphonicHttpTTSService(TTSService):
class InputParams(BaseModel):
"""Input parameters for Neuphonic HTTP TTS configuration.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=NeuphonicTTSSettings(...)`` instead.
Parameters:
@@ -481,7 +481,7 @@ class NeuphonicHttpTTSService(TTSService):
api_key: Neuphonic API key for authentication.
voice_id: ID of the voice to use for synthesis.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=NeuphonicTTSSettings(voice=...)`` instead.
aiohttp_session: Shared aiohttp session for HTTP requests.
@@ -490,7 +490,7 @@ class NeuphonicHttpTTSService(TTSService):
encoding: Audio encoding format. Defaults to "pcm_linear".
params: Additional input parameters for TTS configuration.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=NeuphonicTTSSettings(...)`` instead.
settings: Runtime-updatable settings. When provided alongside deprecated

View File

@@ -45,7 +45,7 @@ class NvidiaLLMService(OpenAILLMService):
model: The model identifier to use. Defaults to
"nvidia/llama-3.1-nemotron-70b-instruct".
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=OpenAILLMSettings(model=...)`` instead.
settings: Runtime-updatable settings. When provided alongside deprecated

View File

@@ -130,7 +130,7 @@ class NvidiaSTTService(STTService):
class InputParams(BaseModel):
"""Configuration parameters for NVIDIA Riva STT service.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=NvidiaSTTSettings(...)`` instead.
Parameters:
@@ -164,7 +164,7 @@ class NvidiaSTTService(STTService):
sample_rate: Audio sample rate in Hz. If None, uses pipeline default.
params: Additional configuration parameters for NVIDIA Riva.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=NvidiaSTTSettings(...)`` instead.
use_ssl: Whether to use SSL for the NVIDIA Riva server. Defaults to True.
@@ -444,7 +444,7 @@ class NvidiaSegmentedSTTService(SegmentedSTTService):
class InputParams(BaseModel):
"""Configuration parameters for NVIDIA Riva segmented STT service.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=NvidiaSegmentedSTTSettings(...)`` instead.
Parameters:
@@ -488,7 +488,7 @@ class NvidiaSegmentedSTTService(SegmentedSTTService):
sample_rate: Audio sample rate in Hz. If not provided, uses the pipeline's rate
params: Additional configuration parameters for NVIDIA Riva
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=NvidiaSegmentedSTTSettings(...)`` instead.
use_ssl: Whether to use SSL for the NVIDIA Riva server. Defaults to True.

View File

@@ -68,7 +68,7 @@ class NvidiaTTSService(TTSService):
class InputParams(BaseModel):
"""Input parameters for Riva TTS configuration.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``NvidiaTTSSettings`` directly via the ``settings`` parameter instead.
Parameters:
@@ -102,14 +102,14 @@ class NvidiaTTSService(TTSService):
server: gRPC server endpoint. Defaults to NVIDIA's cloud endpoint.
voice_id: Voice model identifier. Defaults to multilingual Aria voice.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=NvidiaTTSSettings(voice=...)`` instead.
sample_rate: Audio sample rate. If None, uses service default.
model_function_map: Dictionary containing function_id and model_name for the TTS model.
params: Additional configuration parameters for TTS synthesis.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=NvidiaTTSSettings(...)`` instead.
settings: Runtime-updatable settings. When provided alongside deprecated

View File

@@ -35,7 +35,7 @@ class OLLamaLLMService(OpenAILLMService):
Args:
model: The OLLama model to use. Defaults to "llama2".
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=OpenAILLMSettings(model=...)`` instead.
base_url: The base URL for the OLLama API endpoint.

View File

@@ -75,7 +75,7 @@ class BaseOpenAILLMService(LLMService):
class InputParams(BaseModel):
"""Input parameters for OpenAI model configuration.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=OpenAILLMSettings(...)`` instead of
``params=InputParams(...)``.
@@ -130,7 +130,7 @@ class BaseOpenAILLMService(LLMService):
Args:
model: The OpenAI model name to use (e.g., "gpt-4.1", "gpt-4o").
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=OpenAILLMSettings(model=...)`` instead.
api_key: OpenAI API key. If None, uses environment variable.
@@ -140,7 +140,7 @@ class BaseOpenAILLMService(LLMService):
default_headers: Additional HTTP headers to include in requests.
params: Input parameters for model configuration and behavior.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=OpenAILLMSettings(...)`` instead.
settings: Runtime-updatable settings. When provided alongside deprecated

View File

@@ -64,7 +64,7 @@ class OpenAIImageGenService(ImageGenService):
image_size: Target size for generated images.
model: DALL-E model to use for generation. Defaults to "dall-e-3".
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=OpenAIImageGenSettings(model=...)`` instead.
settings: Runtime-updatable settings. When provided alongside deprecated

View File

@@ -85,12 +85,12 @@ class OpenAILLMService(BaseOpenAILLMService):
Args:
model: The OpenAI model name to use. Defaults to "gpt-4.1".
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=OpenAILLMSettings(model=...)`` instead.
params: Input parameters for model configuration.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=OpenAILLMSettings(...)`` instead.
settings: Runtime-updatable settings. When provided alongside deprecated

View File

@@ -80,7 +80,7 @@ class OpenAISTTService(BaseWhisperSTTService):
Args:
model: Model to use — either gpt-4o or Whisper.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=BaseWhisperSTTSettings(model=...)`` instead.
api_key: OpenAI API key. Defaults to None.
@@ -222,7 +222,7 @@ class OpenAIRealtimeSTTService(WebsocketSTTService):
model: Transcription model. Supported values are
``"gpt-4o-transcribe"`` and ``"gpt-4o-mini-transcribe"``.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=OpenAIRealtimeSTTSettings(model=...)`` instead.
base_url: WebSocket base URL for the Realtime API.

View File

@@ -90,7 +90,7 @@ class OpenAITTSService(TTSService):
class InputParams(BaseModel):
"""Input parameters for OpenAI TTS configuration.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=OpenAITTSSettings(...)`` instead.
Parameters:
@@ -122,28 +122,28 @@ class OpenAITTSService(TTSService):
base_url: Custom base URL for OpenAI API. If None, uses default.
voice: Voice ID to use for synthesis. Defaults to "alloy".
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=OpenAITTSSettings(voice=...)`` instead.
model: TTS model to use. Defaults to "gpt-4o-mini-tts".
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=OpenAITTSSettings(model=...)`` instead.
sample_rate: Output audio sample rate in Hz. If None, uses OpenAI's default 24kHz.
instructions: Optional instructions to guide voice synthesis behavior.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=OpenAITTSSettings(instructions=...)`` instead.
speed: Voice speed control (0.25 to 4.0, default 1.0).
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=OpenAITTSSettings(speed=...)`` instead.
params: Optional synthesis controls (acting instructions, speed, ...).
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=OpenAITTSSettings(...)`` instead.
settings: Runtime-updatable settings. When provided alongside deprecated

View File

@@ -52,7 +52,7 @@ class OpenPipeLLMService(OpenAILLMService):
Args:
model: The model name to use. Defaults to "gpt-4.1".
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=OpenAILLMSettings(model=...)`` instead.
api_key: OpenAI API key for authentication. If None, reads from environment.

View File

@@ -42,7 +42,7 @@ class OpenRouterLLMService(OpenAILLMService):
to read from environment variables.
model: The model identifier to use. Defaults to "openai/gpt-4o-2024-11-20".
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=OpenAILLMSettings(model=...)`` instead.
base_url: The base URL for OpenRouter API. Defaults to "https://openrouter.ai/api/v1".

View File

@@ -46,7 +46,7 @@ class PerplexityLLMService(OpenAILLMService):
base_url: The base URL for Perplexity's API. Defaults to "https://api.perplexity.ai".
model: The model identifier to use. Defaults to "sonar".
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=OpenAILLMSettings(model=...)`` instead.
settings: Runtime-updatable settings. When provided alongside deprecated

View File

@@ -65,7 +65,7 @@ class PiperTTSService(TTSService):
Args:
voice_id: Piper voice model identifier (e.g. `en_US-ryan-high`).
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=PiperTTSSettings(voice=...)`` instead.
download_dir: Directory for storing voice model files. Defaults to
@@ -222,7 +222,7 @@ class PiperHttpTTSService(TTSService):
aiohttp_session: aiohttp ClientSession for making HTTP requests.
voice_id: Piper voice model identifier (e.g. `en_US-ryan-high`).
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=PiperHttpTTSSettings(voice=...)`` instead.
settings: Runtime-updatable settings. When provided alongside deprecated

View File

@@ -38,7 +38,7 @@ class QwenLLMService(OpenAILLMService):
base_url: Base URL for Qwen API. Defaults to "https://dashscope-intl.aliyuncs.com/compatible-mode/v1".
model: The model identifier to use. Defaults to "qwen-plus".
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=OpenAILLMSettings(model=...)`` instead.
settings: Runtime-updatable settings. When provided alongside deprecated

View File

@@ -84,7 +84,7 @@ class ResembleAITTSService(AudioContextTTSService):
api_key: Resemble AI API key for authentication.
voice_id: Voice UUID to use for synthesis.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=ResembleAITTSSettings(voice=...)`` instead.
url: WebSocket URL for Resemble AI TTS API.

View File

@@ -144,7 +144,7 @@ class RimeTTSService(AudioContextTTSService):
class InputParams(BaseModel):
"""Configuration parameters for Rime TTS service.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=RimeTTSSettings(...)`` instead.
Parameters:
@@ -196,19 +196,19 @@ class RimeTTSService(AudioContextTTSService):
api_key: Rime API key for authentication.
voice_id: ID of the voice to use.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=RimeTTSSettings(voice=...)`` instead.
url: Rime websocket API endpoint.
model: Model ID to use for synthesis.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=RimeTTSSettings(model=...)`` instead.
sample_rate: Audio sample rate in Hz.
params: Additional configuration parameters.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=RimeTTSSettings(...)`` instead.
settings: Runtime-updatable settings. When provided alongside deprecated
@@ -676,7 +676,7 @@ class RimeHttpTTSService(TTSService):
class InputParams(BaseModel):
"""Configuration parameters for Rime HTTP TTS service.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=RimeTTSSettings(...)`` instead.
Parameters:
@@ -713,19 +713,19 @@ class RimeHttpTTSService(TTSService):
api_key: Rime API key for authentication.
voice_id: ID of the voice to use.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=RimeTTSSettings(voice=...)`` instead.
aiohttp_session: Shared aiohttp session for HTTP requests.
model: Model ID to use for synthesis.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=RimeTTSSettings(model=...)`` instead.
sample_rate: Audio sample rate in Hz.
params: Additional configuration parameters.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=RimeTTSSettings(...)`` instead.
settings: Runtime-updatable settings. When provided alongside deprecated
@@ -902,7 +902,7 @@ class RimeNonJsonTTSService(InterruptibleTTSService):
class InputParams(BaseModel):
"""Configuration parameters for Rime Non-JSON WebSocket TTS service.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=RimeNonJsonTTSSettings(...)`` instead.
Args:
@@ -942,20 +942,20 @@ class RimeNonJsonTTSService(InterruptibleTTSService):
api_key: Rime API key for authentication.
voice_id: ID of the voice to use.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=RimeNonJsonTTSSettings(voice=...)`` instead.
url: Rime websocket API endpoint.
model: Model ID to use for synthesis.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=RimeNonJsonTTSSettings(model=...)`` instead.
audio_format: Audio format to use.
sample_rate: Audio sample rate in Hz.
params: Additional configuration parameters.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=RimeNonJsonTTSSettings(...)`` instead.
settings: Runtime-updatable settings. When provided alongside deprecated

View File

@@ -49,7 +49,7 @@ class SambaNovaLLMService(OpenAILLMService): # type: ignore
api_key: The API key for accessing SambaNova API.
model: The model identifier to use. Defaults to "Llama-4-Maverick-17B-128E-Instruct".
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=OpenAILLMSettings(model=...)`` instead.
base_url: The base URL for SambaNova API. Defaults to "https://api.sambanova.ai/v1".

View File

@@ -45,24 +45,24 @@ class SambaNovaSTTService(BaseWhisperSTTService): # type: ignore
Args:
model: Whisper model to use.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=BaseWhisperSTTSettings(model=...)`` instead.
api_key: SambaNova API key. Defaults to None.
base_url: API base URL. Defaults to "https://api.sambanova.ai/v1".
language: Language of the audio input.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=BaseWhisperSTTSettings(language=...)`` instead.
prompt: Optional text to guide the model's style or continue a previous segment.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=BaseWhisperSTTSettings(prompt=...)`` instead.
temperature: Optional sampling temperature between 0 and 1.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=BaseWhisperSTTSettings(temperature=...)`` instead.
settings: Runtime-updatable settings. When provided alongside deprecated

View File

@@ -177,7 +177,7 @@ class SarvamSTTService(STTService):
class InputParams(BaseModel):
"""Configuration parameters for Sarvam STT service.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=SarvamSTTSettings(...)`` instead.
Parameters:
@@ -219,14 +219,14 @@ class SarvamSTTService(STTService):
api_key: Sarvam API key for authentication.
model: Sarvam model to use for transcription.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=SarvamSTTSettings(model=...)`` instead.
sample_rate: Audio sample rate. Defaults to 16000 if not specified.
input_audio_codec: Audio codec/format of the input file. Defaults to "wav".
params: Configuration parameters for Sarvam STT service.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=SarvamSTTSettings(...)`` instead.
settings: Runtime-updatable settings. When provided alongside deprecated

View File

@@ -376,7 +376,7 @@ class SarvamHttpTTSService(TTSService):
class InputParams(BaseModel):
"""Input parameters for Sarvam TTS configuration.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``SarvamHttpTTSSettings`` directly via the ``settings`` parameter instead.
Parameters:
@@ -445,14 +445,14 @@ class SarvamHttpTTSService(TTSService):
aiohttp_session: Shared aiohttp session for making requests.
voice_id: Speaker voice ID. If None, uses model-appropriate default.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=SarvamHttpTTSSettings(voice=...)`` instead.
model: TTS model to use. Options:
- "bulbul:v2" (default): Standard model with pitch/loudness support
- "bulbul:v3-beta": Advanced model with temperature control
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=SarvamHttpTTSSettings(model=...)`` instead.
base_url: Sarvam AI API base URL. Defaults to "https://api.sarvam.ai".
@@ -460,7 +460,7 @@ class SarvamHttpTTSService(TTSService):
If None, uses model-specific default.
params: Additional voice and preprocessing parameters. If None, uses defaults.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=SarvamHttpTTSSettings(...)`` instead.
settings: Runtime-updatable settings. When provided alongside deprecated
@@ -742,7 +742,7 @@ class SarvamTTSService(InterruptibleTTSService):
class InputParams(BaseModel):
"""Configuration parameters for Sarvam TTS WebSocket service.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``SarvamTTSSettings`` directly via the ``settings`` parameter instead.
Parameters:
@@ -848,12 +848,12 @@ class SarvamTTSService(InterruptibleTTSService):
- "bulbul:v2" (default): Standard model with pitch/loudness support
- "bulbul:v3-beta": Advanced model with temperature control
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=SarvamTTSSettings(model=...)`` instead.
voice_id: Speaker voice ID. If None, uses model-appropriate default.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=SarvamTTSSettings(voice=...)`` instead.
url: WebSocket URL for the TTS backend (default production URL).
@@ -867,7 +867,7 @@ class SarvamTTSService(InterruptibleTTSService):
If None, uses model-specific default.
params: Optional input parameters to override defaults.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=SarvamTTSSettings(...)`` instead.
settings: Runtime-updatable settings. When provided alongside deprecated

View File

@@ -79,7 +79,7 @@ class SonioxContextObject(BaseModel):
class SonioxInputParams(BaseModel):
"""Real-time transcription settings.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=SonioxSTTSettings(...)`` instead.
See Soniox WebSocket API documentation for more details:
@@ -201,13 +201,13 @@ class SonioxSTTService(WebsocketSTTService):
sample_rate: Audio sample rate.
model: Soniox model to use for transcription.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=SonioxSTTSettings(model=...)`` instead.
params: Additional configuration parameters, such as language hints, context and
speaker diarization.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=SonioxSTTSettings(...)`` instead.
vad_force_turn_endpoint: Listen to `VADUserStoppedSpeakingFrame` to send finalize message to Soniox.

View File

@@ -395,7 +395,7 @@ class SpeechmaticsSTTService(STTService):
sample_rate: Optional audio sample rate in Hz.
params: Input parameters for the service.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=SpeechmaticsSTTSettings(...)`` instead.
should_interrupt: Determine whether the bot should be interrupted when Speechmatics turn_detection_mode is configured to detect user speech.

View File

@@ -62,7 +62,7 @@ class SpeechmaticsTTSService(TTSService):
class InputParams(BaseModel):
"""Optional input parameters for Speechmatics TTS configuration.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=SpeechmaticsTTSSettings(...)`` instead.
Parameters:
@@ -90,14 +90,14 @@ class SpeechmaticsTTSService(TTSService):
base_url: Base URL for Speechmatics TTS API.
voice_id: Voice model to use for synthesis.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=SpeechmaticsTTSSettings(voice=...)`` instead.
aiohttp_session: Shared aiohttp session for HTTP requests.
sample_rate: Audio sample rate in Hz.
params: Input parameters for the service.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=SpeechmaticsTTSSettings(...)`` instead.
settings: Runtime-updatable settings. When provided alongside deprecated

View File

@@ -38,7 +38,7 @@ class TogetherLLMService(OpenAILLMService):
base_url: The base URL for Together.ai API. Defaults to "https://api.together.xyz/v1".
model: The model identifier to use. Defaults to "meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo".
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=OpenAILLMSettings(model=...)`` instead.
settings: Runtime-updatable settings. When provided alongside deprecated

View File

@@ -145,24 +145,24 @@ class BaseWhisperSTTService(SegmentedSTTService):
Args:
model: Name of the Whisper model to use.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=BaseWhisperSTTSettings(model=...)`` instead.
api_key: Service API key. Defaults to None.
base_url: Service API base URL. Defaults to None.
language: Language of the audio input.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=BaseWhisperSTTSettings(language=...)`` instead.
prompt: Optional text to guide the model's style or continue a previous segment.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=BaseWhisperSTTSettings(prompt=...)`` instead.
temperature: Sampling temperature between 0 and 1.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=BaseWhisperSTTSettings(temperature=...)`` instead.
include_prob_metrics: If True, enables probability metrics in API response.

View File

@@ -229,27 +229,27 @@ class WhisperSTTService(SegmentedSTTService):
Args:
model: The Whisper model to use for transcription. Can be a Model enum or string.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=WhisperSTTSettings(model=...)`` instead.
device: The device to run inference on ('cpu', 'cuda', or 'auto').
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=WhisperSTTSettings(device=...)`` instead.
compute_type: The compute type for inference ('default', 'int8', 'int8_float16', etc.).
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=WhisperSTTSettings(compute_type=...)`` instead.
no_speech_prob: Probability threshold for filtering out non-speech segments.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=WhisperSTTSettings(no_speech_prob=...)`` instead.
language: The default language for transcription.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=WhisperSTTSettings(language=...)`` instead.
settings: Runtime-updatable settings. When provided alongside deprecated
@@ -413,22 +413,22 @@ class WhisperSTTServiceMLX(WhisperSTTService):
Args:
model: The MLX Whisper model to use for transcription. Can be an MLXModel enum or string.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=WhisperMLXSTTSettings(model=...)`` instead.
no_speech_prob: Probability threshold for filtering out non-speech segments.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=WhisperMLXSTTSettings(no_speech_prob=...)`` instead.
language: The default language for transcription.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=WhisperMLXSTTSettings(language=...)`` instead.
temperature: Temperature for sampling. Can be a float or tuple of floats.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=WhisperMLXSTTSettings(temperature=...)`` instead.
settings: Runtime-updatable settings. When provided alongside deprecated

View File

@@ -107,7 +107,7 @@ class XTTSService(TTSService):
Args:
voice_id: ID of the voice/speaker to use for synthesis.
.. deprecated:: 1.0.0
.. deprecated:: 0.0.105
Use ``settings=XTTSTTSSettings(voice=...)`` instead.
base_url: Base URL of the XTTS streaming server.