Skip to content

Commit cd682d4

Browse files
authored
4.6.5- CoreferenceResolution Module (labring#631)
1 parent 41115a9 commit cd682d4

File tree

112 files changed

+4112
-2649
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

112 files changed

+4112
-2649
lines changed

.dockerignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ README.md
88

99
.yalc/
1010
yalc.lock
11-
testApi/
11+
testApi/
12+
*.local.*

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,5 @@ dist/
3535
**/.hugo_build.lock
3636
docSite/public/
3737
docSite/resources/_gen/
38-
docSite/.vercel
38+
docSite/.vercel
39+
*.local.*

Dockerfile

+5
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,11 @@ COPY --from=builder --chown=nextjs:nodejs /app/projects/$name/.next/static /app/
7676
COPY --from=builder /app/projects/$name/package.json ./package.json
7777
# copy woker
7878
COPY --from=workerDeps /app/worker /app/worker
79+
# copy config
80+
COPY ./projects/$name/data/config.json /app/data/config.json
81+
COPY ./projects/$name/data/pluginTemplates /app/data/pluginTemplates
82+
COPY ./projects/$name/data/simpleTemplates /app/data/simpleTemplates
83+
7984

8085
ENV NODE_ENV production
8186
ENV NEXT_TELEMETRY_DISABLED 1
136 KB
Loading
1.15 MB
Loading
1.02 MB
Loading
1.93 MB
Loading
1.13 MB
Loading
2 MB
Loading
1.24 MB
Loading
233 KB
Loading
-67.6 KB
Loading
139 KB
Loading
118 KB
Loading
291 KB
Loading
-294 KB
Binary file not shown.
-175 KB
Binary file not shown.
-172 KB
Binary file not shown.
1010 KB
Loading
1.07 MB
Loading

docSite/content/docs/development/configuration.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ weight: 708
9292
"maxContext": 16000,
9393
"maxResponse": 4000,
9494
"price": 0,
95-
"functionCall": true, // 是否支持function call, 不支持的模型需要设置为 false,会走提示词生成
95+
"toolChoice": true, // 是否支持openai的 toolChoice, 不支持的模型需要设置为 false,会走提示词生成
9696
"functionPrompt": ""
9797
},
9898
{
@@ -101,7 +101,7 @@ weight: 708
101101
"maxContext": 8000,
102102
"maxResponse": 8000,
103103
"price": 0,
104-
"functionCall": true,
104+
"toolChoice": true,
105105
"functionPrompt": ""
106106
}
107107
],
@@ -112,7 +112,7 @@ weight: 708
112112
"maxContext": 16000,
113113
"maxResponse": 4000,
114114
"price": 0,
115-
"functionCall": true,
115+
"toolChoice": true,
116116
"functionPrompt": ""
117117
}
118118
],
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
title: 'V4.6.5(需要改配置文件)'
3+
description: 'FastGPT V4.6.5'
4+
icon: 'upgrade'
5+
draft: false
6+
toc: true
7+
weight: 831
8+
---
9+
10+
## 配置文件变更
11+
12+
由于 openai 已开始启用 function call,改为 toolChoice。FastGPT 同步的修改了对于的配置和调用方式,需要对配置文件做一些修改:
13+
14+
[点击查看最新的配置文件](/docs/development/configuration/)
15+
16+
主要是修改模型的`functionCall`字段,改成`toolChoice`即可。设置为`true`的模型,会默认走 openai 的 tools 模式;未设置或设置为`false`的,会走提示词生成模式。
17+
18+
问题补全模型与内容提取模型使用同一组配置。
19+
20+
## V4.6.5 功能介绍
21+
22+
1. 新增 - [问题补全模块](/docs/workflow/modules/coreferenceresolution/)
23+
2. 新增 - [文本编辑模块](/docs/workflow/modules/text_editor/)
24+
3. 新增 - [判断器模块](/docs/workflow/modules/tfswitch/)
25+
4. 新增 - [自定义反馈模块](/docs/workflow/modules/custom_feedback/)
26+
5. 新增 - 【内容提取】模块支持选择模型,以及字段枚举
27+
6. 优化 - docx读取,兼容表格(表格转markdown)
28+
7. 优化 - 高级编排连接线交互
29+
8. 优化 - 由于 html2md 导致的 cpu密集计算,阻断线程问题
30+
9. 修复 - 高级编排提示词提取描述
31+

0 commit comments

Comments
 (0)