Imagine / config.yml
imseldrith's picture
Create config.yml
55f3ea1
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: 10
# 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: false
# 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