-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.py
More file actions
27 lines (23 loc) · 713 Bytes
/
config.py
File metadata and controls
27 lines (23 loc) · 713 Bytes
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
import os
from dotenv import load_dotenv
# Load environment variables first
load_dotenv()
# Application configuration
CONFIG = {
"max_history": 15,
"wake_word": "hey recall",
"summary_command": "summarize",
"key_points_length": 3,
"save_folder": "summaries"
}
# LLM Configuration
# chains.py
LLM_CONFIG = {
'model_name': 'memoryMate',
'temperature': 0.7,
'model': 'gemini-1.5-flash' # Add this line with the appropriate model name
}
# Path configuration. Returns the save folder path specified in the CONFIG dictionary. If the folder doesn't exist, it will be created.
def get_save_path():
os.makedirs(CONFIG["save_folder"], exist_ok=True)
return CONFIG["save_folder"]