diff options
Diffstat (limited to '')
-rw-r--r-- | config-example.toml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/config-example.toml b/config-example.toml index 60f32a4..2b12ecb 100644 --- a/config-example.toml +++ b/config-example.toml @@ -27,6 +27,8 @@ ircProxy = "socks5://127.0.0.1:9050" llmProxy = "http://127.0.0.1:8180" skipTLSVerify = false useTLS = true +plugins = ["/plugins/plugin1.lua", "/plugins/plugin2.lua"] +adminOnly = false [ircd.liberanet] ircServer = "irc.libera.chat" @@ -54,3 +56,14 @@ debug = true out = true ircProxy = "socks5://127.0.0.1:9051" llmProxy = "http://127.0.0.1:8181" +adminOnly = true +[ircd.devinet_terra.customCommands.digest] +sql = "select log from liberanet_milla_us_market_news order by log desc;" +limit = 300 +context = ["you are a sentiment-analysis bot"] +prompt= "i have provided to you news headlines in the form of previous conversations between you and me using the user role. please provide the digest of the news for me." +[ircd.devinet_terra.customCommands.summarize] +sql= "select log from liberanet_milla_us_market_news order by log desc;" +limit= 300 +context = ["you are a sentiment-analysis bot"] +prompt= "i have provided to you news headlines in the form of previous conversations between you and me using the user role. please summarize the provided news for me. provide some details." |