mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-09-17 16:56:38 +08:00
chore: update config sample file
This commit is contained in:
parent
136d159833
commit
8d84562f32
@ -1,5 +1,5 @@
|
|||||||
SHELL=/usr/bin/env bash
|
SHELL=/usr/bin/env bash
|
||||||
NAME := wechatGPT
|
NAME := chatgpt-v3
|
||||||
all: window linux darwin
|
all: window linux darwin
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
Title = "Chat-Plus AI 助手"
|
|
||||||
ConsoleTitle = "Chat-Plus 控制台"
|
|
||||||
Listen = "0.0.0.0:5678"
|
Listen = "0.0.0.0:5678"
|
||||||
ProxyURL = ["YOUR_PROXY_URL"]
|
ProxyURL = ["YOUR_PROXY_URL"]
|
||||||
AccessKey = "YOUR_ACCESS_KEY"
|
MysqlDns = "mysql_user:mysql_pass@tcp(localhost:3306)/chatgpt_plus?charset=utf8&parseTime=True&loc=Local"
|
||||||
|
|
||||||
[Session]
|
[Session]
|
||||||
SecretKey = "azyehq3ivunjhbntz78isj00i4hz2mt9xtddysfucxakadq4qbfrt0b7q3lnvg80"
|
SecretKey = "azyehq3ivunjhbntz78isj00i4hz2mt9xtddysfucxakadq4qbfrt0b7q3lnvg80"
|
||||||
@ -14,22 +12,6 @@ AccessKey = "YOUR_ACCESS_KEY"
|
|||||||
HttpOnly = false
|
HttpOnly = false
|
||||||
SameSite = 2
|
SameSite = 2
|
||||||
|
|
||||||
[ImgURL]
|
|
||||||
WechatCard = "https://img.r9it.com/chatgpt/WX20230505-162403.png"
|
|
||||||
WechatGroup = " https://img.r9it.com/chatgpt/WX20230505-162538.png"
|
|
||||||
|
|
||||||
[Manager]
|
[Manager]
|
||||||
Username = "admin"
|
Username = "admin"
|
||||||
Password = "admin123"
|
Password = "admin123"
|
||||||
|
|
||||||
[Chat]
|
|
||||||
ApiURL = "https://api.openai.com/v1/chat/completions"
|
|
||||||
Model = "gpt-3.5-turbo"
|
|
||||||
Temperature = 1.0
|
|
||||||
MaxTokens = 1024
|
|
||||||
EnableContext = true
|
|
||||||
ChatContextExpireTime = 3600
|
|
||||||
|
|
||||||
[[Chat.ApiKeys]]
|
|
||||||
Value = "YOUR_OPENAI_API_KEY"
|
|
||||||
LastUsed = 0
|
|
Loading…
Reference in New Issue
Block a user