64 lines
1.0 KiB
Plaintext
64 lines
1.0 KiB
Plaintext
app:
|
|
mode: "devel"
|
|
addr: ":8080"
|
|
|
|
database:
|
|
host: "localhost"
|
|
port: 5432
|
|
user: "hime"
|
|
password: "SuperStrongPassw0rd"
|
|
name: "himewiki"
|
|
sslmode: "disable"
|
|
|
|
vacuum:
|
|
check-every: 250
|
|
threshold: 68719476736
|
|
image-threshold: 68719476736
|
|
|
|
site:
|
|
base: "https://wiki.example.org/"
|
|
name: "HimeWiki"
|
|
static: "./static"
|
|
card: "https://wiki.example.org/static/card.png"
|
|
|
|
wiki:
|
|
front: "FrontPage"
|
|
format: "nomark"
|
|
|
|
image:
|
|
domains:
|
|
- "wiki.example.org"
|
|
- "icon.example.org"
|
|
- "localhost"
|
|
extensions:
|
|
- "png"
|
|
- "jpeg"
|
|
|
|
filter:
|
|
agent: "openai"
|
|
key: "(Your OpenAI API Key Here)"
|
|
temperature: 0.8
|
|
top_p: 0.9
|
|
|
|
image-filter:
|
|
agent: "openai"
|
|
key: "(Your OpenAI API Key Here)"
|
|
max-length: 4194304
|
|
max-size: 512
|
|
|
|
gnome:
|
|
agent: "openai"
|
|
key: "(Your OpenAI API Key Here)"
|
|
temperature: 0.8
|
|
top_p: 0.9
|
|
ratio: 10
|
|
recent: 10
|
|
|
|
prompts-path: "./prompts.yaml"
|
|
|
|
links:
|
|
- key: "Code"
|
|
url: "https://link.example.org/code/"
|
|
- key: "GitHub"
|
|
url: "https://link.example.org/github/"
|