mirror of
https://github.com/YGGverse/rssto.git
synced 2026-04-01 09:35:28 +00:00
use config file instead of argument options
This commit is contained in:
parent
ec0cca64f3
commit
3e94399ccb
15 changed files with 162 additions and 123 deletions
22
crates/llm/config.toml
Normal file
22
crates/llm/config.toml
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
# Rescan database for new subjects, in seconds
|
||||
# * process once if not defined
|
||||
# update = 900
|
||||
|
||||
# Database connection setup
|
||||
# * see crates/mysql/database
|
||||
[mysql]
|
||||
host = "localhost"
|
||||
port = 3306
|
||||
username = ""
|
||||
password = ""
|
||||
database = "rssto"
|
||||
|
||||
# LLM connection setup
|
||||
[llm]
|
||||
scheme = "http"
|
||||
host = "127.0.0.1"
|
||||
port = 8080
|
||||
# Model name
|
||||
model = "ggml-org/gemma-3-1b-it-GGUF"
|
||||
# Initial message for the `content` subject (e.g. `translate to...`)
|
||||
message = "translate to english:"
|
||||
Loading…
Add table
Add a link
Reference in a new issue