feat: add llm models in Dograh (#64)

This commit is contained in:
Abhishek 2025-11-25 17:11:04 +05:30 committed by GitHub
parent d60c0206d1
commit a7bf64a02b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 11 additions and 7 deletions

View file

@ -157,8 +157,11 @@ class AzureLLMService(BaseLLMConfiguration):
# Dograh LLM Service
class DograhLLMModel(str, Enum):
DEFAULT = "default"
FAST = "fast"
ACCURATE = "accurate"
FAST = "fast"
LITE = "lite"
ZEN = "zen"
ZEN_LITE = "zen_lite"
@register_llm

View file

@ -26,9 +26,7 @@ def create_stt_service(user_config):
"""Create and return appropriate STT service based on user configuration"""
if user_config.stt.provider == ServiceProviders.DEEPGRAM.value:
live_options = LiveOptions(
language="multi",
profanity_filter=False,
endpointing=100
language="multi", profanity_filter=False, endpointing=100
)
return DeepgramSTTService(
live_options=live_options,