-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.example
37 lines (29 loc) · 1.41 KB
/
.env.example
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
#remove all #tags after variables after populated or it will error out.
# Discord Configuration
DISCORD_TOKEN=your_discord_token
ALLOWED_SERVER_ID=your_server_id
ALLOWED_CHANNEL_ID=your_channel_id
# LLM Configuration
LLM_PROVIDER=lmstudio # Options: lmstudio, openai, gemini
LLM_BASE_URL=http://localhost:1234/v1 # Base URL for your LLM provider
LLM_MODEL=deepseek-r1-distill-qwen-14b # Model name for your chosen provider
# OpenAI Configuration (optional if not using OpenAI)
OPENAI_API_BASE=https://api.openai.com/v1 # Base URL for OpenAI API
OPENAI_API_KEY=your_openai_api_key
OPENAI_MODEL=gpt-3.5-turbo
# Google Gemini Configuration (optional if not using Gemini)
GEMINI_API_KEY=your_gemini_api_key
GEMINI_MODEL=gemini-pro # Default Gemini model
# Database Configuration
CHROMA_DB_PATH=./data/chromadb # Path to ChromaDB storage
CHROMA_PERSIST_DIR=./data/chromadb # Should match CHROMA_DB_PATH
# Embeddings Configuration
EMBEDDINGS_MODEL=sentence-transformers/all-mpnet-base-v2
# Memory Settings
MAX_MEMORIES_PER_QUERY=15 # Maximum number of memories to retrieve per query
CONTEXT_WINDOW_SIZE=10 # Number of messages to include in conversation context
MEMORY_SIMILARITY_THRESHOLD=0.15 # Threshold for memory similarity matching
TOP_MEMORIES_TO_CONSIDER=8 # Number of top memories to consider
# API Configuration
API_TIMEOUT=30 # Timeout in seconds for API calls
MAX_RETRIES=3 # Maximum number of API retry attempts