forked from mishl-dev/Discord-AI-Chatbot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml
54 lines (44 loc) · 1.79 KB
/
config.yml
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
INTERNET_ACCESS: true # Set to true to enable internet access
MAX_SEARCH_RESULTS: 2 # Set the maximum search results for internet access
ALLOW_DM: true # Set to true to allow direct messages
SMART_MENTION: true # Set to true to enable smart mention feature
MAX_HISTORY: 20 # Set the maximum message history
PRESENCES_CHANGE_DELAY: 10 # Please note that the Presences Change Delay is measured in seconds. It is advisable not to set it too low, as doing so may result in your bot being rate-limited by Discord
AI_NSFW_CONTENT_FILTER: true # Enable NSFW AI detector to detect NSFW prompt on Imagine Command
LANGUAGE: en # Specify the language code (check 'lang' folder for valid codes)
INSTRUCTIONS: assist # Specify the instruction prompt to use (check 'instruction' folder for valid prompts)
# To add custom prompts, create a .txt file like 'custom.txt' and set INSTRUCTIONS as 'custom'
TRIGGER:
- chatbot
- bot nickname
- bot alias
- bot name
- Other bot alias...
# Define the triggers that the bot should always respond to when in message
PRESENCES:
- Coded by Mishal#1916
- How can I assist you?
- Currently in {guild_count} guilds
- Minecraft
- Multiplayer madness
- Exploring the vast virtual universe
- Assisting users like you
- Crafting virtual wonders
- Optimizing processes for efficiency
- Unraveling the mysteries of AI
# List of different presences to be used
OCR_MODEL_URLS:
- "https://api-inference.huggingface.co/models/microsoft/trocr-base-printed"
- "https://api-inference.huggingface.co/models/nlpconnect/vit-gpt2-image-captioning"
# List of URLs for OCR models
BLACKLIST_WORDS:
- naked
- loli
- hentai
- explicit
- pornography
- adult
- XXX
- sex
- erotic
# Blacklisted words for /Imagine command this is disabled if you enable AI_NSFW_CONTENT_FILTER