mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-10 08:05:22 +02:00
23 lines
578 B
Python
23 lines
578 B
Python
from datetime import datetime
|
|
|
|
from pydantic import BaseModel
|
|
|
|
from api.services.configuration.registry import (
|
|
EmbeddingsConfig,
|
|
LLMConfig,
|
|
RealtimeConfig,
|
|
STTConfig,
|
|
TTSConfig,
|
|
)
|
|
|
|
|
|
class UserConfiguration(BaseModel):
|
|
llm: LLMConfig | None = None
|
|
stt: STTConfig | None = None
|
|
tts: TTSConfig | None = None
|
|
embeddings: EmbeddingsConfig | None = None
|
|
realtime: RealtimeConfig | None = None
|
|
is_realtime: bool = False
|
|
test_phone_number: str | None = None
|
|
timezone: str | None = None
|
|
last_validated_at: datetime | None = None
|