Commit Graph

404 Commits

Author SHA1 Message Date
Yeuoly
dea2962a79
Merge main into feat/plugin 2024-10-22 17:35:11 +08:00
-LAN-
36f66d40e5
refactor(api): simplify limit retrieval and return types (#9641) 2024-10-22 16:34:16 +08:00
Bowen Liang
4d9160ca9f
refactor: use dify_config to replace legacy usage of flask app's config (#9089) 2024-10-22 11:01:32 +08:00
Yeuoly
11270a7ef2
Migrate to DeclarativeBaseModel 2024-10-21 20:38:27 +08:00
Yeuoly
53e1b45d40
fix: remove .query reference of db.Model 2024-10-21 20:23:27 +08:00
Yeuoly
bedbd658fe
Merge main into fix/chore-fix 2024-10-21 20:01:49 +08:00
Yeuoly
7b62b5578e
refactor: add manifest into upload interfaces 2024-10-21 18:48:03 +08:00
-LAN-
8d8a8fe295
feat(file-upload): add support for optional file source parameter (#9554) 2024-10-21 17:46:24 +08:00
-LAN-
e61752bd3a
feat/enhance the multi-modal support (#8818) 2024-10-21 10:43:49 +08:00
Joe
4fd2743efa
Feat/new login (#8120)
Co-authored-by: douxc <douxc512@gmail.com>
Co-authored-by: Garfield Dai <dai.hai@foxmail.com>
2024-10-21 10:03:40 +08:00
Yeuoly
7754431a34
feat: support plugin max package size 2024-10-17 18:44:16 +08:00
Yeuoly
fa7215cfea
Merge branch 'main' into fix/chore-fix 2024-10-17 13:46:43 +08:00
Yeuoly
31cca4a849
fix: add marketplace switch 2024-10-16 14:47:48 +08:00
Yeuoly
43ffccc8fd
fix: install plugins 2024-10-16 14:02:05 +08:00
Yeuoly
a81293cf5a
feat: add category for plugins 2024-10-16 13:03:50 +08:00
Yeuoly
276701e1b7
refactor: plugin installation 2024-10-14 17:52:29 +08:00
Summer-Gu
8501af298f
feat: added dataset recall testing API (#9300) 2024-10-14 17:26:04 +08:00
Yeuoly
ae1eeb9b2a
Mergin main into fix/chore-fix 2024-10-14 16:22:12 +08:00
ice yao
d15ba3939d
Add Volcengine VikingDB as new vector provider (#9287) 2024-10-13 21:26:05 +08:00
-LAN-
f73751843f
Feat/implement-refresh-tokens (#9233) 2024-10-12 23:46:30 +08:00
Shili Cao
2ec6ffe478
feat:support baidu vector db (#9185) 2024-10-12 23:24:17 +08:00
Jyong
42b02b3a5f
Fix/agent external knowledge retrieval (#9241) 2024-10-11 19:21:03 +08:00
zxhlyh
d498f4e55e
Chore/model icon url (#9218)
Co-authored-by: takatost <takatost@gmail.com>
Co-authored-by: jyong <718720800@qq.com>
2024-10-11 12:33:34 +08:00
Yeuoly
dd0462c1dc
feat: support two install source 2024-10-10 16:35:36 +08:00
Yeuoly
ae96f66a08
feat: support list endpoints for single plugin, fix: failed to clear endpoint credentials 2024-10-09 22:33:18 +08:00
Yeuoly
570b7d18ac
fix: endpoint apis 2024-10-08 23:48:38 +08:00
Yeuoly
a9c21ef929
feat: uninstall plugins 2024-10-08 22:38:33 +08:00
Yeuoly
e27a03ae15
feat: support install plugin 2024-10-08 21:28:59 +08:00
gaocarri
8204e0e14a
fix: Count exception occurs when searching conversations (#8754)
Co-authored-by: zheng.gao <zheng.gao@amh-group.com>
2024-10-08 17:25:33 +08:00
takatost
e12f4009d3 feat: optimize icon url 2024-09-30 17:46:40 +08:00
zhuhao
fa837b2dfd
fix: fix the issue with the system model configuration update (#8923) 2024-09-30 17:14:13 +08:00
Yeuoly
c9f80b46a1
fix: add endpoint name 2024-09-30 16:57:09 +08:00
Jyong
9d221a5e19
external knowledge api (#8913)
Co-authored-by: Yi <yxiaoisme@gmail.com>
2024-09-30 15:38:43 +08:00
-LAN-
3af65b2f45
feat(api): add version comparison logic (#8902) 2024-09-30 11:12:26 +08:00
Zhaofeng Miao
369e1e6f58
feat(website-crawl): add jina reader as additional alternative for website crawling (#8761) 2024-09-30 09:57:19 +08:00
takatost
8236373498 feat: remove unused codes 2024-09-29 18:16:21 +08:00
Yeuoly
e9e5c8806a
refactor: using DeclarativeBase as parent class of models, refactored tools 2024-09-29 17:00:58 +08:00
takatost
47c8824be6 feat: move model request to plugin daemon 2024-09-29 00:15:17 +08:00
takatost
1c3213184e feat: move model request to plugin daemon 2024-09-29 00:15:14 +08:00
Yeuoly
d9cced8419
Merge branch 'main' into fix/chore-fix 2024-09-28 20:18:28 +08:00
ice yao
27e33fb15c
chore: fix wrong VectorType match case (#8857) 2024-09-28 10:54:04 +08:00
Yeuoly
ea497f828f
feat: endpoint management 2024-09-26 12:49:00 +08:00
Yeuoly
153dc5b3f3
feat: endpoint apis 2024-09-26 10:26:45 +08:00
Yeuoly
cda9f6ec6b
Merge main into fix/chore-fix 2024-09-24 16:38:38 +08:00
Yeuoly
7a3e756020
refactor: list tools 2024-09-23 18:06:16 +08:00
Hash Brown
8c51d06222
feat: regenerate in Chat, agent and Chatflow app (#7661) 2024-09-22 03:15:11 +08:00
Yeuoly
eef79a5196
feat: support install plugin 2024-09-20 21:35:19 +08:00
Yeuoly
2223dfb266
feat: get debugging key 2024-09-20 15:08:39 +08:00
Yeuoly
00d1c45518
Merge main 2024-09-14 02:47:01 +08:00
Bowen Liang
a1104ab97e
chore: refurish python code by applying Pylint linter rules (#8322) 2024-09-13 22:42:08 +08:00
Bowen Liang
6613b8f2e0
chore: fix unnecessary string concatation in single line (#8311) 2024-09-13 14:24:49 +08:00
Bowen Liang
40fb4d16ef
chore: refurbish Python code by applying refurb linter rules (#8296) 2024-09-12 15:50:49 +08:00
Bowen Liang
c69f5b07ba
chore: apply ruff E501 line-too-long linter rule (#8275)
Co-authored-by: -LAN- <laipz8200@outlook.com>
2024-09-12 14:00:36 +08:00
Bowen Liang
292220c596
chore: apply pep8-naming rules for naming convention (#8261) 2024-09-11 16:40:52 +08:00
Jason Tan
c5b3777d93
editor can also create api key (#8214) 2024-09-11 16:07:15 +08:00
Yeuoly
b0d53c0ac4
Merge main 2024-09-10 15:42:59 +08:00
zhuhao
86f7f245e4
fix: The length of the tag should between 1 and 50 (#8187) (#8188) 2024-09-10 14:07:06 +08:00
Yeuoly
9c7bcd5abc
Merge main 2024-09-10 14:05:20 +08:00
Jyong
85ff82a694
code merge error (#8183)
Co-authored-by: crazywoola <427733928@qq.com>
2024-09-10 12:52:50 +08:00
Nam Vu
2d7954c7da
Fix variable typo (#8084) 2024-09-08 13:14:11 +08:00
Nam Vu
9ded063417
chore: #7348, support query conversations by updated_at (#8047) 2024-09-06 17:31:51 +08:00
takatost
161cc0cda9
Revert "fix: an issue of keyword search feature in application log list" (#7949) 2024-09-04 10:00:55 +08:00
kurokobo
80aa7c4019
feat: allow users to use the app icon as the answer icon (#7888)
Co-authored-by: crazywoola <427733928@qq.com>
2024-09-02 20:00:41 +08:00
Ethan
ea748b50f2
fix: an issue of keyword search feature in application log list (#7816) 2024-08-30 18:48:05 +08:00
Yeuoly
db8bf2a85e
Merge branch 'main' into feat/plugin 2024-08-30 18:21:22 +08:00
Yeuoly
113ff27d07
fix: types 2024-08-29 20:06:14 +08:00
YidaHu
bd6d4d0553
fix: filter out installed apps without an app (#7799) 2024-08-29 19:03:08 +08:00
crazywoola
c441bea4d1
fix: datasets permission is missing (#7787) 2024-08-29 12:46:33 +08:00
Garfield Dai
54b693d5b1
feat: update saas billing hint. (#7760) 2024-08-28 18:55:47 +08:00
kurokobo
bc3a8e0ca2
feat: store created_by and updated_by for apps, modelconfigs, and sites (#7613) 2024-08-28 08:47:30 +08:00
Jiakun Xu
e38334cfd2
fix: doc_language return null when document segment settings (#7719) 2024-08-28 08:45:51 +08:00
呆萌闷油瓶
2726fb3d5d
feat:dailymessages (#7603) 2024-08-27 12:53:27 +08:00
Jyong
1473083a41
catch openai rate limit error (#7658) 2024-08-26 19:36:44 +08:00
-LAN-
13be84e4d4
chore(api/controllers): Apply Ruff Formatter. (#7645) 2024-08-26 15:29:10 +08:00
pinsily
a7743a4f47
add:save_model_credentials error log (#7630) 2024-08-26 14:46:29 +08:00
crazywoola
2c427e04be
Feat/7134 use dataset api create a dataset with permission (#7508) 2024-08-21 20:25:45 +08:00
KinWang
e35e251863
feat: Sort conversations by updated_at desc (#7348)
Co-authored-by: wangpj <wangpj@hundsunc.om>
Co-authored-by: JzoNg <jzongcode@gmail.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
2024-08-20 17:55:44 +08:00
Jyong
0f90e6df75
add pgvector full text search settting (#7427) 2024-08-20 13:20:19 +08:00
Hash Brown
fbf31b5d52
feat: custom app icon (#7196)
Co-authored-by: crazywoola <427733928@qq.com>
2024-08-19 09:16:33 +08:00
Jason Tan
acfab01dcf
fix editor auth (#7297) 2024-08-15 20:36:51 +08:00
feng0
2fe2e350ce
add secondary sort_key when using order_by and paginate at the same time (#7225) 2024-08-13 17:39:51 +08:00
miendinh
f104b930cf
feat: support elasticsearch vector database (#3558)
Co-authored-by: miendinh <miendinh@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: crazywoola <427733928@qq.com>
2024-08-13 17:36:20 +08:00
KVOJJJin
935e72d449
Feat: conversation variable & variable assigner node (#7222)
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: Joel <iamjoel007@gmail.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
2024-08-13 14:44:10 +08:00
-LAN-
536c43257b
refactor(*): Update hard-code '[__HIDDEN__]' to the constant. (#7048) 2024-08-07 17:30:56 +08:00
TzuxinChen
f0d10553b4
Fixed a bug where permission was clearly displaye… (#6934) 2024-08-05 13:19:01 +08:00
liuzhenghua
ef616c604a
fix: The permissions issue of the editor role accessing some backend … (#6945)
Co-authored-by: liuzhenghua-jk <liuzhenghua-jk@360shuke.com>
2024-08-05 12:55:55 +08:00
Jyong
048bc4c06e
fix update dataset failed when embedding model is not exist (#6920) 2024-08-02 20:30:22 +08:00
Jyong
af76381b98
fix notion internal setting (#6836) 2024-07-31 17:17:46 +08:00
-LAN-
a98284b1ef
refactor(api): Switch to dify_config (#6750)
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-07-30 11:15:26 +08:00
Sangmin Ahn
ecb9c311b5
chore: make prompt generator max tokens configurable (#6693) 2024-07-26 10:20:23 +08:00
Joe
b347a2f839
Feat/user session id search (#6638) 2024-07-24 19:34:23 +08:00
Joe
8123a00e97
feat: update prompt generate (#6516) 2024-07-23 19:52:14 +08:00
非法操作
f17d4fe412
fix: extract only like feedback to caculate User Satisfaction (#6553) 2024-07-23 16:32:36 +08:00
tmuife
06fc1bce9e
Add search by full text when using Oracle23ai as vector DB (#6559) 2024-07-23 15:03:21 +08:00
-LAN-
5e6fc58db3
Feat/environment variables in workflow (#6515)
Co-authored-by: JzoNg <jzongcode@gmail.com>
2024-07-22 15:29:39 +08:00
Shoya SHIRAKI
c57b3931d5
refactor(api): switch to dify_config in controllers/console (#6485) 2024-07-21 01:11:40 +08:00
Bowen Liang
7943f7f697
chore: fix legacy API usages of Query.get() by Session.get() in SqlAlchemy 2 (#6340) 2024-07-17 13:54:35 +08:00
Charlie.Wei
06fcc0c650
Fix tts api err (#6349)
Co-authored-by: luowei <glpat-EjySCyNjWiLqAED-YmwM>
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2024-07-16 21:53:57 +08:00
Jyong
0de224b153
fix wrong using of RetrievalMethod Enum (#6345) 2024-07-16 19:09:04 +08:00
takatost
46a5294d94
feat(backend): support import DSL from URL (#6287) 2024-07-15 16:23:40 +08:00
Zhuo Qiu
63e34e5227
feat: support MyScale vector database (#6092) 2024-07-11 15:21:59 +08:00
liuzhenghua
9622fbb62f
feat: app rate limit (#5844)
Co-authored-by: liuzhenghua-jk <liuzhenghua-jk@360shuke.com>
Co-authored-by: takatost <takatost@gmail.com>
2024-07-10 21:31:35 +08:00
Joe
ce930f19b9
fix dataset operator (#6064)
Co-authored-by: JzoNg <jzongcode@gmail.com>
2024-07-09 17:47:54 +08:00
8bitpd
7c70eb87bc
feat: support AnalyticDB vector store (#5586)
Co-authored-by: xiaozeyu <xiaozeyu.xzy@alibaba-inc.com>
2024-07-09 13:32:04 +08:00
chenxu9741
6ef401a9f0
feat:add tts-streaming config and future (#5492) 2024-07-09 11:33:58 +08:00
-LAN-
4d105d7bd7
feat(*): Swtich to dify_config. (#6025) 2024-07-06 12:05:13 +08:00
takatost
79df8825c8
Revert "feat: knowledge admin role" (#6018) 2024-07-05 21:31:34 +08:00
xielong
00b4cc3cd4
feat: implement forgot password feature (#5534) 2024-07-05 13:38:51 +08:00
Joe
5d9ad430af
feat: knowledge admin role (#5965)
Co-authored-by: JzoNg <jzongcode@gmail.com>
Co-authored-by: jyong <718720800@qq.com>
2024-07-04 16:21:40 +08:00
Joe
59ad091e69
feat: add export permission (#5841) 2024-07-02 13:37:37 +08:00
Jyong
71bcf75d9a
Feat/add delete knowledge confirm (#5810) 2024-07-01 17:06:51 +08:00
takatost
906857b28a
fix: couldn't log in or resetup after a failed setup (#5739) 2024-06-29 17:07:21 +08:00
Diego Romero-Lovo
4c0a31d38b
FR: #4048 - Add color customization to the chatbot (#4885)
Co-authored-by: crazywoola <427733928@qq.com>
2024-06-26 17:51:00 +08:00
Joe
4e2de638af
feat: add ops trace (#5483)
Co-authored-by: takatost <takatost@gmail.com>
2024-06-26 17:33:29 +08:00
Jyong
43335b5c87
delete the deprecated method (#5612) 2024-06-26 12:51:50 +08:00
takatost
ec1d3ddee2
feat: support importing and overwriting workflow DSL (#5511)
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
2024-06-25 15:46:12 +08:00
Yeuoly
023dba9475
fix: revert CI path filters (#5561) 2024-06-24 23:46:15 +08:00
kurokobo
c5d64baba4
fix: correct typos (#5510) 2024-06-22 23:01:02 +08:00
tmuife
6a09409ec9
Add Oracle23ai as a vector datasource (#5342)
Co-authored-by: walter from vm <walter.jin@oracle.com>
2024-06-22 01:48:07 +08:00
crazywoola
92ddb410cd
feat: option to hide workflow steps (#5436) 2024-06-21 12:51:10 +08:00
-LAN-
1336b844fd
feat(api/auth): switch-to-stateful-authentication (#5438) 2024-06-21 12:39:07 +08:00
Bowen Liang
c923684edd
chore: extract retrival method literal values into enum (#5060) 2024-06-19 16:05:27 +08:00
Bowen Liang
3cc6093e4b
feat: introduce pydantic-settings for config definition and validation (#5202)
Co-authored-by: -LAN- <laipz8200@outlook.com>
2024-06-19 13:41:12 +08:00
baojingyu
d160d1ed02
feat: support opensearch approximate k-NN (#5322) 2024-06-19 12:44:33 +08:00
Charles Zhou
cc4a4ec796
feat: permission and security fixes (#5266) 2024-06-17 16:06:32 +08:00
Jyong
ba5f8afaa8
Feat/firecrawl data source (#5232)
Co-authored-by: Nicolas <nicolascamara29@gmail.com>
Co-authored-by: chenhe <guchenhe@gmail.com>
Co-authored-by: takatost <takatost@gmail.com>
2024-06-15 02:46:02 +08:00
kurokobo
ef6034abfd
fix: allow the name and icon of the web app to be set independently of that of the bot itself (#5225) 2024-06-14 22:16:11 +08:00
Charles Zhou
8bcc5a36bb
feat: new editor user permission profile (#4435)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: crazywoola <427733928@qq.com>
2024-06-14 20:34:25 +08:00
quicksand
4080f7b8ad
feat: support tencent vector db (#3568) 2024-06-14 19:25:17 +08:00
Summer-Gu
7f98c2ea3f
refactor: Delete the dataset to verify whether it is in use (#5112) 2024-06-14 03:25:38 +08:00
Bowen Liang
f976740b57
improve: mordernizing validation by migrating pydantic from 1.x to 2.x (#4592) 2024-06-14 01:05:37 +08:00
Bowen Liang
cdc08a434f
feat: support Chroma vector store (#5015) 2024-06-13 18:02:18 +08:00
Bowen Liang
bdad993901
improve: generalize vector factory classes and vector type (#5033) 2024-06-08 22:29:24 +08:00
Weaxs
0797f9bc05
feat: support tidb vector (#4588) 2024-06-05 18:19:53 +08:00
takatost
d1dbbc1e33
feat: backend model load balancing support (#4927) 2024-06-05 00:13:04 +08:00
Jyong
4e3b0c5aea
support rename document (#4915) 2024-06-04 20:07:40 +08:00
Moonlit
86e7c7321f
Fixed a bug where any content in the 'fetch' was converted to True (#4400) 2024-06-04 13:27:23 +08:00
Charlie.Wei
d058a234ba
Fixed workflow tts feature audition (#4867) 2024-06-03 00:22:14 +08:00
Yeuoly
e852a21634
Feat/workflow phase2 (#4687) 2024-05-27 22:01:11 +08:00
Charlie.Wei
cd4924d472
Fix tts audition (#4656)
Co-authored-by: luowei <glpat-EjySCyNjWiLqAED-YmwM>
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2024-05-26 21:00:36 +08:00
Patryk Garstecki
aa13d14019
Feat/chat custom disclaimer (#4306) 2024-05-18 10:52:48 +08:00
zxhlyh
8b931b085c
fix: app logo (#4483) 2024-05-17 18:02:00 +08:00
Garfield Dai
dd94931116
Remove useless code (#4416) 2024-05-15 16:14:49 +08:00
Yeuoly
182dadd433
chore: remove model as tool (#4409) 2024-05-15 12:25:04 +08:00
LiuVaayne
875249eb00
Feat/vector db pgvector (#3879) 2024-05-10 17:20:30 +08:00
takatost
8f3042e5b3
feat: Add draft hash check in workflow (#4251) 2024-05-10 14:48:29 +08:00
Garfield Dai
6f1e4a19a2
fix: workflow avg user interaction. (#4056) 2024-05-02 20:24:40 +08:00
Jyong
3e9dbe3e0a
add pgvecto_rs support and upgrade SQLAlchemy (#3833) 2024-04-29 11:58:17 +08:00
羊羽
975b2fb79e
delete duplicate check get_dataset (#3966)
Co-authored-by: baxiang <baxiang@lixiang.com>
2024-04-29 11:57:26 +08:00
Jingpan Xiong
1be222af2e
fix: using api can not execute relyt vector database (#3766)
Co-authored-by: jingsi <jingsi@leadincloud.com>
2024-04-25 19:46:20 +08:00