diff options
author | terminaldweller <devi@terminaldweller.com> | 2024-06-11 14:13:13 +0000 |
---|---|---|
committer | terminaldweller <devi@terminaldweller.com> | 2024-06-11 14:13:13 +0000 |
commit | 556c839dc1b5881c1594dbdfede0bd610790967d (patch) | |
tree | f27987d2387fa86d3644df778c96491bd2bf7d1c /config-example.toml | |
parent | added a new lua function, query_db (diff) | |
download | milla-556c839dc1b5881c1594dbdfede0bd610790967d.tar.gz milla-556c839dc1b5881c1594dbdfede0bd610790967d.zip |
added a shell.nix for pgformatter, and a wip trigger for db size maintenance
Diffstat (limited to 'config-example.toml')
-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." |