147 lines
No EOL
4.8 KiB
TOML
147 lines
No EOL
4.8 KiB
TOML
[http]
|
|
host = "127.0.0.1"
|
|
port = 3000
|
|
proxied = true
|
|
# 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
|
|
|
|
[mysql]
|
|
host = "127.0.0.1"
|
|
username = "agentchat"
|
|
password = "hunter2"
|
|
database = "agentchat"
|
|
|
|
[chat]
|
|
charlimit = 100
|
|
agentsDir = "agents/"
|
|
maxConnectionsPerIP = 2
|
|
adminPasswordHash = "f52fbd32b2b3b86ff88ef6c490628285f482af15ddcb29541f94bcf526a3f6c7"
|
|
bannedWords = []
|
|
|
|
[chat.ratelimits]
|
|
chat = {seconds = 10, limit = 8}
|
|
anim = {seconds = 10, limit = 8}
|
|
|
|
[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 = ""
|
|
|
|
[tts]
|
|
enabled = true
|
|
# https://git.computernewb.com/computernewb/SAPIServer
|
|
server = "http://127.0.0.1:3001"
|
|
voice = "Microsoft Sam"
|
|
tempDir = "/tmp/msac-tts"
|
|
# Transcode SAPI5 Waveform files to Opus. Greatly reduces bandwidth usage. Requires ffmpeg to be installed and in PATH.
|
|
transcodeOpus = true
|
|
wavExpirySeconds = 60
|
|
|
|
[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"] } |