Fix temperature docstrings to reference optional

This commit is contained in:
Mark Backman
2025-02-13 09:04:20 -05:00
parent dcc63dd648
commit ec0ca46617
2 changed files with 2 additions and 2 deletions

View File

@@ -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.
"""

View File

@@ -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.
"""