MSAgent-Chat/server/config.example.toml

147 lines
4.8 KiB
TOML
Raw Normal View History

2024-07-02 23:42:03 -04:00
[http]
host = "127.0.0.1"
port = 3000
2024-07-11 23:27:21 -04:00
proxied = true
2024-07-14 19:35:00 -04:00
# Allowed CORS origins.
# true = All origins allowed (not recommended in production)
# false = Cross-origin requests are not allowed
# String or array of strings = Only the specified origin(s) are allowed
origins = true
2024-07-02 23:42:03 -04:00
[mysql]
host = "127.0.0.1"
username = "agentchat"
password = "hunter2"
database = "agentchat"
2024-07-03 02:12:02 -04:00
[chat]
charlimit = 100
agentsDir = "agents/"
2024-07-11 23:27:21 -04:00
maxConnectionsPerIP = 2
adminPasswordHash = "f52fbd32b2b3b86ff88ef6c490628285f482af15ddcb29541f94bcf526a3f6c7"
2024-07-12 15:58:40 -04:00
bannedWords = []
2024-07-11 23:27:21 -04:00
[chat.ratelimits]
chat = {seconds = 10, limit = 8}
anim = {seconds = 10, limit = 8}
2024-07-03 02:12:02 -04:00
2024-07-12 14:33:17 -04:00
[motd]
version = 1
html = """
<h2>Welcome to Agent Chat!</h2>
<h3>Rules</h3>
<ol>
<li>Do not break US federal law or the law of the State of New Jersey</li>
<li>Be respectful of everyone regardless of background or opinions. We have absolutely no tolerance for hate speech. Do not harass other users.</li>
<li>Do not post anything NSFW (porn, hentai, lewd imagery, etc). The posting of Child Sexual Abuse Material will result in an immediate ban and report to the National Center for Missing and Exploited Children</li>
<li>Do not spam in the chat and do not use bots without permission.</li>
</ol>
"""
[discord]
enabled = false
webhookURL = ""
2024-07-02 23:42:03 -04:00
[tts]
enabled = true
# https://git.computernewb.com/computernewb/SAPIServer
server = "http://127.0.0.1:3001"
voice = "Microsoft Sam"
tempDir = "/tmp/msac-tts"
2024-07-14 16:05:33 -04:00
# Transcode SAPI5 Waveform files to Opus. Greatly reduces bandwidth usage. Requires ffmpeg to be installed and in PATH.
transcodeOpus = true
wavExpirySeconds = 60
2024-07-14 19:35:00 -04:00
[images]
maxSize = { width = 300, height = 300 }
expirySeconds = 60
[[agents]]
friendlyName = "Clippy"
filename = "CLIPPIT.ACS"
animations = { join = ["Greeting"], chat = ["Explain"], idle = [], leave = ["GoodBye"], rest = ["RestPose"] }
[[agents]]
friendlyName = "Courtney"
filename = "courtney.acs"
animations = { join = ["Show", "Greet"], chat = ["GetAttentionMinor"], idle = [], leave = ["Disappear"], rest = ["RestPose"] }
[[agents]]
friendlyName = "Dot"
filename = "DOT.ACS"
animations = { join = ["Greeting", "Show"], chat = ["Alert", "Show"], idle = [], leave = ["Goodbye"], rest = ["RestPose"] }
[[agents]]
friendlyName = "Earl"
filename = "earl.acs"
animations = { join = ["Show", "Greet"], chat = ["LookUp"], idle = [], leave = ["Disappear"], rest = ["RestPose"] }
[[agents]]
friendlyName = "F1"
filename = "F1.ACS"
animations = { join = ["Show"], chat = ["Explain"], idle = [], leave = ["Hide"], rest = ["RestPose"] }
[[agents]]
friendlyName = "Genie"
filename = "Genie.acs"
animations = { join = ["Show"], chat = ["Suggest", "RestPose"], idle = [], leave = ["Hide"], rest = ["RestPose"] }
[[agents]]
friendlyName = "James"
filename = "James.acs"
animations = { join = ["Show"], chat = ["Suggest", "RestPose"], idle = [], leave = ["Hide"], rest = ["RestPose"] }
[[agents]]
friendlyName = "Links"
filename = "Links.ACS"
animations = { join = ["Greeting"], chat = ["GetAttention"], idle = [], leave = ["GoodBye"], rest = ["RestPose"] }
[[agents]]
friendlyName = "Merlin"
filename = "merlin.acs"
animations = { join = ["Show"], chat = ["Explain", "RestPose"], idle = [], leave = ["Hide"], rest = ["RestPose"] }
[[agents]]
friendlyName = "Mother Nature"
filename = "Mother_NATURE.ACS"
animations = { join = ["Greeting"], chat = ["Explain"], idle = [], leave = ["Hide"], rest = ["RestPose"] }
[[agents]]
friendlyName = "Office Logo"
filename = "Office_Logo.ACS"
animations = { join = ["Greeting"], chat = ["Explain"], idle = [], leave = ["Goodbye"], rest = ["RestPose"] }
[[agents]]
friendlyName = "Peedy"
filename = "Peedy.acs"
animations = { join = ["Show", "Greet", "RestPose"], chat = ["Thinking", "RestPose"], idle = [], leave = ["Hide"], rest = ["RestPose"] }
[[agents]]
friendlyName = "Question"
filename = "question_mark.acs"
animations = { join = ["Welcome"], chat = ["Shimmer"], idle = [], leave = ["Fade"], rest = ["Restpose"] }
[[agents]]
friendlyName = "Robby"
filename = "Robby.acs"
animations = { join = ["Show", "Greet", "RestPose"], chat = ["Thinking", "RestPose"], idle = [], leave = ["Hide"], rest = ["RestPose"] }
[[agents]]
friendlyName = "Rocky"
filename = "ROCKY.ACS"
animations = { join = ["Show"], chat = ["Alert"], idle = [], leave = ["Hide"], rest = ["RestPose"] }
[[agents]]
friendlyName = "Rover"
filename = "rover.acs"
animations = { join = ["Show", "Greet", "RestPose"], chat = ["Thinking", "RestPose"], idle = [], leave = ["Hide"], rest = ["RestPose"] }
[[agents]]
friendlyName = "Victor"
filename = "Victor.acs"
animations = { join = ["Show", "Greet", "RestPose"], chat = ["Thinking", "RestPose"], idle = [], leave = ["Hide"], rest = ["RestPose"] }
[[agents]]
friendlyName = "Bonzi"
filename = "Bonzi.acs"
animations = { join = ["Show", "Wave", "RestPose"], chat = ["Giggle"], idle = [], leave = ["Hide"], rest = ["RestPose"] }