-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.yaml
More file actions
63 lines (58 loc) · 2.34 KB
/
config.example.yaml
File metadata and controls
63 lines (58 loc) · 2.34 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# Discord Bot Configuration
# To get your Discord bot token:
# 1. Go to Discord Developer Portal (https://discord.com/developers/applications)
# 2. Click "New Application" and give it a name
# 3. Go to the "Bot" section in the left sidebar
# 4. Click "Add Bot" if you haven't created a bot yet
# 5. Under the bot's username, click "Reset Token" and copy the new token
# 6. Paste your token below (keep it secret!)
discord_token: discord_bot_token
# Embedding model to use for document vectorisation
# Options: "openai", "huggingface", "fake"
embedding_model: "openai"
# API key for the embedding model (only required when embedding_model is "openai")
embeddings_api_key: openai_api_key
# LLM to use for conversation and summarisation
# Format: "<provider>:<model>", e.g. "openai:gpt-4o", "anthropic:claude-sonnet-4-6"
llm_model: "openai:gpt-3.5-turbo"
# API key for the LLM provider
# For OpenAI: https://platform.openai.com/api-keys
# For Anthropic: https://console.anthropic.com/settings/keys
llm_api_key: llm_api_key
outies:
# To get your Discord admin user ID:
# 1. Go to Discord and go to User Settings (gear icon)
# 2. Go to App Settings > Advanced
# 3. Enable "Developer Mode"
# 4. Right-click on your username
# 5. Click "Copy ID"
- outie_id: outie_user_id
topics:
- name: "Name of the topic"
role: |
This is the full description of the role for the bot to play during the conversation.
This is the "system prompt" that will be used to set the context for the bot.
# Path to the directory containing the documents to be processed
docs_dir: "./data/documents"
channels:
# To get your Discord server (guild) ID:
# 1. Open Discord and go to User Settings (gear icon)
# 2. Go to App Settings > Advanced
# 3. Enable "Developer Mode"
# 4. Right-click on your server name
# 5. Click "Copy Server ID"
# 6. Paste the ID below
- guild_id: discord_server_id
# To get your Discord channel ID:
# 1. Open Discord and go to the channel you want to use
# 2. Right-click on the channel name
# 3. Click "Copy ID"
# 4. Paste the ID below
channel_id: discord_channel_id
- name: "Name of the topic"
role: |
System prompt for the bot to play during the conversation.
docs_dir: "./data/documents2"
channels:
- guild_id: discord_server_id
channel_id: discord_channel_id