forked from nkasmanoff/pi-card
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.py
22 lines (22 loc) · 1.12 KB
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
config = {
"SOUNDS_PATH": '/home/nkasmanoff/Desktop/pi-card/sounds/',
"WAKE_WORD": ["rasp", "berry", "barry", "razbear", "brad", "raster"],
"TIMEOUT": 10,
# longest amount of time the allow a phrase to continue before stopping the recording
"PHRASE_TIME_LIMIT": 7,
"USE_FASTER_WHISPER": False,
"WHISPER_CPP_PATH": "../whisper.cpp/",
"WHISPER_MODEL_PATH": "/home/nkasmanoff/Desktop/whisper.cpp/models/ggml-tiny.en.bin",
"LLAMA_CPP_PATH": "../md-gguf/llama.cpp/",
"MOONDREAM_MMPROJ_PATH": "../moondream-quants/moondream2-mmproj-050824-f16.gguf",
"MOONDREAM_MODEL_PATH": "../moondream-quants/moondream2-050824-q8.gguf",
"VISION_MODEL": "none",
"LOCAL_MODEL": "noahpunintended/picard:latest",
"RAG_MODEL": "gemma2:2b-instruct-q4_0",
"STORE_CONVERSATIONS": True, # to save in case we you want to analyze later
"CONDENSE_MESSAGES": True, # for faster response time
# number of messages to keep in memory (odd #s work best)
"TRAILING_MESSAGE_COUNT": 3,
# Please keep answers to no more than a sentence."
"SYSTEM_PROMPT": "You are Pi-Card, the Raspberry Pi voice assistant."
}