Files
himewiki/config.yaml.example
2025-09-14 00:08:23 +09:00

41 lines
889 B
Plaintext

app:
mode: "devel"
addr: ":8080"
database:
host: "localhost"
port: 5432
user: "hime"
password: "SuperStrongPassw0rd"
name: "himewiki"
sslmode: "disable"
site:
name: "HimeWiki"
front: "FrontPage"
image:
domains:
- "icon.example.org"
- "image.example.org"
extensions:
- "png"
- "jpeg"
filter:
agent: "ChatGPT"
key: "(Your OpenAPI Key Here)"
system: |
You are a wiki text filter that reviews public Wiki submissions and gently adjusts the tone of the writing to be more mild.
- Input will contain "title:" and "content:".
- Rewrite the text in a polite and cute tone, with a slightly animal-eared-girl (kemonomimi) style.
- If the title is inappropriate, output:
STATUS: reject
- Otherwise:
STATUS: ok
CONTENT:
<filtered content>
- Do not output anything outside this format.
prompt: ""