Use exact service class names in LLMSettings docstrings
This commit is contained in:
@@ -90,7 +90,7 @@ class AnthropicThinkingConfig(BaseModel):
|
|||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class AnthropicLLMSettings(LLMSettings):
|
class AnthropicLLMSettings(LLMSettings):
|
||||||
"""Settings for Anthropic LLM services.
|
"""Settings for AnthropicLLMService.
|
||||||
|
|
||||||
Parameters:
|
Parameters:
|
||||||
enable_prompt_caching: Whether to enable prompt caching.
|
enable_prompt_caching: Whether to enable prompt caching.
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ except ModuleNotFoundError as e:
|
|||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class AWSBedrockLLMSettings(LLMSettings):
|
class AWSBedrockLLMSettings(LLMSettings):
|
||||||
"""Settings for AWS Bedrock LLM services.
|
"""Settings for AWSBedrockLLMService.
|
||||||
|
|
||||||
Parameters:
|
Parameters:
|
||||||
stop_sequences: List of strings that stop generation.
|
stop_sequences: List of strings that stop generation.
|
||||||
|
|||||||
@@ -227,7 +227,7 @@ class AudioConfig(BaseModel):
|
|||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class AWSNovaSonicLLMSettings(LLMSettings):
|
class AWSNovaSonicLLMSettings(LLMSettings):
|
||||||
"""Settings for AWS Nova Sonic LLM service.
|
"""Settings for AWSNovaSonicLLMService.
|
||||||
|
|
||||||
Parameters:
|
Parameters:
|
||||||
voice: Voice identifier for speech synthesis.
|
voice: Voice identifier for speech synthesis.
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ from pipecat.services.settings import _warn_deprecated_param
|
|||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class AzureLLMSettings(OpenAILLMSettings):
|
class AzureLLMSettings(OpenAILLMSettings):
|
||||||
"""Settings for Azure OpenAI LLM service."""
|
"""Settings for AzureLLMService."""
|
||||||
|
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ except ModuleNotFoundError as e:
|
|||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class AzureRealtimeLLMSettings(OpenAIRealtimeLLMSettings):
|
class AzureRealtimeLLMSettings(OpenAIRealtimeLLMSettings):
|
||||||
"""Settings for Azure Realtime LLM service."""
|
"""Settings for AzureRealtimeLLMService."""
|
||||||
|
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ from pipecat.services.settings import _warn_deprecated_param
|
|||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class CerebrasLLMSettings(OpenAILLMSettings):
|
class CerebrasLLMSettings(OpenAILLMSettings):
|
||||||
"""Settings for Cerebras LLM service."""
|
"""Settings for CerebrasLLMService."""
|
||||||
|
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ from pipecat.services.settings import _warn_deprecated_param
|
|||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class DeepSeekLLMSettings(OpenAILLMSettings):
|
class DeepSeekLLMSettings(OpenAILLMSettings):
|
||||||
"""Settings for DeepSeek LLM service."""
|
"""Settings for DeepSeekLLMService."""
|
||||||
|
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ from pipecat.services.settings import _warn_deprecated_param
|
|||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class FireworksLLMSettings(OpenAILLMSettings):
|
class FireworksLLMSettings(OpenAILLMSettings):
|
||||||
"""Settings for Fireworks LLM service."""
|
"""Settings for FireworksLLMService."""
|
||||||
|
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|||||||
@@ -607,7 +607,7 @@ class InputParams(BaseModel):
|
|||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class GeminiLiveLLMSettings(LLMSettings):
|
class GeminiLiveLLMSettings(LLMSettings):
|
||||||
"""Settings for GeminiLiveLLMService and GeminiLiveVertexLLMService.
|
"""Settings for GeminiLiveLLMService.
|
||||||
|
|
||||||
Parameters:
|
Parameters:
|
||||||
voice: TTS voice identifier (e.g. ``"Charon"``).
|
voice: TTS voice identifier (e.g. ``"Charon"``).
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ except ModuleNotFoundError as e:
|
|||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class GeminiLiveVertexLLMSettings(GeminiLiveLLMSettings):
|
class GeminiLiveVertexLLMSettings(GeminiLiveLLMSettings):
|
||||||
"""Settings for Gemini Live Vertex LLM service."""
|
"""Settings for GeminiLiveVertexLLMService."""
|
||||||
|
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|||||||
@@ -714,7 +714,7 @@ class GoogleThinkingConfig(BaseModel):
|
|||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class GoogleLLMSettings(LLMSettings):
|
class GoogleLLMSettings(LLMSettings):
|
||||||
"""Settings for Google LLM services.
|
"""Settings for GoogleLLMService.
|
||||||
|
|
||||||
Parameters:
|
Parameters:
|
||||||
thinking: Thinking configuration.
|
thinking: Thinking configuration.
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ from pipecat.services.settings import _warn_deprecated_param
|
|||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class GoogleOpenAILLMSettings(OpenAILLMSettings):
|
class GoogleOpenAILLMSettings(OpenAILLMSettings):
|
||||||
"""Settings for Google OpenAI-compatible LLM service."""
|
"""Settings for GoogleLLMOpenAIBetaService."""
|
||||||
|
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ except ModuleNotFoundError as e:
|
|||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class GoogleVertexLLMSettings(GoogleLLMSettings):
|
class GoogleVertexLLMSettings(GoogleLLMSettings):
|
||||||
"""Settings for Google Vertex LLM service."""
|
"""Settings for GoogleVertexLLMService."""
|
||||||
|
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ class GrokContextAggregatorPair:
|
|||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class GrokLLMSettings(OpenAILLMSettings):
|
class GrokLLMSettings(OpenAILLMSettings):
|
||||||
"""Settings for Grok LLM service."""
|
"""Settings for GrokLLMService."""
|
||||||
|
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|||||||
@@ -94,7 +94,7 @@ class CurrentAudioResponse:
|
|||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class GrokRealtimeLLMSettings(LLMSettings):
|
class GrokRealtimeLLMSettings(LLMSettings):
|
||||||
"""Settings for Grok Realtime LLM services.
|
"""Settings for GrokRealtimeLLMService.
|
||||||
|
|
||||||
Parameters:
|
Parameters:
|
||||||
session_properties: Grok Realtime session properties (voice, audio config,
|
session_properties: Grok Realtime session properties (voice, audio config,
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ from pipecat.services.settings import _warn_deprecated_param
|
|||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class GroqLLMSettings(OpenAILLMSettings):
|
class GroqLLMSettings(OpenAILLMSettings):
|
||||||
"""Settings for Groq LLM service."""
|
"""Settings for GroqLLMService."""
|
||||||
|
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ from pipecat.services.settings import _warn_deprecated_param
|
|||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class MistralLLMSettings(OpenAILLMSettings):
|
class MistralLLMSettings(OpenAILLMSettings):
|
||||||
"""Settings for Mistral LLM service."""
|
"""Settings for MistralLLMService."""
|
||||||
|
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ from pipecat.services.settings import _warn_deprecated_param
|
|||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class NvidiaLLMSettings(OpenAILLMSettings):
|
class NvidiaLLMSettings(OpenAILLMSettings):
|
||||||
"""Settings for NVIDIA LLM service."""
|
"""Settings for NvidiaLLMService."""
|
||||||
|
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ from pipecat.services.settings import _warn_deprecated_param
|
|||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class OllamaLLMSettings(OpenAILLMSettings):
|
class OllamaLLMSettings(OpenAILLMSettings):
|
||||||
"""Settings for Ollama LLM service."""
|
"""Settings for OLLamaLLMService."""
|
||||||
|
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ from pipecat.utils.tracing.service_decorators import traced_llm
|
|||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class OpenAILLMSettings(LLMSettings):
|
class OpenAILLMSettings(LLMSettings):
|
||||||
"""Settings for OpenAI-compatible LLM services.
|
"""Settings for BaseOpenAILLMService.
|
||||||
|
|
||||||
Parameters:
|
Parameters:
|
||||||
max_completion_tokens: Maximum completion tokens to generate.
|
max_completion_tokens: Maximum completion tokens to generate.
|
||||||
|
|||||||
@@ -100,7 +100,7 @@ class CurrentAudioResponse:
|
|||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class OpenAIRealtimeLLMSettings(LLMSettings):
|
class OpenAIRealtimeLLMSettings(LLMSettings):
|
||||||
"""Settings for OpenAI Realtime LLM services.
|
"""Settings for OpenAIRealtimeLLMService.
|
||||||
|
|
||||||
Parameters:
|
Parameters:
|
||||||
session_properties: OpenAI Realtime session properties (modalities,
|
session_properties: OpenAI Realtime session properties (modalities,
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ except ModuleNotFoundError as e:
|
|||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class AzureRealtimeBetaLLMSettings(OpenAIRealtimeBetaLLMSettings):
|
class AzureRealtimeBetaLLMSettings(OpenAIRealtimeBetaLLMSettings):
|
||||||
"""Settings for Azure Realtime Beta LLM service."""
|
"""Settings for AzureRealtimeBetaLLMService."""
|
||||||
|
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|||||||
@@ -94,7 +94,7 @@ class CurrentAudioResponse:
|
|||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class OpenAIRealtimeBetaLLMSettings(LLMSettings):
|
class OpenAIRealtimeBetaLLMSettings(LLMSettings):
|
||||||
"""Settings for OpenAI Realtime Beta LLM services."""
|
"""Settings for OpenAIRealtimeBetaLLMService."""
|
||||||
|
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ except ModuleNotFoundError as e:
|
|||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class OpenPipeLLMSettings(OpenAILLMSettings):
|
class OpenPipeLLMSettings(OpenAILLMSettings):
|
||||||
"""Settings for OpenPipe LLM service."""
|
"""Settings for OpenPipeLLMService."""
|
||||||
|
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ from pipecat.services.settings import _warn_deprecated_param
|
|||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class OpenRouterLLMSettings(OpenAILLMSettings):
|
class OpenRouterLLMSettings(OpenAILLMSettings):
|
||||||
"""Settings for OpenRouter LLM service."""
|
"""Settings for OpenRouterLLMService."""
|
||||||
|
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ from pipecat.services.settings import _warn_deprecated_param
|
|||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class PerplexityLLMSettings(OpenAILLMSettings):
|
class PerplexityLLMSettings(OpenAILLMSettings):
|
||||||
"""Settings for Perplexity LLM service."""
|
"""Settings for PerplexityLLMService."""
|
||||||
|
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ from pipecat.services.settings import _warn_deprecated_param
|
|||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class QwenLLMSettings(OpenAILLMSettings):
|
class QwenLLMSettings(OpenAILLMSettings):
|
||||||
"""Settings for Qwen LLM service."""
|
"""Settings for QwenLLMService."""
|
||||||
|
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ from pipecat.utils.tracing.service_decorators import traced_llm
|
|||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class SambaNovaLLMSettings(OpenAILLMSettings):
|
class SambaNovaLLMSettings(OpenAILLMSettings):
|
||||||
"""Settings for SambaNova LLM service."""
|
"""Settings for SambaNovaLLMService."""
|
||||||
|
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ from pipecat.services.settings import _warn_deprecated_param
|
|||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class TogetherLLMSettings(OpenAILLMSettings):
|
class TogetherLLMSettings(OpenAILLMSettings):
|
||||||
"""Settings for Together LLM service."""
|
"""Settings for TogetherLLMService."""
|
||||||
|
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user