forked from mishl-dev/Discord-AI-Chatbot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml
52 lines (40 loc) · 1.71 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
INTERNET_ACCESS: true # Set to true to enable internet access
MAX_SEARCH_RESULTS: 4 # Set the maximum search results for internet access DONT SET TOO HIGH
ALLOW_DM: true # Set to true to allow direct messages
SMART_MENTION: true # Set to true to enable smart mention feature
GPT_MODEL: gpt-3.5-turbo-16k # Model used for chat completion
MAX_HISTORY: 8 # Set the maximum message history
PRESENCES_CHANGE_DELAY: 8 # 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: false # Enable NSFW AI detector to detect NSFW prompt on Imagine Command
LANGUAGE: vn # 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'
Discord: https://discord.gg/6MT3CZauT8
Github: https://github.com/mishalhossin/Discord-AI-Chatbot
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:
- Genshin Impact
- Honkai Impact
- Fortnite
# 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:
- cặc
- loli
- hentai
- óc
- lồn
- ngu
- XXX
- sex
- gay
# Blacklisted words for /Imagine command this is disabled if you enable AI_NSFW_CONTENT_FILTER