Add gitignor
This commit is contained in:
20
assistant/config.py
Normal file
20
assistant/config.py
Normal file
@@ -0,0 +1,20 @@
|
||||
import os
|
||||
from dotenv import load_dotenv
|
||||
|
||||
load_dotenv()
|
||||
|
||||
MISTRAL_API_KEY: str = os.environ["MISTRAL_API_KEY"]
|
||||
|
||||
LLM_MODEL: str = "mistral-large-latest"
|
||||
TTS_MODEL: str = "voxtral-mini-tts-2603"
|
||||
|
||||
VOICE_ID: str | None = os.getenv("VOICE_ID") or None
|
||||
|
||||
SYSTEM_PROMPT: str = os.getenv(
|
||||
"SYSTEM_PROMPT",
|
||||
"Tu es Arioch, un assistant vocal intelligent, concis et sympathique. "
|
||||
"Réponds toujours en français sauf si l'utilisateur parle une autre langue.",
|
||||
)
|
||||
|
||||
VOICE_LANGUAGE: str = os.getenv("VOICE_LANGUAGE", "fr")
|
||||
TTS_PCM_SAMPLE_RATE: int = int(os.getenv("TTS_PCM_SAMPLE_RATE", "24000"))
|
||||
Reference in New Issue
Block a user