Spaces:
Running
Running
imseldrith
commited on
Commit
·
55f3ea1
1
Parent(s):
4f8d63d
Create config.yml
Browse files- config.yml +68 -0
config.yml
ADDED
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
INTERNET_ACCESS: true
|
2 |
+
# Set to true to enable internet access
|
3 |
+
|
4 |
+
MAX_SEARCH_RESULTS: 2
|
5 |
+
# Set the maximum search results for internet access
|
6 |
+
|
7 |
+
ALLOW_DM: true
|
8 |
+
# Set to true to allow direct messages
|
9 |
+
|
10 |
+
SMART_MENTION: true
|
11 |
+
# Set to true to enable smart mention feature
|
12 |
+
|
13 |
+
MAX_HISTORY: 10
|
14 |
+
# Set the maximum message history
|
15 |
+
|
16 |
+
PRESENCES_CHANGE_DELAY: 10
|
17 |
+
# 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
|
18 |
+
|
19 |
+
AI_NSFW_CONTENT_FILTER: false
|
20 |
+
# Enable NSFW AI detector to detect NSFW prompt on Imagine Command
|
21 |
+
|
22 |
+
LANGUAGE: en
|
23 |
+
# Specify the language code (check 'lang' folder for valid codes)
|
24 |
+
|
25 |
+
INSTRUCTIONS: assist
|
26 |
+
# Specify the instruction prompt to use (check 'instruction' folder for valid prompts)
|
27 |
+
# To add custom prompts, create a .txt file like 'custom.txt' and set INSTRUCTIONS as 'custom'
|
28 |
+
|
29 |
+
|
30 |
+
TRIGGER:
|
31 |
+
- chatbot
|
32 |
+
- bot nickname
|
33 |
+
- bot alias
|
34 |
+
- bot name
|
35 |
+
- Other bot alias...
|
36 |
+
# Define the triggers that the bot should always respond to when in message
|
37 |
+
|
38 |
+
|
39 |
+
PRESENCES:
|
40 |
+
- Coded by Mishal#1916
|
41 |
+
- How can I assist you?
|
42 |
+
- Currently in {guild_count} guilds
|
43 |
+
- Minecraft
|
44 |
+
- Multiplayer madness
|
45 |
+
- Exploring the vast virtual universe
|
46 |
+
- Assisting users like you
|
47 |
+
- Crafting virtual wonders
|
48 |
+
- Optimizing processes for efficiency
|
49 |
+
- Unraveling the mysteries of AI
|
50 |
+
# List of different presences to be used
|
51 |
+
|
52 |
+
OCR_MODEL_URLS:
|
53 |
+
- "https://api-inference.huggingface.co/models/microsoft/trocr-base-printed"
|
54 |
+
- "https://api-inference.huggingface.co/models/nlpconnect/vit-gpt2-image-captioning"
|
55 |
+
# List of URLs for OCR models
|
56 |
+
|
57 |
+
BLACKLIST_WORDS:
|
58 |
+
- naked
|
59 |
+
- loli
|
60 |
+
- hentai
|
61 |
+
- explicit
|
62 |
+
- pornography
|
63 |
+
- adult
|
64 |
+
- XXX
|
65 |
+
- sex
|
66 |
+
- erotic
|
67 |
+
|
68 |
+
# Blacklisted words for /Imagine command this is disabled if you enable AI_NSFW_CONTENT_FILTER
|