This repository has been archived on 2023-05-17. You can view files and clone it, but cannot push or open issues or pull requests.
web-gpt/instance/config.yaml
2023-04-19 00:16:19 +08:00

33 lines
883 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

app:
NAME: APP_NAME
SECRET_KEY: SOME_RANDOM_STRING
HOMEPAGE_NOTICE: |
1. 此网站基于openAI的API提供服务
2. 为了限制滥用,注册后需要管理员激活才能使用
3. 为了支持多轮对话,历史聊天会保存在服务端
4. 网站不做关键词过滤,但请不要违反相关法律
5. GPT生成的任何内容不保证准确性请自行甄别
SQLALCHEMY_DATABASE_URI: sqlite:///sqlite.db
# SQLALCHEMY_DATABASE_URI: mysql://username:password@server/db
# LOGGING_LEVEL: CRITICAL | FATAL | ERROR | WARN | WARNING | INFO | DEBUG | NOTSET
LOGGING_LEVEL: INFO
network:
PROXY: http://127.0.0.1:7890
openai:
API_KEY:
MODEL_NAME: gpt-3.5-turbo
PROMPT: 你是一个有用的人工智能助理,你尽力确保回答的准确性,避免给出误导信息。
mail:
host:
port:
username:
from:
password: