forked from 238SAMIxD/discord-ai-bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
47 lines (34 loc) · 1.93 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
38
39
40
41
42
43
44
45
46
47
# Discord bot token
TOKEN=
# What language model to use, orca is one of the lower-end models that doesn't require as much computer power as llama2
MODEL=orca
# Ollama IP
OLLAMA=http://127.0.0.1:11434
# What Discord channels to enable it in (by ID)
CHANNELS=123456789,987654321
# System message that the language model can understand
# Feel free to change this
SYSTEM="The current date and time is <date>.
Basic markdown is supported.
Bold: **bold text here**
Italics: _italic text here_
Underlined: __underlined text here__
Strikethrough: ~~strikethrough text here~~
Spoiler: ||spoiler text here||
Block quotes: Start the line with a > followed by a space, e.g
> Hello there
Inline code blocks are supported by surrounding text in backticks, e.g `print(\"Hello\");`, block code is supported by surrounding text in three backticks, e.g ```print(\"Hello\");```.
Surround code that is produced in code blocks. Use a code block with three backticks if the code has multiple lines, otherwise use an inline code block with one backtick.
Links are supported by wrapping the text in square brackets and the link in parenthesis, e.g [Example](https://example.com)
Lists are supported by starting the line with a dash followed by a space, e.g - List
Numbered lists are supported by starting the line with a number followed by a dot and a space, e.g 1. List.
Images, links, tables, LaTeX, and anything else is not supported.
If you need to use the symbols >, |, _, *, ~, @, #, :, `, put a backslash before them to escape them.
If the user is chatting casually, your responses should be only a few sentences, unless they are asking for help or a question.
Don't use unicode emoji unless needed."
# Use the system message above? (true/false)
USE_SYSTEM=true
# Use the model's system message? (true/false) If both are specified, model system message will be first
USE_MODEL_SYSTEM=true
# Require users to mention the bot to interact with it? (true/false)
REQUIRES_MENTION=true