-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.py
More file actions
47 lines (38 loc) · 1.05 KB
/
config.py
File metadata and controls
47 lines (38 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# config.py
# Central configuration file for Agora AI Voice Chat
# ==========================
# AGORA CREDENTIALS
# ==========================
CUSTOMER_KEY = "xxxxxxxxxxxx"
CUSTOMER_SECRET = "xxxxxxxxxx"
APP_ID = "xxxxxxxxxxxx"
# ==========================
# CHANNEL SETTINGS
# ==========================
CHANNEL_NAME = "test"
AGORA_TEMP_TOKEN = "xxxxxxxxxxxxxxxxxxxxxxxxxxx"
# Agent and User UIDs
AGENT_RTC_UID = "1001"
USER_RTC_UID = "1002"
# ==========================
# 3RD PARTY SERVICES
# ==========================
ASSEMBLY_AI_KEY = "xxxxxxxxxxxxx"
GROQ_KEY = "xxxxxxxxxxxxxxxx"
TTS_GROQ_KEY = "xxxxxxxxxxxxxxxxxx"
# ==========================
# AGENT SETTINGS
# ==========================
IDLE_TIMEOUT = 120 # seconds
MAX_HISTORY = 32
# System prompt for the AI
SYSTEM_PROMPT = "You are a helpful chatbot."
GREETING_MESSAGE = "Hello, how can I assist you?"
FAILURE_MESSAGE = "Please hold on a second."
# LLM Model
LLM_MODEL = "llama-3.3-70b-versatile"
# TTS Voice
TTS_MODEL = "playai-tts"
TTS_VOICE = "Arista-PlayAI"
# ASR Language
ASR_LANGUAGE = "en-US"