mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-10 08:05:22 +02:00
feat: add llm models in Dograh (#64)
This commit is contained in:
parent
d60c0206d1
commit
a7bf64a02b
4 changed files with 11 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue