Files
aigrammar/config.toml
2025-03-14 03:46:41 +00:00

30 lines
555 B
TOML

[base]
jwt_secret = "mCTf-JhNRnhaaGJy_x"
bind_addr = ":80"
[log]
echo_log_file = "logs/echo.log"
log_file = "logs/app.log"
max_size = 500
max_backups = 3
max_age = 28
compress = true
level = "debug"
[azure_openai]
endpoint = "https://grammar.openai.azure.com/"
keys = "8b68c235b737488ab9a99983a14f8cca,0274ccde58aa47b189f0d13349885ad3"
gpt4_model = "gpt4"
gpt35_model = "gpt35"
[database]
#mysql_conn = "172.18.0.3:3306"
mysql_conn = "testdb:3306"
mysql_user = "root"
mysql_pass = "mysqlpw"
#redis_conn = "172.18.0.4:6379"
redis_conn = "redis:6379"