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 /README.md | |
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 '')
-rw-r--r-- | README.md | 21 |
1 files changed, 13 insertions, 8 deletions
@@ -295,7 +295,8 @@ ircProxy = "socks5://127.0.0.1:9050" llmProxy = "http://127.0.0.1:8180" skipTLSVerify = false useTLS = true -plugins = ["./plugins/rss.lua"] +plugins = ["/plugins/plugin1.lua", "/plugins/plugin2.lua"] +adminOnly = false [ircd.liberanet] ircServer = "irc.libera.chat" @@ -323,14 +324,17 @@ debug = true out = true ircProxy = "socks5://127.0.0.1:9051" llmProxy = "http://127.0.0.1:8181" -[ircd.liberanet.customCommands.digest] -sql = "select log from liberanet_milla_us_market_news;" -limit = 10 -prompt = "give me digest of the provided news" -[ircd.liberanet.customCommands.summarize] -sql= "select log from liberanet_milla_us_market_news;" +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 -prompt= "given all the data, summarize the news for me" +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." ``` ## Commands @@ -693,6 +697,7 @@ The following libraries are loaded by milla by default: - [gluahttp](https://github.com/cjoudrey/gluahttp) - [gluayaml](https://github.com/kohkimakimoto/gluayaml) - [gluasocket](https://gitlab.com/megalithic-llc/gluasocket) +- [gluare](https://github.com/yuin/gluare) ## FAQ |