SC-Discord-Bot/discord_connector/example.config.yml

22 lines
932 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# ─────────── Discord Settings ───────────
discord_token: "YOUR_DISCORD_BOT_TOKEN_HERE"
whitelist_channels:
- 123456789123456789 # <-- channel id
- 987654321987654321 # <-- another channel id
allow_dms: false # set to true if you want the bot to answer private DMs (Currently not working)
# ─────────── OpenWebUI Settings ───────────
open_webui_url: "http://your_open-webui_ip_or_domain:port"
open-webui_api_key: "user_api_key_from_open_webui"
model_name: "model_id_from_open-webui"
knowledge_base: "knowledge_base_id_from_open-webui"
# tools map label → toolid that your OpenWebUI instance recognises
tools:
- Tool_ID_1
- Tool_ID_2
# optional system prompt (you can leave it empty to use the default one or the systemprompt given in open-webui for the specific model)
system_prompt: ""