From ec0ca466172d790e7fc3219b2120a5e31d30ef4f Mon Sep 17 00:00:00 2001 From: Mark Backman Date: Thu, 13 Feb 2025 09:04:20 -0500 Subject: [PATCH] Fix temperature docstrings to reference optional --- src/pipecat/services/groq.py | 2 +- src/pipecat/services/openai.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pipecat/services/groq.py b/src/pipecat/services/groq.py index e72597f06..66cc9357f 100644 --- a/src/pipecat/services/groq.py +++ b/src/pipecat/services/groq.py @@ -55,7 +55,7 @@ class GroqSTTService(BaseWhisperSTTService): base_url: API base URL. Defaults to "https://api.groq.com/openai/v1". language: Language of the audio input. Defaults to English. prompt: Optional text to guide the model's style or continue a previous segment. - temperature: Sampling temperature between 0 and 1. Defaults to 0.0. + temperature: Optional sampling temperature between 0 and 1. Defaults to 0.0. **kwargs: Additional arguments passed to BaseWhisperSTTService. """ diff --git a/src/pipecat/services/openai.py b/src/pipecat/services/openai.py index 6d9af198f..bc251025e 100644 --- a/src/pipecat/services/openai.py +++ b/src/pipecat/services/openai.py @@ -409,7 +409,7 @@ class OpenAISTTService(BaseWhisperSTTService): base_url: API base URL. Defaults to None. language: Language of the audio input. Defaults to English. prompt: Optional text to guide the model's style or continue a previous segment. - temperature: Sampling temperature between 0 and 1. Defaults to 0.0. + temperature: Optional sampling temperature between 0 and 1. Defaults to 0.0. **kwargs: Additional arguments passed to BaseWhisperSTTService. """