diff --git a/src/pipecat/services/asyncai/tts.py b/src/pipecat/services/asyncai/tts.py index 245253ac8..b7ddec2e1 100644 --- a/src/pipecat/services/asyncai/tts.py +++ b/src/pipecat/services/asyncai/tts.py @@ -110,7 +110,7 @@ class AsyncAITTSService(AudioContextTTSService): class InputParams(BaseModel): """Input parameters for Async TTS configuration. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 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 + .. deprecated:: 1.0.0 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 + .. deprecated:: 1.0.0 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 + .. deprecated:: 1.0.0 Use ``settings=AsyncAITTSSettings(...)`` instead. settings: Runtime-updatable settings. When provided alongside deprecated @@ -500,7 +500,7 @@ class AsyncAIHttpTTSService(TTSService): class InputParams(BaseModel): """Input parameters for Async API. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``AsyncAITTSSettings`` directly via the ``settings`` parameter instead. Parameters: @@ -531,13 +531,13 @@ class AsyncAIHttpTTSService(TTSService): api_key: Async API key. voice_id: ID of the voice to use for synthesis. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 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 + .. deprecated:: 1.0.0 Use ``settings=AsyncAITTSSettings(model=...)`` instead. url: Base URL for Async API. @@ -547,7 +547,7 @@ class AsyncAIHttpTTSService(TTSService): container: Audio container format. params: Additional input parameters for voice customization. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=AsyncAITTSSettings(...)`` instead. settings: Runtime-updatable settings. When provided alongside deprecated diff --git a/src/pipecat/services/aws/stt.py b/src/pipecat/services/aws/stt.py index 1cbfa7329..061b17889 100644 --- a/src/pipecat/services/aws/stt.py +++ b/src/pipecat/services/aws/stt.py @@ -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 + .. deprecated:: 1.0.0 Use ``settings=AWSTranscribeSTTSettings(sample_rate=...)`` instead. language: Language for transcription. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=AWSTranscribeSTTSettings(language=...)`` instead. settings: Runtime-updatable settings. When provided alongside deprecated diff --git a/src/pipecat/services/aws/tts.py b/src/pipecat/services/aws/tts.py index 8e11cb3cd..83ef4125c 100644 --- a/src/pipecat/services/aws/tts.py +++ b/src/pipecat/services/aws/tts.py @@ -155,7 +155,7 @@ class AWSPollyTTSService(TTSService): class InputParams(BaseModel): """Input parameters for AWS Polly TTS configuration. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 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 + .. deprecated:: 1.0.0 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 + .. deprecated:: 1.0.0 Use ``settings=AWSPollyTTSSettings(...)`` instead. settings: Runtime-updatable settings. When provided alongside deprecated diff --git a/src/pipecat/services/azure/image.py b/src/pipecat/services/azure/image.py index e64e5c7d8..9f5d48c33 100644 --- a/src/pipecat/services/azure/image.py +++ b/src/pipecat/services/azure/image.py @@ -59,7 +59,7 @@ class AzureImageGenServiceREST(ImageGenService): endpoint: Azure OpenAI endpoint URL. model: The image generation model to use. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=AzureImageGenSettings(model=...)`` instead. aiohttp_session: Shared aiohttp session for HTTP requests. diff --git a/src/pipecat/services/azure/llm.py b/src/pipecat/services/azure/llm.py index b828f0e4e..3c28e190e 100644 --- a/src/pipecat/services/azure/llm.py +++ b/src/pipecat/services/azure/llm.py @@ -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 + .. deprecated:: 1.0.0 Use ``settings=OpenAILLMSettings(model=...)`` instead. api_version: Azure API version. Defaults to "2024-09-01-preview". diff --git a/src/pipecat/services/azure/stt.py b/src/pipecat/services/azure/stt.py index 5ab88c8dd..02a7ca8ed 100644 --- a/src/pipecat/services/azure/stt.py +++ b/src/pipecat/services/azure/stt.py @@ -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 + .. deprecated:: 1.0.0 Use ``settings=AzureSTTSettings(language=...)`` instead. sample_rate: Audio sample rate in Hz. If None, uses service default. diff --git a/src/pipecat/services/azure/tts.py b/src/pipecat/services/azure/tts.py index d37874825..7e5791f03 100644 --- a/src/pipecat/services/azure/tts.py +++ b/src/pipecat/services/azure/tts.py @@ -115,7 +115,7 @@ class AzureBaseTTSService: class InputParams(BaseModel): """Input parameters for Azure TTS voice configuration. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 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 + .. deprecated:: 1.0.0 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 + .. deprecated:: 1.0.0 Use ``settings=AzureTTSSettings(...)`` instead. settings: Runtime-updatable settings. When provided alongside deprecated @@ -766,13 +766,13 @@ class AzureHttpTTSService(TTSService, AzureBaseTTSService): region: Azure region identifier (e.g., "eastus", "westus2"). voice: Voice name to use for synthesis. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 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 + .. deprecated:: 1.0.0 Use ``settings=AzureTTSSettings(...)`` instead. settings: Runtime-updatable settings. When provided alongside deprecated diff --git a/src/pipecat/services/camb/tts.py b/src/pipecat/services/camb/tts.py index 4ee2d5171..de8b16ab8 100644 --- a/src/pipecat/services/camb/tts.py +++ b/src/pipecat/services/camb/tts.py @@ -175,7 +175,7 @@ class CambTTSService(TTSService): class InputParams(BaseModel): """Input parameters for Camb.ai TTS configuration. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 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 + .. deprecated:: 1.0.0 Use ``settings=CambTTSSettings(voice=...)`` instead. model: TTS model to use. Options: "mars-flash" (fast), "mars-pro" (high quality). - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 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 + .. deprecated:: 1.0.0 Use ``settings=CambTTSSettings(...)`` instead. settings: Runtime-updatable settings. When provided alongside deprecated diff --git a/src/pipecat/services/cartesia/tts.py b/src/pipecat/services/cartesia/tts.py index 2f6178b91..82f3b7d73 100644 --- a/src/pipecat/services/cartesia/tts.py +++ b/src/pipecat/services/cartesia/tts.py @@ -283,14 +283,14 @@ class CartesiaTTSService(AudioContextTTSService): api_key: Cartesia API key for authentication. voice_id: ID of the voice to use for synthesis. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=CartesiaTTSSettings(voice=...)`` instead. cartesia_version: API version string for Cartesia service. url: WebSocket URL for Cartesia TTS API. model: TTS model to use (e.g., "sonic-3"). - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=CartesiaTTSSettings(model=...)`` instead. sample_rate: Audio sample rate. If None, uses default. @@ -298,7 +298,7 @@ class CartesiaTTSService(AudioContextTTSService): container: Audio container format. params: Additional input parameters for voice customization. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=CartesiaTTSSettings(...)`` instead. settings: Runtime-updatable settings. When provided alongside deprecated @@ -760,12 +760,12 @@ class CartesiaHttpTTSService(TTSService): api_key: Cartesia API key for authentication. voice_id: ID of the voice to use for synthesis. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=CartesiaTTSSettings(voice=...)`` instead. model: TTS model to use (e.g., "sonic-3"). - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=CartesiaTTSSettings(model=...)`` instead. base_url: Base URL for Cartesia HTTP API. @@ -775,7 +775,7 @@ class CartesiaHttpTTSService(TTSService): container: Audio container format. params: Additional input parameters for voice customization. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=CartesiaTTSSettings(...)`` instead. settings: Runtime-updatable settings. When provided alongside deprecated diff --git a/src/pipecat/services/cerebras/llm.py b/src/pipecat/services/cerebras/llm.py index ec3c3f09b..053594083 100644 --- a/src/pipecat/services/cerebras/llm.py +++ b/src/pipecat/services/cerebras/llm.py @@ -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 + .. deprecated:: 1.0.0 Use ``settings=OpenAILLMSettings(model=...)`` instead. settings: Runtime-updatable settings. When provided alongside deprecated diff --git a/src/pipecat/services/deepgram/flux/stt.py b/src/pipecat/services/deepgram/flux/stt.py index fdfd65613..04c2f1da3 100644 --- a/src/pipecat/services/deepgram/flux/stt.py +++ b/src/pipecat/services/deepgram/flux/stt.py @@ -124,7 +124,7 @@ class DeepgramFluxSTTService(WebsocketSTTService): class InputParams(BaseModel): """Configuration parameters for Deepgram Flux API. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 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 + .. deprecated:: 1.0.0 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 + .. deprecated:: 1.0.0 Use ``settings=DeepgramFluxSTTSettings(...)`` instead. should_interrupt: Determine whether the bot should be interrupted when Flux detects that the user is speaking. diff --git a/src/pipecat/services/deepgram/sagemaker/tts.py b/src/pipecat/services/deepgram/sagemaker/tts.py index 0c141bac0..8d03f6eac 100644 --- a/src/pipecat/services/deepgram/sagemaker/tts.py +++ b/src/pipecat/services/deepgram/sagemaker/tts.py @@ -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 + .. deprecated:: 1.0.0 Use ``settings=DeepgramSageMakerTTSSettings(voice=...)`` instead. sample_rate: Audio sample rate in Hz. If None, uses the value from StartFrame. diff --git a/src/pipecat/services/deepgram/tts.py b/src/pipecat/services/deepgram/tts.py index 4524d17b6..7c391490d 100644 --- a/src/pipecat/services/deepgram/tts.py +++ b/src/pipecat/services/deepgram/tts.py @@ -85,7 +85,7 @@ class DeepgramTTSService(WebsocketTTSService): api_key: Deepgram API key for authentication. voice: Voice model to use for synthesis. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=DeepgramTTSSettings(voice=...)`` instead. base_url: WebSocket base URL for Deepgram API. Defaults to "wss://api.deepgram.com". @@ -403,7 +403,7 @@ class DeepgramHttpTTSService(TTSService): api_key: Deepgram API key for authentication. voice: Voice model to use for synthesis. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=DeepgramTTSSettings(voice=...)`` instead. aiohttp_session: Shared aiohttp session for HTTP requests with connection pooling. diff --git a/src/pipecat/services/deepseek/llm.py b/src/pipecat/services/deepseek/llm.py index 2ebc2e6eb..8cc9ac56e 100644 --- a/src/pipecat/services/deepseek/llm.py +++ b/src/pipecat/services/deepseek/llm.py @@ -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 + .. deprecated:: 1.0.0 Use ``settings=OpenAILLMSettings(model=...)`` instead. settings: Runtime-updatable settings. When provided alongside deprecated diff --git a/src/pipecat/services/elevenlabs/stt.py b/src/pipecat/services/elevenlabs/stt.py index d5897b5c5..1eebcffde 100644 --- a/src/pipecat/services/elevenlabs/stt.py +++ b/src/pipecat/services/elevenlabs/stt.py @@ -228,7 +228,7 @@ class ElevenLabsSTTService(SegmentedSTTService): class InputParams(BaseModel): """Configuration parameters for ElevenLabs STT API. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 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 + .. deprecated:: 1.0.0 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 + .. deprecated:: 1.0.0 Use ``settings=ElevenLabsSTTSettings(...)`` instead. settings: Runtime-updatable settings. When provided alongside deprecated @@ -452,7 +452,7 @@ class ElevenLabsRealtimeSTTService(WebsocketSTTService): class InputParams(BaseModel): """Configuration parameters for ElevenLabs Realtime STT API. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=ElevenLabsRealtimeSTTSettings(...)`` instead. Parameters: @@ -500,13 +500,13 @@ class ElevenLabsRealtimeSTTService(WebsocketSTTService): base_url: Base URL for ElevenLabs WebSocket API. model: Model ID for transcription. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 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 + .. deprecated:: 1.0.0 Use ``settings=ElevenLabsRealtimeSTTSettings(...)`` instead. settings: Runtime-updatable settings. When provided alongside deprecated diff --git a/src/pipecat/services/elevenlabs/tts.py b/src/pipecat/services/elevenlabs/tts.py index b98ce6e1b..15c2dbb2e 100644 --- a/src/pipecat/services/elevenlabs/tts.py +++ b/src/pipecat/services/elevenlabs/tts.py @@ -331,7 +331,7 @@ class ElevenLabsTTSService(AudioContextTTSService): class InputParams(BaseModel): """Input parameters for ElevenLabs TTS configuration. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 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 + .. deprecated:: 1.0.0 Use ``settings=ElevenLabsTTSSettings(voice=...)`` instead. model: TTS model to use (e.g., "eleven_turbo_v2_5"). - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 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 + .. deprecated:: 1.0.0 Use ``settings=ElevenLabsTTSSettings(...)`` instead. settings: Runtime-updatable settings. When provided alongside deprecated @@ -907,7 +907,7 @@ class ElevenLabsHttpTTSService(TTSService): class InputParams(BaseModel): """Input parameters for ElevenLabs HTTP TTS configuration. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=ElevenLabsHttpTTSSettings(...)`` instead. Parameters: @@ -954,13 +954,13 @@ class ElevenLabsHttpTTSService(TTSService): api_key: ElevenLabs API key for authentication. voice_id: ID of the voice to use for synthesis. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 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 + .. deprecated:: 1.0.0 Use ``settings=ElevenLabsHttpTTSSettings(model=...)`` instead. base_url: Base URL for ElevenLabs HTTP API. @@ -969,7 +969,7 @@ class ElevenLabsHttpTTSService(TTSService): locators to use. params: Additional input parameters for voice customization. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=ElevenLabsHttpTTSSettings(...)`` instead. settings: Runtime-updatable settings. When provided alongside deprecated diff --git a/src/pipecat/services/fal/image.py b/src/pipecat/services/fal/image.py index b301ad4e6..d172f77dd 100644 --- a/src/pipecat/services/fal/image.py +++ b/src/pipecat/services/fal/image.py @@ -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 + .. deprecated:: 1.0.0 Use ``settings=FalImageGenSettings(model=...)`` instead. key: Optional API key for Fal.ai. If provided, sets FAL_KEY environment variable. diff --git a/src/pipecat/services/fal/stt.py b/src/pipecat/services/fal/stt.py index 76e9d46ae..1a8a7076c 100644 --- a/src/pipecat/services/fal/stt.py +++ b/src/pipecat/services/fal/stt.py @@ -176,7 +176,7 @@ class FalSTTService(SegmentedSTTService): class InputParams(BaseModel): """Configuration parameters for Fal's Wizper API. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 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 + .. deprecated:: 1.0.0 Use ``settings=FalSTTSettings(...)`` instead. settings: Runtime-updatable settings. When provided alongside deprecated diff --git a/src/pipecat/services/fireworks/llm.py b/src/pipecat/services/fireworks/llm.py index 9fa9e44bd..33d7d22e2 100644 --- a/src/pipecat/services/fireworks/llm.py +++ b/src/pipecat/services/fireworks/llm.py @@ -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 + .. deprecated:: 1.0.0 Use ``settings=OpenAILLMSettings(model=...)`` instead. base_url: The base URL for Fireworks API. Defaults to "https://api.fireworks.ai/inference/v1". diff --git a/src/pipecat/services/fish/tts.py b/src/pipecat/services/fish/tts.py index e95cceebd..431b51729 100644 --- a/src/pipecat/services/fish/tts.py +++ b/src/pipecat/services/fish/tts.py @@ -95,7 +95,7 @@ class FishAudioTTSService(InterruptibleTTSService): class InputParams(BaseModel): """Input parameters for Fish Audio TTS configuration. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 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 + .. deprecated:: 1.0.0 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 + .. deprecated:: 1.0.0 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 + .. deprecated:: 1.0.0 Use ``settings=FishAudioTTSSettings(...)`` instead. settings: Runtime-updatable settings. When provided alongside deprecated diff --git a/src/pipecat/services/gladia/stt.py b/src/pipecat/services/gladia/stt.py index f2376d93e..e1e0d9276 100644 --- a/src/pipecat/services/gladia/stt.py +++ b/src/pipecat/services/gladia/stt.py @@ -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 + .. deprecated:: 1.0.0 Use ``settings=GladiaSTTSettings(model=...)`` instead. params: Additional configuration parameters for Gladia service. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=GladiaSTTSettings(...)`` instead. max_buffer_size: Maximum size of audio buffer in bytes. Defaults to 20MB. diff --git a/src/pipecat/services/google/image.py b/src/pipecat/services/google/image.py index 3d7cf8c94..ce29c0276 100644 --- a/src/pipecat/services/google/image.py +++ b/src/pipecat/services/google/image.py @@ -82,7 +82,7 @@ class GoogleImageGenService(ImageGenService): api_key: Google AI API key for authentication. params: Configuration parameters for image generation. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=GoogleImageGenSettings(model=...)`` instead. http_options: HTTP options for the client. diff --git a/src/pipecat/services/google/llm_openai.py b/src/pipecat/services/google/llm_openai.py index 22703ae55..aa8794469 100644 --- a/src/pipecat/services/google/llm_openai.py +++ b/src/pipecat/services/google/llm_openai.py @@ -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 + .. deprecated:: 1.0.0 Use ``settings=OpenAILLMSettings(model=...)`` instead. settings: Runtime-updatable settings. When provided alongside deprecated diff --git a/src/pipecat/services/google/stt.py b/src/pipecat/services/google/stt.py index 818df0214..23a586b96 100644 --- a/src/pipecat/services/google/stt.py +++ b/src/pipecat/services/google/stt.py @@ -425,7 +425,7 @@ class GoogleSTTService(STTService): class InputParams(BaseModel): """Configuration parameters for Google Speech-to-Text. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 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 + .. deprecated:: 1.0.0 Use ``settings=GoogleSTTSettings(...)`` instead. settings: Runtime-updatable settings. When provided alongside deprecated diff --git a/src/pipecat/services/google/tts.py b/src/pipecat/services/google/tts.py index 86ec845a5..78719f8fa 100644 --- a/src/pipecat/services/google/tts.py +++ b/src/pipecat/services/google/tts.py @@ -566,7 +566,7 @@ class GoogleHttpTTSService(TTSService): class InputParams(BaseModel): """Input parameters for Google HTTP TTS voice customization. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 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 + .. deprecated:: 1.0.0 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 + .. deprecated:: 1.0.0 Use ``settings=GoogleHttpTTSSettings(...)`` instead. settings: Runtime-updatable settings. When provided alongside deprecated @@ -1016,7 +1016,7 @@ class GoogleTTSService(GoogleBaseTTSService): class InputParams(BaseModel): """Input parameters for Google streaming TTS configuration. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``GoogleStreamTTSSettings`` directly via the ``settings`` parameter instead. Parameters: @@ -1048,14 +1048,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 + .. deprecated:: 1.0.0 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 + .. deprecated:: 1.0.0 Use ``settings=GoogleStreamTTSSettings(...)`` instead. settings: Runtime-updatable settings. When provided alongside deprecated @@ -1222,7 +1222,7 @@ class GeminiTTSService(GoogleBaseTTSService): class InputParams(BaseModel): """Input parameters for Gemini TTS configuration. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``GeminiTTSSettings`` directly via the ``settings`` parameter instead. Parameters: @@ -1263,7 +1263,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 + .. deprecated:: 1.0.0 Use ``settings=GeminiTTSSettings(model=...)`` instead. credentials: JSON string containing Google Cloud service account credentials. @@ -1271,13 +1271,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 + .. deprecated:: 1.0.0 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 + .. deprecated:: 1.0.0 Use ``settings=GeminiTTSSettings(...)`` instead. settings: Runtime-updatable settings. When provided alongside deprecated diff --git a/src/pipecat/services/gradium/stt.py b/src/pipecat/services/gradium/stt.py index e1d2b74d4..5974133c0 100644 --- a/src/pipecat/services/gradium/stt.py +++ b/src/pipecat/services/gradium/stt.py @@ -91,7 +91,7 @@ class GradiumSTTService(WebsocketSTTService): class InputParams(BaseModel): """Configuration parameters for Gradium STT API. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 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 + .. deprecated:: 1.0.0 Use ``settings=GradiumSTTSettings(...)`` instead. json_config: Optional JSON configuration string for additional model settings. diff --git a/src/pipecat/services/gradium/tts.py b/src/pipecat/services/gradium/tts.py index 75455cf54..6f076f933 100644 --- a/src/pipecat/services/gradium/tts.py +++ b/src/pipecat/services/gradium/tts.py @@ -57,7 +57,7 @@ class GradiumTTSService(AudioContextTTSService): class InputParams(BaseModel): """Configuration parameters for Gradium TTS service. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 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 + .. deprecated:: 1.0.0 Use ``settings=GradiumTTSSettings(voice=...)`` instead. url: Gradium websocket API endpoint. model: Model ID to use for synthesis. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=GradiumTTSSettings(model=...)`` instead. json_config: Optional JSON configuration string for additional model settings. params: Additional configuration parameters. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=GradiumTTSSettings(...)`` instead. settings: Runtime-updatable settings. When provided alongside deprecated diff --git a/src/pipecat/services/grok/llm.py b/src/pipecat/services/grok/llm.py index 0ef6d36f2..2e6a93c4e 100644 --- a/src/pipecat/services/grok/llm.py +++ b/src/pipecat/services/grok/llm.py @@ -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 + .. deprecated:: 1.0.0 Use ``settings=OpenAILLMSettings(model=...)`` instead. settings: Runtime-updatable settings. When provided alongside deprecated diff --git a/src/pipecat/services/groq/llm.py b/src/pipecat/services/groq/llm.py index 23cce68a2..0ea3b3f50 100644 --- a/src/pipecat/services/groq/llm.py +++ b/src/pipecat/services/groq/llm.py @@ -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 + .. deprecated:: 1.0.0 Use ``settings=OpenAILLMSettings(model=...)`` instead. settings: Runtime-updatable settings. When provided alongside deprecated diff --git a/src/pipecat/services/groq/stt.py b/src/pipecat/services/groq/stt.py index 8018ec702..e6ea42fd8 100644 --- a/src/pipecat/services/groq/stt.py +++ b/src/pipecat/services/groq/stt.py @@ -43,24 +43,24 @@ class GroqSTTService(BaseWhisperSTTService): Args: model: Whisper model to use. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 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 + .. deprecated:: 1.0.0 Use ``settings=BaseWhisperSTTSettings(language=...)`` instead. prompt: Optional text to guide the model's style or continue a previous segment. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=BaseWhisperSTTSettings(prompt=...)`` instead. temperature: Optional sampling temperature between 0 and 1. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=BaseWhisperSTTSettings(temperature=...)`` instead. settings: Runtime-updatable settings. When provided alongside deprecated diff --git a/src/pipecat/services/groq/tts.py b/src/pipecat/services/groq/tts.py index c6cc46e23..d16964d8c 100644 --- a/src/pipecat/services/groq/tts.py +++ b/src/pipecat/services/groq/tts.py @@ -64,7 +64,7 @@ class GroqTTSService(TTSService): class InputParams(BaseModel): """Input parameters for Groq TTS configuration. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 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 + .. deprecated:: 1.0.0 Use ``settings=GroqTTSSettings(...)`` instead. model_name: TTS model to use. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=GroqTTSSettings(model=...)`` instead. voice_id: Voice identifier to use. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=GroqTTSSettings(voice=...)`` instead. sample_rate: Audio sample rate. Must be 48000 Hz for Groq TTS. diff --git a/src/pipecat/services/hume/tts.py b/src/pipecat/services/hume/tts.py index 35b6fbbc4..5b7300816 100644 --- a/src/pipecat/services/hume/tts.py +++ b/src/pipecat/services/hume/tts.py @@ -84,7 +84,7 @@ class HumeTTSService(TTSService): class InputParams(BaseModel): """Optional synthesis parameters for Hume TTS. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 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 + .. deprecated:: 1.0.0 Use ``settings=HumeTTSSettings(voice=...)`` instead. params: Optional synthesis controls (acting instructions, speed, trailing silence). - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=HumeTTSSettings(...)`` instead. sample_rate: Output sample rate for emitted PCM frames. Defaults to 48_000 (Hume). diff --git a/src/pipecat/services/inworld/tts.py b/src/pipecat/services/inworld/tts.py index 23c3b36e4..f1797ad55 100644 --- a/src/pipecat/services/inworld/tts.py +++ b/src/pipecat/services/inworld/tts.py @@ -114,7 +114,7 @@ class InworldHttpTTSService(TTSService): class InputParams(BaseModel): """Input parameters for Inworld TTS configuration. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``InworldTTSSettings`` directly via the ``settings`` parameter instead. Parameters: @@ -148,12 +148,12 @@ class InworldHttpTTSService(TTSService): aiohttp_session: aiohttp ClientSession for HTTP requests. voice_id: ID of the voice to use for synthesis. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=InworldTTSSettings(voice=...)`` instead. model: ID of the model to use for synthesis. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=InworldTTSSettings(model=...)`` instead. streaming: Whether to use streaming mode. @@ -161,7 +161,7 @@ class InworldHttpTTSService(TTSService): encoding: Audio encoding format. params: Input parameters for Inworld TTS configuration. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=InworldTTSSettings(...)`` instead. settings: Runtime-updatable settings. When provided alongside deprecated @@ -506,7 +506,7 @@ class InworldTTSService(AudioContextTTSService): class InputParams(BaseModel): """Input parameters for Inworld WebSocket TTS configuration. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``InworldTTSSettings`` directly via the ``settings`` parameter instead. Parameters: @@ -553,12 +553,12 @@ class InworldTTSService(AudioContextTTSService): api_key: Inworld API key. voice_id: ID of the voice to use for synthesis. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=InworldTTSSettings(voice=...)`` instead. model: ID of the model to use for synthesis. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=InworldTTSSettings(model=...)`` instead. url: URL of the Inworld WebSocket API. @@ -566,7 +566,7 @@ class InworldTTSService(AudioContextTTSService): encoding: Audio encoding format. params: Input parameters for Inworld WebSocket TTS configuration. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=InworldTTSSettings(...)`` instead. settings: Runtime-updatable settings. When provided alongside deprecated diff --git a/src/pipecat/services/kokoro/tts.py b/src/pipecat/services/kokoro/tts.py index fed53049c..8bab78f93 100644 --- a/src/pipecat/services/kokoro/tts.py +++ b/src/pipecat/services/kokoro/tts.py @@ -112,7 +112,7 @@ class KokoroTTSService(TTSService): class InputParams(BaseModel): """Input parameters for Kokoro TTS configuration. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 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 + .. deprecated:: 1.0.0 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 + .. deprecated:: 1.0.0 Use ``settings=KokoroTTSSettings(...)`` instead. settings: Runtime-updatable settings. When provided alongside deprecated diff --git a/src/pipecat/services/lmnt/tts.py b/src/pipecat/services/lmnt/tts.py index 1e7cff994..a8ccec358 100644 --- a/src/pipecat/services/lmnt/tts.py +++ b/src/pipecat/services/lmnt/tts.py @@ -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 + .. deprecated:: 1.0.0 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 + .. deprecated:: 1.0.0 Use ``settings=LmntTTSSettings(model=...)`` instead. settings: Runtime-updatable settings. When provided alongside deprecated diff --git a/src/pipecat/services/minimax/tts.py b/src/pipecat/services/minimax/tts.py index 602654e2f..9e520f763 100644 --- a/src/pipecat/services/minimax/tts.py +++ b/src/pipecat/services/minimax/tts.py @@ -166,7 +166,7 @@ class MiniMaxHttpTTSService(TTSService): class InputParams(BaseModel): """Configuration parameters for MiniMax TTS. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 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 + .. deprecated:: 1.0.0 Use ``settings=MiniMaxTTSSettings(model=...)`` instead. voice_id: Voice identifier. Defaults to "Calm_Woman". - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 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 + .. deprecated:: 1.0.0 Use ``settings=MiniMaxTTSSettings(...)`` instead. settings: Runtime-updatable settings. When provided alongside deprecated diff --git a/src/pipecat/services/mistral/llm.py b/src/pipecat/services/mistral/llm.py index e4249741e..da1f612c9 100644 --- a/src/pipecat/services/mistral/llm.py +++ b/src/pipecat/services/mistral/llm.py @@ -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 + .. deprecated:: 1.0.0 Use ``settings=OpenAILLMSettings(model=...)`` instead. settings: Runtime-updatable settings. When provided alongside deprecated diff --git a/src/pipecat/services/moondream/vision.py b/src/pipecat/services/moondream/vision.py index db449d7ed..b80928a43 100644 --- a/src/pipecat/services/moondream/vision.py +++ b/src/pipecat/services/moondream/vision.py @@ -93,7 +93,7 @@ class MoondreamService(VisionService): Args: model: Hugging Face model identifier for the Moondream model. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=MoondreamSettings(model=...)`` instead. revision: Specific model revision to use. diff --git a/src/pipecat/services/neuphonic/tts.py b/src/pipecat/services/neuphonic/tts.py index 21c7b57dd..e1efee96b 100644 --- a/src/pipecat/services/neuphonic/tts.py +++ b/src/pipecat/services/neuphonic/tts.py @@ -102,7 +102,7 @@ class NeuphonicTTSService(InterruptibleTTSService): class InputParams(BaseModel): """Input parameters for Neuphonic TTS configuration. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 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 + .. deprecated:: 1.0.0 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 + .. deprecated:: 1.0.0 Use ``settings=NeuphonicTTSSettings(...)`` instead. settings: Runtime-updatable settings. When provided alongside deprecated @@ -441,7 +441,7 @@ class NeuphonicHttpTTSService(TTSService): class InputParams(BaseModel): """Input parameters for Neuphonic HTTP TTS configuration. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=NeuphonicTTSSettings(...)`` instead. Parameters: @@ -471,7 +471,7 @@ class NeuphonicHttpTTSService(TTSService): api_key: Neuphonic API key for authentication. voice_id: ID of the voice to use for synthesis. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=NeuphonicTTSSettings(voice=...)`` instead. aiohttp_session: Shared aiohttp session for HTTP requests. @@ -480,7 +480,7 @@ class NeuphonicHttpTTSService(TTSService): encoding: Audio encoding format. Defaults to "pcm_linear". params: Additional input parameters for TTS configuration. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=NeuphonicTTSSettings(...)`` instead. settings: Runtime-updatable settings. When provided alongside deprecated diff --git a/src/pipecat/services/nvidia/llm.py b/src/pipecat/services/nvidia/llm.py index ef4afe848..1667457b9 100644 --- a/src/pipecat/services/nvidia/llm.py +++ b/src/pipecat/services/nvidia/llm.py @@ -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 + .. deprecated:: 1.0.0 Use ``settings=OpenAILLMSettings(model=...)`` instead. settings: Runtime-updatable settings. When provided alongside deprecated diff --git a/src/pipecat/services/nvidia/stt.py b/src/pipecat/services/nvidia/stt.py index 7f9c28f8f..63e901005 100644 --- a/src/pipecat/services/nvidia/stt.py +++ b/src/pipecat/services/nvidia/stt.py @@ -130,7 +130,7 @@ class NvidiaSTTService(STTService): class InputParams(BaseModel): """Configuration parameters for NVIDIA Riva STT service. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 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 + .. deprecated:: 1.0.0 Use ``settings=NvidiaSTTSettings(...)`` instead. use_ssl: Whether to use SSL for the NVIDIA Riva server. Defaults to True. @@ -438,7 +438,7 @@ class NvidiaSegmentedSTTService(SegmentedSTTService): class InputParams(BaseModel): """Configuration parameters for NVIDIA Riva segmented STT service. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=NvidiaSegmentedSTTSettings(...)`` instead. Parameters: @@ -482,7 +482,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 + .. deprecated:: 1.0.0 Use ``settings=NvidiaSegmentedSTTSettings(...)`` instead. use_ssl: Whether to use SSL for the NVIDIA Riva server. Defaults to True. diff --git a/src/pipecat/services/nvidia/tts.py b/src/pipecat/services/nvidia/tts.py index 0f7491645..75caa27e4 100644 --- a/src/pipecat/services/nvidia/tts.py +++ b/src/pipecat/services/nvidia/tts.py @@ -68,7 +68,7 @@ class NvidiaTTSService(TTSService): class InputParams(BaseModel): """Input parameters for Riva TTS configuration. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 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 + .. deprecated:: 1.0.0 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 + .. deprecated:: 1.0.0 Use ``settings=NvidiaTTSSettings(...)`` instead. settings: Runtime-updatable settings. When provided alongside deprecated diff --git a/src/pipecat/services/ollama/llm.py b/src/pipecat/services/ollama/llm.py index ecae3fc95..8fc94985d 100644 --- a/src/pipecat/services/ollama/llm.py +++ b/src/pipecat/services/ollama/llm.py @@ -35,7 +35,7 @@ class OLLamaLLMService(OpenAILLMService): Args: model: The OLLama model to use. Defaults to "llama2". - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=OpenAILLMSettings(model=...)`` instead. base_url: The base URL for the OLLama API endpoint. diff --git a/src/pipecat/services/openai/base_llm.py b/src/pipecat/services/openai/base_llm.py index 22cf89897..912b3f0b1 100644 --- a/src/pipecat/services/openai/base_llm.py +++ b/src/pipecat/services/openai/base_llm.py @@ -75,7 +75,7 @@ class BaseOpenAILLMService(LLMService): class InputParams(BaseModel): """Input parameters for OpenAI model configuration. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 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 + .. deprecated:: 1.0.0 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 + .. deprecated:: 1.0.0 Use ``settings=OpenAILLMSettings(...)`` instead. settings: Runtime-updatable settings. When provided alongside deprecated diff --git a/src/pipecat/services/openai/image.py b/src/pipecat/services/openai/image.py index 2dc66876c..a145df6e5 100644 --- a/src/pipecat/services/openai/image.py +++ b/src/pipecat/services/openai/image.py @@ -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 + .. deprecated:: 1.0.0 Use ``settings=OpenAIImageGenSettings(model=...)`` instead. settings: Runtime-updatable settings. When provided alongside deprecated diff --git a/src/pipecat/services/openai/llm.py b/src/pipecat/services/openai/llm.py index c259987a8..a8ab760c4 100644 --- a/src/pipecat/services/openai/llm.py +++ b/src/pipecat/services/openai/llm.py @@ -83,12 +83,12 @@ class OpenAILLMService(BaseOpenAILLMService): Args: model: The OpenAI model name to use. Defaults to "gpt-4.1". - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=OpenAILLMSettings(model=...)`` instead. params: Input parameters for model configuration. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=OpenAILLMSettings(...)`` instead. settings: Runtime-updatable settings. When provided alongside deprecated diff --git a/src/pipecat/services/openai/stt.py b/src/pipecat/services/openai/stt.py index be933cd9a..5c31d3f02 100644 --- a/src/pipecat/services/openai/stt.py +++ b/src/pipecat/services/openai/stt.py @@ -80,7 +80,7 @@ class OpenAISTTService(BaseWhisperSTTService): Args: model: Model to use — either gpt-4o or Whisper. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=BaseWhisperSTTSettings(model=...)`` instead. api_key: OpenAI API key. Defaults to None. @@ -210,7 +210,7 @@ class OpenAIRealtimeSTTService(WebsocketSTTService): model: Transcription model. Supported values are ``"gpt-4o-transcribe"`` and ``"gpt-4o-mini-transcribe"``. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=OpenAIRealtimeSTTSettings(model=...)`` instead. base_url: WebSocket base URL for the Realtime API. diff --git a/src/pipecat/services/openai/tts.py b/src/pipecat/services/openai/tts.py index 965b8faf7..42c963808 100644 --- a/src/pipecat/services/openai/tts.py +++ b/src/pipecat/services/openai/tts.py @@ -90,7 +90,7 @@ class OpenAITTSService(TTSService): class InputParams(BaseModel): """Input parameters for OpenAI TTS configuration. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 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 + .. deprecated:: 1.0.0 Use ``settings=OpenAITTSSettings(voice=...)`` instead. model: TTS model to use. Defaults to "gpt-4o-mini-tts". - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 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 + .. deprecated:: 1.0.0 Use ``settings=OpenAITTSSettings(instructions=...)`` instead. speed: Voice speed control (0.25 to 4.0, default 1.0). - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=OpenAITTSSettings(speed=...)`` instead. params: Optional synthesis controls (acting instructions, speed, ...). - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=OpenAITTSSettings(...)`` instead. settings: Runtime-updatable settings. When provided alongside deprecated diff --git a/src/pipecat/services/openpipe/llm.py b/src/pipecat/services/openpipe/llm.py index 524eff860..7fb4ebd2d 100644 --- a/src/pipecat/services/openpipe/llm.py +++ b/src/pipecat/services/openpipe/llm.py @@ -52,7 +52,7 @@ class OpenPipeLLMService(OpenAILLMService): Args: model: The model name to use. Defaults to "gpt-4.1". - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=OpenAILLMSettings(model=...)`` instead. api_key: OpenAI API key for authentication. If None, reads from environment. diff --git a/src/pipecat/services/openrouter/llm.py b/src/pipecat/services/openrouter/llm.py index 9b202c04d..ea307aaee 100644 --- a/src/pipecat/services/openrouter/llm.py +++ b/src/pipecat/services/openrouter/llm.py @@ -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 + .. deprecated:: 1.0.0 Use ``settings=OpenAILLMSettings(model=...)`` instead. base_url: The base URL for OpenRouter API. Defaults to "https://openrouter.ai/api/v1". diff --git a/src/pipecat/services/perplexity/llm.py b/src/pipecat/services/perplexity/llm.py index b00f9e974..1fbf763f3 100644 --- a/src/pipecat/services/perplexity/llm.py +++ b/src/pipecat/services/perplexity/llm.py @@ -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 + .. deprecated:: 1.0.0 Use ``settings=OpenAILLMSettings(model=...)`` instead. settings: Runtime-updatable settings. When provided alongside deprecated diff --git a/src/pipecat/services/piper/tts.py b/src/pipecat/services/piper/tts.py index 559824b49..73c555c9d 100644 --- a/src/pipecat/services/piper/tts.py +++ b/src/pipecat/services/piper/tts.py @@ -65,7 +65,7 @@ class PiperTTSService(TTSService): Args: voice_id: Piper voice model identifier (e.g. `en_US-ryan-high`). - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=PiperTTSSettings(voice=...)`` instead. download_dir: Directory for storing voice model files. Defaults to @@ -215,7 +215,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 + .. deprecated:: 1.0.0 Use ``settings=PiperHttpTTSSettings(voice=...)`` instead. settings: Runtime-updatable settings. When provided alongside deprecated diff --git a/src/pipecat/services/qwen/llm.py b/src/pipecat/services/qwen/llm.py index 132924662..db407f880 100644 --- a/src/pipecat/services/qwen/llm.py +++ b/src/pipecat/services/qwen/llm.py @@ -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 + .. deprecated:: 1.0.0 Use ``settings=OpenAILLMSettings(model=...)`` instead. settings: Runtime-updatable settings. When provided alongside deprecated diff --git a/src/pipecat/services/resembleai/tts.py b/src/pipecat/services/resembleai/tts.py index 148dacde2..ade4361e0 100644 --- a/src/pipecat/services/resembleai/tts.py +++ b/src/pipecat/services/resembleai/tts.py @@ -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 + .. deprecated:: 1.0.0 Use ``settings=ResembleAITTSSettings(voice=...)`` instead. url: WebSocket URL for Resemble AI TTS API. diff --git a/src/pipecat/services/rime/tts.py b/src/pipecat/services/rime/tts.py index a44b738d1..c607a2e06 100644 --- a/src/pipecat/services/rime/tts.py +++ b/src/pipecat/services/rime/tts.py @@ -144,7 +144,7 @@ class RimeTTSService(AudioContextTTSService): class InputParams(BaseModel): """Configuration parameters for Rime TTS service. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 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 + .. deprecated:: 1.0.0 Use ``settings=RimeTTSSettings(voice=...)`` instead. url: Rime websocket API endpoint. model: Model ID to use for synthesis. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=RimeTTSSettings(model=...)`` instead. sample_rate: Audio sample rate in Hz. params: Additional configuration parameters. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=RimeTTSSettings(...)`` instead. settings: Runtime-updatable settings. When provided alongside deprecated @@ -657,7 +657,7 @@ class RimeHttpTTSService(TTSService): class InputParams(BaseModel): """Configuration parameters for Rime HTTP TTS service. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=RimeTTSSettings(...)`` instead. Parameters: @@ -694,19 +694,19 @@ class RimeHttpTTSService(TTSService): api_key: Rime API key for authentication. voice_id: ID of the voice to use. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=RimeTTSSettings(voice=...)`` instead. aiohttp_session: Shared aiohttp session for HTTP requests. model: Model ID to use for synthesis. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=RimeTTSSettings(model=...)`` instead. sample_rate: Audio sample rate in Hz. params: Additional configuration parameters. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=RimeTTSSettings(...)`` instead. settings: Runtime-updatable settings. When provided alongside deprecated @@ -868,7 +868,7 @@ class RimeNonJsonTTSService(InterruptibleTTSService): class InputParams(BaseModel): """Configuration parameters for Rime Non-JSON WebSocket TTS service. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=RimeNonJsonTTSSettings(...)`` instead. Args: @@ -908,20 +908,20 @@ class RimeNonJsonTTSService(InterruptibleTTSService): api_key: Rime API key for authentication. voice_id: ID of the voice to use. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=RimeNonJsonTTSSettings(voice=...)`` instead. url: Rime websocket API endpoint. model: Model ID to use for synthesis. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 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 + .. deprecated:: 1.0.0 Use ``settings=RimeNonJsonTTSSettings(...)`` instead. settings: Runtime-updatable settings. When provided alongside deprecated diff --git a/src/pipecat/services/sambanova/llm.py b/src/pipecat/services/sambanova/llm.py index 23d415598..5114297a8 100644 --- a/src/pipecat/services/sambanova/llm.py +++ b/src/pipecat/services/sambanova/llm.py @@ -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 + .. deprecated:: 1.0.0 Use ``settings=OpenAILLMSettings(model=...)`` instead. base_url: The base URL for SambaNova API. Defaults to "https://api.sambanova.ai/v1". diff --git a/src/pipecat/services/sambanova/stt.py b/src/pipecat/services/sambanova/stt.py index 4e3c9e01d..4ca156b88 100644 --- a/src/pipecat/services/sambanova/stt.py +++ b/src/pipecat/services/sambanova/stt.py @@ -45,24 +45,24 @@ class SambaNovaSTTService(BaseWhisperSTTService): # type: ignore Args: model: Whisper model to use. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 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 + .. deprecated:: 1.0.0 Use ``settings=BaseWhisperSTTSettings(language=...)`` instead. prompt: Optional text to guide the model's style or continue a previous segment. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=BaseWhisperSTTSettings(prompt=...)`` instead. temperature: Optional sampling temperature between 0 and 1. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=BaseWhisperSTTSettings(temperature=...)`` instead. settings: Runtime-updatable settings. When provided alongside deprecated diff --git a/src/pipecat/services/sarvam/stt.py b/src/pipecat/services/sarvam/stt.py index b3ac41470..97c8d1ccc 100644 --- a/src/pipecat/services/sarvam/stt.py +++ b/src/pipecat/services/sarvam/stt.py @@ -177,7 +177,7 @@ class SarvamSTTService(STTService): class InputParams(BaseModel): """Configuration parameters for Sarvam STT service. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 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 + .. deprecated:: 1.0.0 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 + .. deprecated:: 1.0.0 Use ``settings=SarvamSTTSettings(...)`` instead. settings: Runtime-updatable settings. When provided alongside deprecated diff --git a/src/pipecat/services/sarvam/tts.py b/src/pipecat/services/sarvam/tts.py index 4d125dfc9..14386d743 100644 --- a/src/pipecat/services/sarvam/tts.py +++ b/src/pipecat/services/sarvam/tts.py @@ -376,7 +376,7 @@ class SarvamHttpTTSService(TTSService): class InputParams(BaseModel): """Input parameters for Sarvam TTS configuration. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 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 + .. deprecated:: 1.0.0 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 + .. deprecated:: 1.0.0 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 + .. deprecated:: 1.0.0 Use ``settings=SarvamHttpTTSSettings(...)`` instead. settings: Runtime-updatable settings. When provided alongside deprecated @@ -724,7 +724,7 @@ class SarvamTTSService(InterruptibleTTSService): class InputParams(BaseModel): """Configuration parameters for Sarvam TTS WebSocket service. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``SarvamTTSSettings`` directly via the ``settings`` parameter instead. Parameters: @@ -830,12 +830,12 @@ class SarvamTTSService(InterruptibleTTSService): - "bulbul:v2" (default): Standard model with pitch/loudness support - "bulbul:v3-beta": Advanced model with temperature control - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=SarvamTTSSettings(model=...)`` instead. voice_id: Speaker voice ID. If None, uses model-appropriate default. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=SarvamTTSSettings(voice=...)`` instead. url: WebSocket URL for the TTS backend (default production URL). @@ -849,7 +849,7 @@ class SarvamTTSService(InterruptibleTTSService): If None, uses model-specific default. params: Optional input parameters to override defaults. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=SarvamTTSSettings(...)`` instead. settings: Runtime-updatable settings. When provided alongside deprecated diff --git a/src/pipecat/services/soniox/stt.py b/src/pipecat/services/soniox/stt.py index 84c437f36..c9b3fb7c9 100644 --- a/src/pipecat/services/soniox/stt.py +++ b/src/pipecat/services/soniox/stt.py @@ -79,7 +79,7 @@ class SonioxContextObject(BaseModel): class SonioxInputParams(BaseModel): """Real-time transcription settings. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 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 + .. deprecated:: 1.0.0 Use ``settings=SonioxSTTSettings(model=...)`` instead. params: Additional configuration parameters, such as language hints, context and speaker diarization. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=SonioxSTTSettings(...)`` instead. vad_force_turn_endpoint: Listen to `VADUserStoppedSpeakingFrame` to send finalize message to Soniox. diff --git a/src/pipecat/services/speechmatics/stt.py b/src/pipecat/services/speechmatics/stt.py index a0ca19f74..2d3e90896 100644 --- a/src/pipecat/services/speechmatics/stt.py +++ b/src/pipecat/services/speechmatics/stt.py @@ -395,7 +395,7 @@ class SpeechmaticsSTTService(STTService): sample_rate: Optional audio sample rate in Hz. params: Input parameters for the service. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=SpeechmaticsSTTSettings(...)`` instead. should_interrupt: Determine whether the bot should be interrupted when Speechmatics turn_detection_mode is configured to detect user speech. diff --git a/src/pipecat/services/speechmatics/tts.py b/src/pipecat/services/speechmatics/tts.py index e1260fbe2..8ce6ae2ef 100644 --- a/src/pipecat/services/speechmatics/tts.py +++ b/src/pipecat/services/speechmatics/tts.py @@ -62,7 +62,7 @@ class SpeechmaticsTTSService(TTSService): class InputParams(BaseModel): """Optional input parameters for Speechmatics TTS configuration. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 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 + .. deprecated:: 1.0.0 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 + .. deprecated:: 1.0.0 Use ``settings=SpeechmaticsTTSSettings(...)`` instead. settings: Runtime-updatable settings. When provided alongside deprecated diff --git a/src/pipecat/services/together/llm.py b/src/pipecat/services/together/llm.py index b1cb4ffea..48e15ae5c 100644 --- a/src/pipecat/services/together/llm.py +++ b/src/pipecat/services/together/llm.py @@ -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 + .. deprecated:: 1.0.0 Use ``settings=OpenAILLMSettings(model=...)`` instead. settings: Runtime-updatable settings. When provided alongside deprecated diff --git a/src/pipecat/services/whisper/base_stt.py b/src/pipecat/services/whisper/base_stt.py index e254a7929..a4eee299b 100644 --- a/src/pipecat/services/whisper/base_stt.py +++ b/src/pipecat/services/whisper/base_stt.py @@ -145,24 +145,24 @@ class BaseWhisperSTTService(SegmentedSTTService): Args: model: Name of the Whisper model to use. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 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 + .. deprecated:: 1.0.0 Use ``settings=BaseWhisperSTTSettings(language=...)`` instead. prompt: Optional text to guide the model's style or continue a previous segment. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=BaseWhisperSTTSettings(prompt=...)`` instead. temperature: Sampling temperature between 0 and 1. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=BaseWhisperSTTSettings(temperature=...)`` instead. include_prob_metrics: If True, enables probability metrics in API response. diff --git a/src/pipecat/services/whisper/stt.py b/src/pipecat/services/whisper/stt.py index 2e0a6156a..38fd287fa 100644 --- a/src/pipecat/services/whisper/stt.py +++ b/src/pipecat/services/whisper/stt.py @@ -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 + .. deprecated:: 1.0.0 Use ``settings=WhisperSTTSettings(model=...)`` instead. device: The device to run inference on ('cpu', 'cuda', or 'auto'). - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=WhisperSTTSettings(device=...)`` instead. compute_type: The compute type for inference ('default', 'int8', 'int8_float16', etc.). - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=WhisperSTTSettings(compute_type=...)`` instead. no_speech_prob: Probability threshold for filtering out non-speech segments. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=WhisperSTTSettings(no_speech_prob=...)`` instead. language: The default language for transcription. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=WhisperSTTSettings(language=...)`` instead. settings: Runtime-updatable settings. When provided alongside deprecated @@ -408,22 +408,22 @@ class WhisperSTTServiceMLX(WhisperSTTService): Args: model: The MLX Whisper model to use for transcription. Can be an MLXModel enum or string. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=WhisperMLXSTTSettings(model=...)`` instead. no_speech_prob: Probability threshold for filtering out non-speech segments. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=WhisperMLXSTTSettings(no_speech_prob=...)`` instead. language: The default language for transcription. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=WhisperMLXSTTSettings(language=...)`` instead. temperature: Temperature for sampling. Can be a float or tuple of floats. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=WhisperMLXSTTSettings(temperature=...)`` instead. settings: Runtime-updatable settings. When provided alongside deprecated diff --git a/src/pipecat/services/xtts/tts.py b/src/pipecat/services/xtts/tts.py index bba95a400..88137172f 100644 --- a/src/pipecat/services/xtts/tts.py +++ b/src/pipecat/services/xtts/tts.py @@ -107,7 +107,7 @@ class XTTSService(TTSService): Args: voice_id: ID of the voice/speaker to use for synthesis. - .. deprecated:: 1.0 + .. deprecated:: 1.0.0 Use ``settings=XTTSTTSSettings(voice=...)`` instead. base_url: Base URL of the XTTS streaming server.