coai/config.example.yaml
2023-07-22 20:11:46 +08:00

27 lines
345 B
YAML

debug: true
server:
port: 8094
redis:
host: localhost
port: 6379
openai:
anonymous: sk-xxxxxx
anonymous_endpoint: https://api.openai.com/v1
user: sk-xxxxxx
user_endpoint: https://api.openai.com/v1
mysql:
host: "localhost"
port: 3306
user: root
password: ...
db: "chatnio"
secret: ...
auth:
access: ...
salt: ...