This commit is contained in:
Archer
2023-12-27 11:07:39 +08:00
committed by GitHub
parent 86286efb54
commit 759a2330e6
182 changed files with 3099 additions and 81685 deletions

View File

@@ -18,15 +18,17 @@ weight: 708
**使用时,请务必去除注释!**
以下配置适用于V4.6.6-alpha版本以后
```json
{
"SystemParams": {
"systemEnv": {
"pluginBaseUrl": "", // 商业版接口地址
"vectorMaxProcess": 15, // 向量生成最大进程,结合数据库性能和 key 来设置
"qaMaxProcess": 15, // QA 生成最大进程,结合数据库性能和 key 来设置
"pgHNSWEfSearch": 100 // pg vector 索引参数,越大精度高但速度慢
},
"ChatModels": [ // 对话模型
"chatModels": [ // 对话模型
{
"model": "gpt-3.5-turbo-1106",
"name": "GPT35-1106",
@@ -76,7 +78,7 @@ weight: 708
"defaultSystemChatPrompt": ""
}
],
"QAModels": [ // QA 生成模型
"qaModels": [ // QA 生成模型
{
"model": "gpt-3.5-turbo-16k",
"name": "GPT35-16k",
@@ -85,7 +87,7 @@ weight: 708
"price": 0
}
],
"CQModels": [ // 问题分类模型
"cqModels": [ // 问题分类模型
{
"model": "gpt-3.5-turbo-1106",
"name": "GPT35-1106",
@@ -105,7 +107,7 @@ weight: 708
"functionPrompt": ""
}
],
"ExtractModels": [ // 内容提取模型
"extractModels": [ // 内容提取模型
{
"model": "gpt-3.5-turbo-1106",
"name": "GPT35-1106",
@@ -116,7 +118,7 @@ weight: 708
"functionPrompt": ""
}
],
"QGModels": [ // 生成下一步指引
"qgModels": [ // 生成下一步指引
{
"model": "gpt-3.5-turbo-1106",
"name": "GPT35-1106",
@@ -125,7 +127,7 @@ weight: 708
"price": 0
}
],
"VectorModels": [ // 向量模型
"vectorModels": [ // 向量模型
{
"model": "text-embedding-ada-002",
"name": "Embedding-2",
@@ -134,8 +136,8 @@ weight: 708
"maxToken": 3000
}
],
"ReRankModels": [], // 重排模型,暂时填空数组
"AudioSpeechModels": [
"reRankModels": [], // 重排模型,暂时填空数组
"audioSpeechModels": [
{
"model": "tts-1",
"name": "OpenAI TTS1",
@@ -152,7 +154,7 @@ weight: 708
]
}
],
"WhisperModel": {
"whisperModel": {
"model": "whisper-1",
"name": "Whisper1",
"price": 0

View File

@@ -9,7 +9,7 @@ weight: 831
## 配置文件变更
由于 openai 已开始用 function call改为 toolChoice。FastGPT 同步的修改了对于的配置和调用方式,需要对配置文件做一些修改:
由于 openai 已开始用 function call改为 toolChoice。FastGPT 同步的修改了对于的配置和调用方式,需要对配置文件做一些修改:
[点击查看最新的配置文件](/docs/development/configuration/)

View File

@@ -0,0 +1,22 @@
---
title: 'V4.6.6(需要改配置文件)'
description: 'FastGPT V4.6.6'
icon: 'upgrade'
draft: false
toc: true
weight: 831
---
**版本仍在开发中……**
## 配置文件变更
为了减少代码重复度,我们对配置文件做了一些修改:[点击查看最新的配置文件](/docs/development/configuration/)
## V4.6.6 即将更新
1. UI 优化未来将逐步替换新的UI设计。