mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 13:27:08 +00:00
添加后台缺少的部分配置项
This commit is contained in:
parent
c2f4b26904
commit
5acf874e0b
1 changed files with 101 additions and 0 deletions
|
|
@ -18,6 +18,11 @@
|
|||
"label": "调试信息",
|
||||
"data": "debug"
|
||||
},
|
||||
{
|
||||
"type": "check",
|
||||
"label": "QQ开启markdown",
|
||||
"data": "enableMd"
|
||||
},
|
||||
{
|
||||
"type": "check",
|
||||
"label": "是否允许私聊机器人",
|
||||
|
|
@ -127,6 +132,17 @@
|
|||
"placeholder": "测试期间提供一个公益接口,一段时间后撤掉",
|
||||
"data": "extraUrl"
|
||||
},
|
||||
{
|
||||
"type": "select",
|
||||
"label": "翻译来源",
|
||||
"data": "translateSource",
|
||||
"items": [
|
||||
{ "label": "OpenAI", "value": "openai" },
|
||||
{ "label": "Gemini", "value": "gemini" },
|
||||
{ "label": "星火", "value": "xh" },
|
||||
{ "label": "通义千问", "value": "qwen" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "text",
|
||||
"label": "Trss主账号",
|
||||
|
|
@ -568,6 +584,18 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": "智谱清言",
|
||||
"tab": "chatGLM",
|
||||
"view": [
|
||||
{
|
||||
"type": "password",
|
||||
"label": "refresh token",
|
||||
"placeholder": "chatglm_refresh_token 6个月有效期",
|
||||
"data": "chatglmRefreshToken"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": "Slack Claude",
|
||||
"tab": "claude",
|
||||
|
|
@ -760,6 +788,61 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": "通义千问",
|
||||
"tab": "qwen",
|
||||
"view": [
|
||||
{
|
||||
"type": "password",
|
||||
"label": "API Key",
|
||||
"data": "qwenApiKey"
|
||||
},
|
||||
{
|
||||
"type": "select",
|
||||
"label": "模型",
|
||||
"data": "qwenModel",
|
||||
"items": [
|
||||
{
|
||||
"label": "turbo",
|
||||
"value": "qwen-turbo"
|
||||
},
|
||||
{
|
||||
"label": "plus",
|
||||
"value": "qwen-plus"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "number",
|
||||
"label": "topP",
|
||||
"placeholder": "生成时,核采样方法的概率阈值。例如,取值为0.8时,仅保留累计概率之和大于等于0.8的概率分布中的token,作为随机采样的候选集。取值范围为(0,1.0),取值越大,生成的随机性越高;取值越低,生成的随机性越低。默认值 0.5。注意,取值不要大于等于1",
|
||||
"data": "qwenTopP"
|
||||
},
|
||||
{
|
||||
"type": "number",
|
||||
"label": "topK",
|
||||
"placeholder": "生成时,采样候选集的大小。例如,取值为50时,仅将单次生成中得分最高的50个token组成随机采样的候选集。取值越大,生成的随机性越高;取值越小,生成的确定性越高。注意:如果top_k的值大于100,top_k将采用默认值0,表示不启用top_k策略,此时仅有top_p策略生效。",
|
||||
"data": "qwenTopK"
|
||||
},
|
||||
{
|
||||
"type": "number",
|
||||
"label": "Seed",
|
||||
"placeholder": "生成时,随机数的种子,用于控制模型生成的随机性。如果使用相同的种子,每次运行生成的结果都将相同;当需要复现模型的生成结果时,可以使用相同的种子。seed参数支持无符号64位整数类型。默认值 0, 表示每次随机生成",
|
||||
"data": "qwenSeed"
|
||||
},
|
||||
{
|
||||
"type": "number",
|
||||
"label": "温度",
|
||||
"placeholder": "用于控制随机性和多样性的程度。具体来说,temperature值控制了生成文本时对每个候选词的概率分布进行平滑的程度。较高的temperature值会降低概率分布的峰值,使得更多的低概率词被选择,生成结果更加多样化;而较低的temperature值则会增强概率分布的峰值,使得高概率词更容易被选择,生成结果更加确定。\n\n 取值范围: (0, 2),系统默认值1.0",
|
||||
"data": "qwenTemperature"
|
||||
},
|
||||
{
|
||||
"type": "check",
|
||||
"label": "允许搜索",
|
||||
"data": "qwenEnableSearch"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": "Azure",
|
||||
"tab": "azure",
|
||||
|
|
@ -893,6 +976,24 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "SunoSettings",
|
||||
"title": "Suno音乐合成设置",
|
||||
"view": [
|
||||
{
|
||||
"type": "textarea",
|
||||
"label": "sess token",
|
||||
"placeholder": "suno的__sess token,需要与sunoClientToken一一对应数量相同,多个用逗号隔开",
|
||||
"data": "sunoSessToken"
|
||||
},
|
||||
{
|
||||
"type": "textarea",
|
||||
"label": "client token",
|
||||
"placeholder": "suno的__client token,需要与sunoSessToken一一对应数量相同,多个用逗号隔开",
|
||||
"data": "sunoClientToken"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "GroupSettings",
|
||||
"title": "群聊设置",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue