-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
42 lines (30 loc) · 1.27 KB
/
.env.example
File metadata and controls
42 lines (30 loc) · 1.27 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
# Discord Configuration
DISCORD_TOKEN=your_discord_bot_token # DISCORD_TOKEN=MTAxxxxxxxxxxxxxxxxxxxxx.xxxxxx.xxxxxxxxxxxxxxxxxxxxxxxxxxx
DISCORD_GUILD_ID=your_guild_id # DISCORD_GUILD_ID=1xxxxxxxxxxxxxxxxxx
# Your Discord User ID (for /sync command)
OWNER_ID=your_discord_user_id_here # Right-click your name in Discord → Copy ID
# Ollama Configuration
OLLAMA_BASE_URL=http://localhost:11434
LLM_MODEL=mistral
# File Paths
VECTOR_DB_PATH=./vector_db
KNOWLEDGE_BASE_PATH=./knowledge_base
# Model Configuration
EMBEDDING_MODEL=all-MiniLM-L6-v2
# Optional: Logging configuration
LOG_LEVEL=INFO
# Optional: Response limits
MAX_RESPONSE_LENGTH=2000
SIMILARITY_THRESHOLD=0.6
MAX_RETRIEVED_DOCS=3
# FAQ
## Finding Your Bot Token
# Go to the "Bot" tab in your Discord application
# Look for the "Token" section (should be near the top)
# Click "Reset Token" if you don't see the token displayed
# Copy the token - it will look something like: MTAxxxxxxxxxxxxxxxxxxxxx.xxxxxx.xxxxxxxxxxxxxxxxxxxxxxxxxxx
# ⚠️ Important: Never share this token publicly - it's like a password for your bot!
## Getting Your Guild ID (Server ID)
# Enable Developer Mode in Discord (User Settings → Advanced → Developer Mode)
# Right-click your server name → "Copy ID"
# Paste this ID as DISCORD_GUILD_ID