566 Commits

Author SHA1 Message Date
Archer
02813f3a47
add env to check internal ip (#4187)
* fix: ts

* update jieba package

* add env to check internal ip

* package

* fix: jieba

* reset package

* update config

* fix: jieba package

* init shell

* init version

* change team reload
2025-03-18 11:09:14 +08:00
Archer
cf50f9ec4d
update package;fix: input data model ui (#4181)
* update package

* fix: ts

* update config

* update jieba package

* add type sign

* fix: input data ui
2025-03-18 11:09:13 +08:00
Archer
713d1901bf
fix: avatar error remove (#4173)
* fix: avatar error remove

* fix: index

* fix: guide

* fix: auth
2025-03-18 11:09:13 +08:00
Archer
fa0a8dd2da
feat: mix search weight (#4170)
* feat: mix search weight

* feat: svg render
2025-03-18 11:09:13 +08:00
heheer
a534b839d7
fix loadInitData refresh (#4169)
* fix

* fix

* form input number default & api dataset max token
2025-03-18 11:09:12 +08:00
Archer
5b3f461ce8
feat: rerank modal select and weight (#4164) 2025-03-18 11:09:12 +08:00
heheer
5ac3b2c6fb
fix modal close scroll (#4162)
* fix modal close scroll

* update refresh
2025-03-18 11:09:11 +08:00
Archer
edd8ba9e5a
hiden dataset source (#4152)
* hiden dataset source

* perf: reader
2025-03-18 11:09:11 +08:00
Finley Ge
268f0f56fb
fix(i18n): namespace (#4143) 2025-03-18 11:09:10 +08:00
Finley Ge
62baee44fe
pref: copy link (#4147) 2025-03-18 11:09:10 +08:00
Archer
1cff21dbae
fix: prompt toolcall ui (#4139)
* load log error adapt

* fix: prompt toolcall ui

* perf: commercial function tip

* update package
2025-03-18 11:09:10 +08:00
Archer
177d490639
perf: model test;perf: sidebar trigger (#4127)
* fix: import dataset step error;perf: ai proxy avatar (#4074)

* perf: pg config params

* perf: ai proxy avatar

* fix: import dataset step error

* feat: data input ux

* perf: app dataset rewite

* perf: model test

* perf: sidebar trigger

* lock

* update nanoid version

* fix: select component ux

* fix: ts

* fix: vitest

* remove test
2025-03-18 11:09:09 +08:00
heheer
8bc29e6527
fix chat quote reader (#4125) 2025-03-18 11:09:09 +08:00
Archer
7eda599181
perf: invite member code (#4118)
* perf: invite member code

* fix: ts
2025-03-18 11:09:09 +08:00
Finley Ge
a9e5017492
feat: invitation link (#3979)
* feat: invitation link schema and apis

* feat: add invitation link

* feat: member status: active, leave, forbidden

* fix: expires show hours and minutes

* feat: invalid invitation link hint

* fix: typo

* chore: fix typo & i18n

* fix

* pref: fe

* feat: add ttl index for 30-day-clean-up
2025-03-18 11:09:08 +08:00
Archer
2c7bf2548b
feat: api dataset support pdf parse;fix: chunk reader auth (#4117)
* feat: api dataset support pdf parse

* fix: chunk reader auth
2025-03-18 11:09:08 +08:00
Archer
d4df77e637
perf: chunk read (#4109)
* package

* perf: chunk read
2025-03-18 11:09:08 +08:00
heheer
e061e80235
chat quote reader (#3912)
* init chat quote full text reader

* linked structure

* dataset data linked

* optimize code

* fix ts build

* test finish

* delete log

* fix

* fix ts

* fix ts

* remove nextId

* initial scroll

* fix

* fix
2025-03-18 11:09:08 +08:00
Archer
4655c2754e
perf: think tag parse (#4102) 2025-03-18 11:09:07 +08:00
Archer
75e671bb43
update doc ;perf: model test (#4098)
* perf: extract array

* update doc

* perf: model test

* perf: model test
2025-03-18 11:09:07 +08:00
shilin
9bb8525909
fix: 文本提取不支持arrayString,arrayNumber等jsonSchema (#4079) 2025-03-18 11:09:07 +08:00
Archer
c23ce4c15a
fix: import dataset step error;perf: ai proxy avatar (#4074)
* perf: pg config params

* perf: ai proxy avatar

* fix: import dataset step error

* feat: data input ux

* perf: app dataset rewite
2025-03-18 11:09:07 +08:00
gggaaallleee
bf72defbff
fix :Get application bound knowledge base information logical rewrite (#4057)
* fix :Get application bound knowledge base information logical rewrite

* fix :Get application bound knowledge base information logical rewrite

* fix :Get application bound knowledge base information logical rewrite

* fix :Get application bound knowledge base information logical rewrite
2025-03-18 11:09:06 +08:00
Finley Ge
39a2a4a592
fix: remove DefaultTeam (#4037) 2025-03-18 11:09:06 +08:00
Finley Ge
bb30ca4859
chore: vitest support (#4026)
* chore: vitest

* chore: move test files

* chore: support vitest

* fix: exclude test files

* chore(ci): add test workflow

* feat: remove read env
2025-03-12 19:27:53 +08:00
dependabot[bot]
bf69aa6e3d
chore(deps): bump next from 14.2.5 to 14.2.21 (#4091)
Bumps [next](https://github.com/vercel/next.js) from 14.2.5 to 14.2.21.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v14.2.5...v14.2.21)

---
updated-dependencies:
- dependency-name: next
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-11 12:27:10 +08:00
dependabot[bot]
75cb46796a
chore(deps): bump axios from 1.7.2 to 1.8.2 (#4088)
Bumps [axios](https://github.com/axios/axios) from 1.7.2 to 1.8.2.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.7.2...v1.8.2)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-11 11:38:19 +08:00
dependabot[bot]
effdb5884b
chore(deps): bump jsonpath-plus from 10.1.0 to 10.3.0 (#4089)
Bumps [jsonpath-plus](https://github.com/s3u/JSONPath) from 10.1.0 to 10.3.0.
- [Release notes](https://github.com/s3u/JSONPath/releases)
- [Changelog](https://github.com/JSONPath-Plus/JSONPath/blob/main/CHANGES.md)
- [Commits](https://github.com/s3u/JSONPath/compare/v10.1.0...v10.3.0)

---
updated-dependencies:
- dependency-name: jsonpath-plus
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-11 11:37:58 +08:00
Archer
9523ba92f3
perf: HTTP node jsonBody support \n (#4070) 2025-03-10 13:56:34 +08:00
archer
2f522aff90
perf: HTTP node jsonBody support \n 2025-03-10 13:55:51 +08:00
Wenhao Zhu
0dccfd176d
fix: 修复最大响应 tokens 提示显示错误的问题 (#4048) 2025-03-10 10:01:25 +08:00
Wenhao Zhu
867e8acf27
fix: 修复部分参数丢失的问题 (#4040)
部分参数 (Reasoning, TopP, StopSign, ResponseFormat, JsonSchema) 保存完后重新进入不显示,并且在某些情况(包括但不限于保存应用操作)会导致用空值覆盖数据库的值从而丢失这个参数值
2025-03-08 18:27:58 +08:00
Wenhao Zhu
36da8c862f
fix: 修复知识库问题优化无效的BUG (#4033) 2025-03-07 16:00:01 +08:00
ENg-122
bca5cf738a
翻译缺失 (#4010) 2025-03-06 22:33:09 +08:00
Archer
6e045093b1
qwq config (#4009) 2025-03-06 20:21:57 +08:00
Archer
a1b114e426
feat: qwen qwq model config (#4008) 2025-03-06 20:18:33 +08:00
Archer
d05259dedd
perf: retry to load image;perf: default index check (#4004)
* perf: retry to load image

* perf: default index check
2025-03-06 18:28:09 +08:00
Archer
7c419a26b3
pdf parse doc (#3990) 2025-03-06 18:28:08 +08:00
Archer
e131465d25
fix: link (#3987) 2025-03-06 18:28:08 +08:00
Archer
a345e56508
simple mode tool reason (#3984)
* simple mode tool reason

* model config cannot set empty

* perf: read files code

* perf: mongo gridfs chunks

* perf: doc
2025-03-06 18:28:07 +08:00
Archer
3e3f2165db
feat: prompt call tool support reason;perf: ai proxy doc (#3982)
* update schema

* perf: ai proxy doc

* feat: prompt call tool support reason
2025-03-06 18:28:05 +08:00
Archer
e98d6f1d30
Add markdown format; Update doc (#3969)
* update doc

* markdown
2025-03-06 18:28:04 +08:00
Archer
54eb5c0547
feat: pg vector 0.8.0;perf: app pdf enhance parse (#3962)
* perf: app pdf enhance parse

* feat: pg vector 0.8.0

* update schema default

* model sort and default image

* perf: i18n

* perf: ui tip
2025-03-06 18:28:04 +08:00
Archer
adf5377ebe
Add image index and pdf parse (#3956)
* feat: think tag parse

* feat: parse think tag test

* feat: pdf parse ux

* feat: doc2x parse

* perf: rewrite training mode setting

* feat: image parse queue

* perf: image index

* feat: image parse process

* feat: add init sh

* fix: ts
2025-03-06 18:28:03 +08:00
Finley Ge
08b6f594df
pref: set strictQuery to throw. (#3994) 2025-03-06 18:24:58 +08:00
archer
2d351c3654
perf: http body check 2025-03-06 18:22:42 +08:00
Finley Ge
662a4a4671
fix: remove defaultTeam (#3989) 2025-03-06 00:26:32 +08:00
lgphone
3fadabd28b
fix: 优化读取mongo文件性能,解决因执行Buffer.concat过多造成等待导致整个服务hang住的 (#3985)
如果 Buffer.concat() 被频繁调用,尤其是在处理大量数据时,可能会导致内存分配压力增大,从而影响性能。
测试大于100M的PDF文件上传解析会导致/api/core/dataset/collection/create/fileId接口长时间无响应,其他接口也处于hang住的状态,导致整个服务不可用。
使用一次性拼接后问题解决
2025-03-05 15:08:40 +08:00
heheer
dbf25cef88
fix ai proxy logs pagination (#3954)
* fix ai proxy logs pagination

* delete unused code
2025-03-05 14:08:38 +08:00
heheer
b2e2fa6b76
fix loop child nodes variables (#3980) 2025-03-05 13:53:28 +08:00