diff --git a/examples/foundational/07-interruptible.py b/examples/foundational/07-interruptible.py index 3f97e5028..b8a334ec0 100644 --- a/examples/foundational/07-interruptible.py +++ b/examples/foundational/07-interruptible.py @@ -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( diff --git a/src/pipecat/services/asyncai/tts.py b/src/pipecat/services/asyncai/tts.py index ef5c95bfe..d4e2eabdc 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.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 diff --git a/src/pipecat/services/aws/stt.py b/src/pipecat/services/aws/stt.py index 950624fbf..451c8a695 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.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 diff --git a/src/pipecat/services/aws/tts.py b/src/pipecat/services/aws/tts.py index f248db27a..043fc264e 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.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 diff --git a/src/pipecat/services/azure/image.py b/src/pipecat/services/azure/image.py index ca58644f2..2a1286c78 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.0 + .. deprecated:: 0.0.105 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 734a0bacf..19a31320e 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.0 + .. deprecated:: 0.0.105 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 66f871ad3..2527f0bb0 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.0 + .. deprecated:: 0.0.105 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 3a67cb2ff..f4aa85dbc 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.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 diff --git a/src/pipecat/services/camb/tts.py b/src/pipecat/services/camb/tts.py index 9a1b753a6..ef007181e 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.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 diff --git a/src/pipecat/services/cerebras/llm.py b/src/pipecat/services/cerebras/llm.py index 98fbfe0e3..c952b9552 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.0 + .. deprecated:: 0.0.105 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 8ddd2ef0d..ae5364f60 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.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. diff --git a/src/pipecat/services/deepgram/sagemaker/tts.py b/src/pipecat/services/deepgram/sagemaker/tts.py index 62cd25188..9457cc1db 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.0 + .. deprecated:: 0.0.105 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 98a615f9b..b54cd23dc 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.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. diff --git a/src/pipecat/services/deepseek/llm.py b/src/pipecat/services/deepseek/llm.py index c383f5609..3d7c67e2a 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.0 + .. deprecated:: 0.0.105 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 d93f95332..2d75abff9 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.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 diff --git a/src/pipecat/services/elevenlabs/tts.py b/src/pipecat/services/elevenlabs/tts.py index 3cec12431..2447427ab 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.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 diff --git a/src/pipecat/services/fal/image.py b/src/pipecat/services/fal/image.py index 5d061619c..bf3cec6ee 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.0 + .. deprecated:: 0.0.105 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 b5561d964..b251b067d 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.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 diff --git a/src/pipecat/services/fireworks/llm.py b/src/pipecat/services/fireworks/llm.py index cb5a0cf39..e7866c55d 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.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". diff --git a/src/pipecat/services/fish/tts.py b/src/pipecat/services/fish/tts.py index 3d4412186..af02b4e99 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.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 diff --git a/src/pipecat/services/gladia/stt.py b/src/pipecat/services/gladia/stt.py index a12829b0d..44e5bbd9c 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.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. diff --git a/src/pipecat/services/google/image.py b/src/pipecat/services/google/image.py index 09ec61554..d15d5d0ed 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.0 + .. deprecated:: 0.0.105 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 4705e8f68..b33eefd9a 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.0 + .. deprecated:: 0.0.105 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 5415a5403..376e74a6d 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.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 diff --git a/src/pipecat/services/google/tts.py b/src/pipecat/services/google/tts.py index 6b17caed5..22ba47821 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.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 diff --git a/src/pipecat/services/gradium/stt.py b/src/pipecat/services/gradium/stt.py index 51ac8a7cd..fff58d87a 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.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. diff --git a/src/pipecat/services/gradium/tts.py b/src/pipecat/services/gradium/tts.py index b3b9b50ca..3befb4505 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.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 diff --git a/src/pipecat/services/grok/llm.py b/src/pipecat/services/grok/llm.py index f552f059a..98c925ac5 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.0 + .. deprecated:: 0.0.105 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 f88d5a877..c69776ad0 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.0 + .. deprecated:: 0.0.105 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 ac6a4325c..b875f63d4 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.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 diff --git a/src/pipecat/services/groq/tts.py b/src/pipecat/services/groq/tts.py index b1c546713..6f9a610e2 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.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. diff --git a/src/pipecat/services/hume/tts.py b/src/pipecat/services/hume/tts.py index 7b0ecd0c8..052d1cd0a 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.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). diff --git a/src/pipecat/services/inworld/tts.py b/src/pipecat/services/inworld/tts.py index 688ba542a..f650ce620 100644 --- a/src/pipecat/services/inworld/tts.py +++ b/src/pipecat/services/inworld/tts.py @@ -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 diff --git a/src/pipecat/services/kokoro/tts.py b/src/pipecat/services/kokoro/tts.py index 7e53060da..60dfb65ce 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.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 diff --git a/src/pipecat/services/lmnt/tts.py b/src/pipecat/services/lmnt/tts.py index c69eadfef..58468bc00 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.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 diff --git a/src/pipecat/services/minimax/tts.py b/src/pipecat/services/minimax/tts.py index 2d9f49636..2be25aef9 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.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 diff --git a/src/pipecat/services/mistral/llm.py b/src/pipecat/services/mistral/llm.py index ca72cde37..57ab45d6f 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.0 + .. deprecated:: 0.0.105 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 3f0701c80..32b592061 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.0 + .. deprecated:: 0.0.105 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 ae85c3ab5..f6cc6bf68 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.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 diff --git a/src/pipecat/services/nvidia/llm.py b/src/pipecat/services/nvidia/llm.py index f09db54fa..88245464e 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.0 + .. deprecated:: 0.0.105 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 3ceaf45fa..df785e25c 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.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. diff --git a/src/pipecat/services/nvidia/tts.py b/src/pipecat/services/nvidia/tts.py index be0b90071..6e3298a75 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.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 diff --git a/src/pipecat/services/ollama/llm.py b/src/pipecat/services/ollama/llm.py index 2a4a3e78f..477a80b5f 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.0 + .. deprecated:: 0.0.105 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 e3c3676c3..050f8dcc9 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.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 diff --git a/src/pipecat/services/openai/image.py b/src/pipecat/services/openai/image.py index fd9bd0ba8..4120db8c6 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.0 + .. deprecated:: 0.0.105 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 56515ce89..a81d3dc29 100644 --- a/src/pipecat/services/openai/llm.py +++ b/src/pipecat/services/openai/llm.py @@ -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 diff --git a/src/pipecat/services/openai/stt.py b/src/pipecat/services/openai/stt.py index ea2814619..7692deee5 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.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. diff --git a/src/pipecat/services/openai/tts.py b/src/pipecat/services/openai/tts.py index a119c3d14..feb6453c7 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.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 diff --git a/src/pipecat/services/openpipe/llm.py b/src/pipecat/services/openpipe/llm.py index 9724c0a3f..431de832d 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.0 + .. deprecated:: 0.0.105 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 42f01c77d..8c42069d8 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.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". diff --git a/src/pipecat/services/perplexity/llm.py b/src/pipecat/services/perplexity/llm.py index 2d350b736..8195dd50e 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.0 + .. deprecated:: 0.0.105 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 fd6b0bf16..46bf98cd1 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.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 diff --git a/src/pipecat/services/qwen/llm.py b/src/pipecat/services/qwen/llm.py index 92d24fa76..b983e00cd 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.0 + .. deprecated:: 0.0.105 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 28ec8a522..f0a8a988a 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.0 + .. deprecated:: 0.0.105 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 1de4087de..613d58f3a 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.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 diff --git a/src/pipecat/services/sambanova/llm.py b/src/pipecat/services/sambanova/llm.py index f9b7b1380..2468dad13 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.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". diff --git a/src/pipecat/services/sambanova/stt.py b/src/pipecat/services/sambanova/stt.py index 0c2d77e36..60f638897 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.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 diff --git a/src/pipecat/services/sarvam/stt.py b/src/pipecat/services/sarvam/stt.py index fd9a55f14..f255619bb 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.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 diff --git a/src/pipecat/services/sarvam/tts.py b/src/pipecat/services/sarvam/tts.py index 8c76e0ec9..cf00dd8c7 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.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 diff --git a/src/pipecat/services/soniox/stt.py b/src/pipecat/services/soniox/stt.py index b37a76b0f..beadabf1b 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.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. diff --git a/src/pipecat/services/speechmatics/stt.py b/src/pipecat/services/speechmatics/stt.py index 620646d31..a0a5c8b64 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.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. diff --git a/src/pipecat/services/speechmatics/tts.py b/src/pipecat/services/speechmatics/tts.py index dff3e5f0f..55ded437e 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.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 diff --git a/src/pipecat/services/together/llm.py b/src/pipecat/services/together/llm.py index 0fd8b637b..9ec8e9fc2 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.0 + .. deprecated:: 0.0.105 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 91bc54633..8503336cf 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.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. diff --git a/src/pipecat/services/whisper/stt.py b/src/pipecat/services/whisper/stt.py index 17fe24c2d..f3ac0c948 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.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 diff --git a/src/pipecat/services/xtts/tts.py b/src/pipecat/services/xtts/tts.py index c5bfe629e..adf11da6a 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.0 + .. deprecated:: 0.0.105 Use ``settings=XTTSTTSSettings(voice=...)`` instead. base_url: Base URL of the XTTS streaming server.