Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
赵月辉
/
fastgpt-migrated
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
86286efb
authored
Dec 26, 2023
by
Archer
Committed by
GitHub
Dec 26, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: init (#653)
parent
99e8ba22
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
9 deletions
+12
-9
docSite/content/docs/development/configuration.md
+1
-0
docSite/content/docs/development/upgrading/465.md
+3
-1
projects/app/src/pages/api/system/getInitData.ts
+8
-8
No files found.
docSite/content/docs/development/configuration.md
View file @
86286efb
...
...
@@ -134,6 +134,7 @@ weight: 708
"maxToken"
:
3000
}
],
"ReRankModels"
:
[],
//
重排模型
,
暂时填空数组
"AudioSpeechModels"
:
[
{
"model"
:
"tts-1"
,
...
...
docSite/content/docs/development/upgrading/465.md
View file @
86286efb
...
...
@@ -13,10 +13,12 @@ weight: 831
[
点击查看最新的配置文件
](
/docs/development/configuration/
)
主要是修改模型的
`functionCall`
字段,改成
`toolChoice`
即可。设置为
`true`
的模型,会默认走 openai 的 tools 模式;未设置或设置为
`false`
的,会走提示词生成模式。
1.
主要是修改模型的
`functionCall`
字段,改成
`toolChoice`
即可。设置为
`true`
的模型,会默认走 openai 的 tools 模式;未设置或设置为
`false`
的,会走提示词生成模式。
问题补全模型与内容提取模型使用同一组配置。
2.
增加
`"ReRankModels": []`
## V4.6.5 功能介绍
1.
新增 -
[
问题补全模块
](
/docs/workflow/modules/coreferenceresolution/
)
...
...
projects/app/src/pages/api/system/getInitData.ts
View file @
86286efb
...
...
@@ -85,14 +85,14 @@ export async function getInitConfig() {
};
global
.
systemEnv
=
config
.
SystemParams
;
global
.
chatModels
=
config
.
ChatModels
;
global
.
qaModels
=
config
.
QAModels
;
global
.
cqModels
=
config
.
CQModels
;
global
.
extractModels
=
config
.
ExtractModels
;
global
.
qgModels
=
config
.
QGModels
;
global
.
vectorModels
=
config
.
VectorModels
;
global
.
reRankModels
=
config
.
ReRankModels
;
global
.
audioSpeechModels
=
config
.
AudioSpeechModels
;
global
.
chatModels
=
config
.
ChatModels
||
[]
;
global
.
qaModels
=
config
.
QAModels
||
[]
;
global
.
cqModels
=
config
.
CQModels
||
[]
;
global
.
extractModels
=
config
.
ExtractModels
||
[]
;
global
.
qgModels
=
config
.
QGModels
||
[]
;
global
.
vectorModels
=
config
.
VectorModels
||
[]
;
global
.
reRankModels
=
config
.
ReRankModels
||
[]
;
global
.
audioSpeechModels
=
config
.
AudioSpeechModels
||
[]
;
global
.
whisperModel
=
config
.
WhisperModel
;
global
.
priceMd
=
''
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment