Files
SupportBot/Configs/supportbot-ai.yml
T

39 lines
1.4 KiB
YAML
Raw Normal View History

2024-06-12 12:54:31 +01:00
# -------------------------
# SupportBot AI
#
# In order to use the SupportBot AI, You need to setup an OpenAI Account.
# this can be done at https://platform.openai.com/
# -------------------------
Enabled: true
General:
Name: "SupportBot AI"
# What would you like to call your AI
2024-10-10 19:14:45 +01:00
Model: "gpt-4o-mini"
2024-06-12 12:54:31 +01:00
# You can see a list of OpenAI Models here: https://platform.openai.com/docs/models
Tokens: 400
# Max tokens you can set is 400
# For more information about tokens, go to https://openai.com/api/pricing/
2024-10-10 19:14:45 +01:00
OpenAI_Key: "OPEN_AI_API_KEY"
2024-06-12 12:54:31 +01:00
# To create an OpenAI API key, go to https://platform.openai.com/api-keys
2024-10-10 19:14:45 +01:00
PastebinAPI_Key: "PASTEBIN_API_KEY"
2024-06-12 12:54:31 +01:00
# You can get your Pastebin API Key from https://pastebin.com
PastebinAPI_URL: "https://pastebin.com/api/api_post.php"
Channels:
2024-10-10 19:14:45 +01:00
AIChannel: "AI_BOT_CHANNEL"
2024-06-12 12:54:31 +01:00
# This is the channel where AI will respond in without needing to mention the bot.
Embed:
Color: 0x0cc559 # 0x<hexcode>
Footer: "SupportBot | Developed by Emerald Development"
Messages:
MessageTooLong: "The response was too long, so I've posted it here: {pastebin}"
ErrorResponse: "I didn't receive a proper response from OpenAI. Please try again later."
OpenAIError: "I'm having some trouble talking to SupportBot AI's Model, OpenAI. Please try again later."
AIDisabled: "I am disabled, You have enable me in `supportbot-ai.yml`"