Commit Graph

307 Commits

Author SHA1 Message Date
Jyong
f257f2c396
Knowledge optimization (#3755)
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: JzoNg <jzongcode@gmail.com>
2024-04-24 15:02:29 +08:00
Yeuoly
3480f1c59e
refactor: tool parameter cache (#3703) 2024-04-23 15:22:42 +08:00
Yeuoly
2c50fab3dd
fix: skip dataset icon (#3696) 2024-04-23 12:41:41 +08:00
xin.gao
71cc0074ef
fix: delete tool parameters cache when sync draft workflow for run workflow use new parameter change in draft workflow (#3637) 2024-04-22 11:12:00 +08:00
Bowen Liang
d9b821cecc
chore: apply ruff rules on tests and app.py (#3605) 2024-04-18 20:24:05 +08:00
Garfield Dai
4481906be2
Feat/enterprise sso (#3602) 2024-04-18 17:33:32 +08:00
LIU HONGWEI
c227f3d985
feat: Deprecate datetime.utcnow() in favor of datetime.now(timezone.utc).replace(tzinfo=None) for better timezone handling (#3408) (#3416) 2024-04-12 16:22:24 +08:00
chenxu9741
ad65c891e7
add xls file suport (#3321) 2024-04-12 14:53:44 +08:00
LiuVaayne
b00466f025
feat:api Add support for extracting EPUB files in ExtractProcessor (#3254)
Co-authored-by: crazywoola <427733928@qq.com>
2024-04-12 11:25:02 +08:00
Jyong
1f302990c6
add segment with keyword issue (#3351)
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
2024-04-11 16:57:02 +08:00
Jyong
37024afe9c
fix issue: user’s keywords do not affect when add segment (#3349) 2024-04-11 16:34:52 +08:00
takatost
f599f41336
fix: empty conversation list of explore chatbot (#3235) 2024-04-09 17:04:48 +08:00
takatost
d2259f20cb
fix: app export dsl not include desc (#3167) 2024-04-08 21:30:18 +08:00
takatost
7753ba2d37
FEAT: NEW WORKFLOW ENGINE (#3160)
Co-authored-by: Joel <iamjoel007@gmail.com>
Co-authored-by: Yeuoly <admin@srmxy.cn>
Co-authored-by: JzoNg <jzongcode@gmail.com>
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
Co-authored-by: jyong <jyong@dify.ai>
Co-authored-by: nite-knite <nkCoding@gmail.com>
Co-authored-by: jyong <718720800@qq.com>
2024-04-08 18:51:46 +08:00
Leo Q
fc5ed17fe9
provide a bit more info in logs when parsing api schema error (#3026) 2024-03-30 14:44:50 +08:00
Jyong
669c8c3cca
some optimization for admin api key, create tenant and reset-encrypt-key-pair command (#3013)
Co-authored-by: jyong <jyong@dify.ai>
2024-03-28 17:02:52 +08:00
Yeuoly
95b74c211d
Feat/support tool credentials bool schema (#2875) 2024-03-18 16:55:26 +08:00
Yeuoly
ce58f0607b
Feat/tool secret parameter (#2760) 2024-03-08 20:31:13 +08:00
yoogo
bd26c933d2
fix: valid password on reset-password page (#2753) 2024-03-08 18:44:49 +08:00
Yeuoly
40c646cf7a
Feat/model as tool (#2744) 2024-03-08 15:22:55 +08:00
Yeuoly
27e678480e
Feat: AIPPT & DynamicToolParamter (#2725) 2024-03-07 15:04:42 +08:00
Yeuoly
36686d7425
fix: test custom tool already exists without decrypting credentials (#2668) 2024-03-04 14:16:47 +08:00
Garfield Dai
8e66b96221
Feat: Add documents limitation (#2662) 2024-03-03 12:45:06 +08:00
takatost
1a677da792
fix: custom tool max tool (#2641) 2024-03-01 16:43:47 +08:00
Bowen Liang
801d135390
generalize the generation of new collection name by dataset id (#2620) 2024-02-29 12:47:10 +08:00
takatost
dd961985f0
refactor: remove unused codes, move core/agent module into dataset retrieval feature (#2614) 2024-02-28 23:32:47 +08:00
crazywoola
c9257ab4bf
Fix/2559 upload powered by brand image not showing up (#2602) 2024-02-28 15:17:49 +08:00
Jyong
920b2c2b40
Fix/hit test tsne issue (#2581)
Co-authored-by: jyong <jyong@dify.ai>
2024-02-27 17:30:52 +08:00
Bowen Liang
9ecc736c30
fix: update current tenant id of account when switching tenant (#2530) 2024-02-23 10:51:19 +08:00
Jyong
6c4e6bf1d6
Feat/dify rag (#2528)
Co-authored-by: jyong <jyong@dify.ai>
2024-02-22 23:31:57 +08:00
Jyong
97fe817186
Fix/upload limit (#2521)
Co-authored-by: jyong <jyong@dify.ai>
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
2024-02-22 17:16:22 +08:00
Jyong
20b932da97
del doc support (#2494)
Co-authored-by: jyong <jyong@dify.ai>
2024-02-20 16:05:09 +08:00
zxhlyh
207080babc
fix: audio to text (#2493) 2024-02-20 15:16:46 +08:00
Charlie.Wei
300d9892a5
tts add voice choose (#2391)
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-02-15 22:41:18 +08:00
Yeuoly
23e95fd7ab
Fix tool provider credential caching issue (#2433) 2024-02-12 18:17:43 +08:00
takatost
e6d22fc3a0
fix: account has no owner workspace by member inviting (#2435) 2024-02-12 02:09:01 +08:00
Bowen Liang
9232244920
fix recreating users' default tenant relations when loading user (#2408) 2024-02-12 01:31:40 +08:00
takatost
476eb90a90
fix: List not found in account service (#2434) 2024-02-12 00:56:17 +08:00
Bowen Liang
063191889d
chore: apply ruff's pyupgrade linter rules to modernize Python code with targeted version (#2419) 2024-02-09 15:21:33 +08:00
Bowen Liang
14a19a3da9
chore: apply ruff's pyflakes linter rules (#2420) 2024-02-08 14:11:10 +08:00
Bowen Liang
843280f82b
enhancement: introduce Ruff for Python linter for reordering and removing unused imports with automated pre-commit and sytle check (#2366) 2024-02-06 13:21:13 +08:00
Yeuoly
bf736bc55d
Feat/show detailed custom api response when testing (#2400) 2024-02-05 18:48:30 +08:00
crazywoola
3f0c515355
fix: switch tenant (#2363) 2024-02-02 21:44:35 +08:00
crazywoola
a8f23ed712
Feat/move tenant id into db (#2341) 2024-02-02 15:00:13 +08:00
takatost
9f637ead38
bump version to 0.5.3 (#2306) 2024-02-01 18:11:57 +08:00
takatost
d8672796b0
revert: remove unused session store codes (#2329) 2024-02-01 12:10:05 +08:00
Yeuoly
83063532a0
Fix/api tool (#2317) 2024-02-01 09:10:32 +08:00
takatost
44397e3062
remove unused session store codes (#2313) 2024-01-31 15:30:35 +08:00
Ricky
2660fbaa20
Fix/typos (#2308) 2024-01-31 11:58:07 +08:00
Yeuoly
6d24a2cb87
fix: api tool encoding (#2296) 2024-01-30 22:22:58 +08:00
Yeuoly
70f16e1a0b
fix: keep original tool credentials (#2288) 2024-01-30 18:41:36 +08:00
Garfield Dai
d3d617239f
Feat/utm update (#2269)
Co-authored-by: Joel <iamjoel007@gmail.com>
2024-01-29 17:31:45 +08:00
Benjamin
7076d41b29
Bugfix/invitemailmultilangs (#2257)
Co-authored-by: crazywoola <427733928@qq.com>
2024-01-28 19:56:09 +08:00
Garfield Dai
bb5d5fc683
Feat/billing enhancement (#2239)
Co-authored-by: takatost <takatost@gmail.com>
2024-01-26 18:26:15 +08:00
KVOJJJin
89fcf4ea7c
Feat: chunk overlap supported (#2209)
Co-authored-by: jyong <jyong@dify.ai>
2024-01-26 13:24:40 +08:00
Charlie.Wei
fd5c45ae10
Add tts document&fix bug (#2156)
Co-authored-by: luowei <glpat-EjySCyNjWiLqAED-YmwM>
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: Yeuoly <45712896+Yeuoly@users.noreply.github.com>
2024-01-24 23:04:14 +08:00
Garfield Dai
95ad06c8c3
feat: utm supports. (#2181) 2024-01-24 20:14:02 +08:00
Yeuoly
57024614bd
fix: Fix typo in credentials field name (#2155) 2024-01-24 12:00:34 +08:00
Charlie.Wei
6355e61eb8
tts models support (#2033)
Co-authored-by: luowei <glpat-EjySCyNjWiLqAED-YmwM>
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: Yeuoly <45712896+Yeuoly@users.noreply.github.com>
2024-01-24 01:05:37 +08:00
crazywoola
c17baef172
Feat/portuguese support (#2075) 2024-01-23 21:14:53 +08:00
Yeuoly
86286e1ac8
Feat/assistant app (#2086)
Co-authored-by: chenhe <guchenhe@gmail.com>
Co-authored-by: Pascal M <11357019+perzeuss@users.noreply.github.com>
2024-01-23 19:58:23 +08:00
crazywoola
8438d820ad
Feat/2070 glm 4 and glm 3 turbo (#2114) 2024-01-21 16:58:06 +08:00
Garfield Dai
51f23c5dc2
feat: support re-invite email. (#2107) 2024-01-20 22:28:41 +08:00
crazywoola
1f48e3d44a
feat: support legacy doc (#2100) 2024-01-20 22:21:51 +08:00
takatost
1a6ad05a23
feat: service api add llm usage (#2051) 2024-01-17 22:39:47 +08:00
Bowen Liang
cc9e74123c
improve: introduce isort for linting Python imports (#1983) 2024-01-12 12:34:01 +08:00
takatost
296bf443a8
feat: reuse decoding_rsa_key & decoding_cipher_rsa & optimize construct (#1937) 2024-01-05 12:13:45 +08:00
takatost
3fa5204b0c
feat: optimize performance (#1928) 2024-01-04 20:48:54 +08:00
takatost
d069c668f8
Model Runtime (#1858)
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
Co-authored-by: Garfield Dai <dai.hai@foxmail.com>
Co-authored-by: chenhe <guchenhe@gmail.com>
Co-authored-by: jyong <jyong@dify.ai>
Co-authored-by: Joel <iamjoel007@gmail.com>
Co-authored-by: Yeuoly <admin@srmxy.cn>
2024-01-02 23:42:00 +08:00
Jyong
da4847c5a8
fix segment update issue (#1844)
Co-authored-by: jyong <jyong@dify.ai>
2023-12-26 16:22:51 +08:00
Jyong
08494058e9
fix file type not support when preview (#1841)
Co-authored-by: jyong <jyong@dify.ai>
2023-12-26 15:06:44 +08:00
crazywoola
1521ac5563
feat: add email template for invite new user in workspace (#1810) 2023-12-21 11:09:41 +08:00
Garfield Dai
7b37e05dec
feat: add billing switch. (#1789)
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
2023-12-20 15:37:57 +08:00
Jyong
022450768f
fix gpt 4v upload image issue (#1799)
Co-authored-by: jyong <jyong@dify.ai>
2023-12-20 13:03:08 +08:00
Jyong
5e34f938c1
Feat/add unstructured support (#1780)
Co-authored-by: jyong <jyong@dify.ai>
2023-12-18 23:24:06 +08:00
zxhlyh
1a5279a3ef
fix: get billing info in self-hosted edition from current workspace (#1774) 2023-12-18 17:54:16 +08:00
Garfield Dai
2de73991ff
feat: only tenant owner can subscription. (#1770) 2023-12-18 16:59:31 +08:00
zxhlyh
5bb841935e
feat: custom webapp logo (#1766) 2023-12-18 16:25:37 +08:00
Jyong
a71f2863ac
Annotation management (#1767)
Co-authored-by: jyong <jyong@dify.ai>
2023-12-18 13:10:05 +08:00
Garfield Dai
6b499b9a16
remove stripe and anthropic. (#1746) 2023-12-12 17:59:07 +08:00
Garfield Dai
7b8a10f3ea
feat: billing enhancement 20231204 (#1691)
Co-authored-by: jyong <jyong@dify.ai>
2023-12-05 16:53:55 +08:00
Garfield Dai
1263b7de75
fix: vector_size convert bytes to MB. (#1684) 2023-12-04 10:51:40 +08:00
Garfield Dai
053102f433
Feat/dify billing (#1679)
Co-authored-by: jyong <jyong@dify.ai>
Co-authored-by: takatost <takatost@users.noreply.github.com>
2023-12-03 20:59:29 +08:00
Yeuoly
d3a2c0ed34
fix wrong syntax of type definitions (#1678) 2023-12-03 20:59:13 +08:00
Jyong
74b2260ba6
fix score_threshold_enabled name (#1626)
Co-authored-by: jyong <jyong@dify.ai>
2023-11-27 15:34:45 +08:00
Jyong
a5b80c9d1f
Fix/multi thread parameter (#1604) 2023-11-22 18:31:29 +08:00
takatost
1f58f15bff
feat: optimize db connections in thread (#1601) 2023-11-22 16:55:59 +08:00
takatost
c9368925a3
feat: add supported_model_types field and filter in provider list (#1581) 2023-11-21 15:06:47 +08:00
Matri
d0456d0f42
feat: configurable invite expiry time (#1573) 2023-11-21 11:50:06 +08:00
Jyong
4588831bff
Feat/add retriever rerank (#1560)
Co-authored-by: jyong <jyong@dify.ai>
2023-11-17 22:13:37 +08:00
takatost
41d0a8b295
feat: [backend] vision support (#1510)
Co-authored-by: Garfield Dai <dai.hai@foxmail.com>
2023-11-13 22:05:46 +08:00
takatost
2b2dbabc11
fix: prompt variables validate when using external data tools (#1465) 2023-11-06 06:31:41 -06:00
Garfield Dai
db43ed6f41
feat: add api-based extension & external data tool & moderation backend (#1403)
Co-authored-by: takatost <takatost@gmail.com>
2023-11-06 19:36:16 +08:00
YiLi
7699621983
fix: Use correct typehint for return values (#1454)
Co-authored-by: lethe <lethe>
2023-11-06 04:50:51 -06:00
Garfield Dai
fe14130b3c
refactor advanced prompt core. (#1350) 2023-10-18 20:02:52 +08:00
takatost
c039f4af83
fix: app model config detached in completion thread (#1366) 2023-10-17 08:18:08 -05:00
Garfield Dai
695841a3cf
Feat/advanced prompt enhancement (#1340) 2023-10-13 16:47:01 +08:00
Garfield Dai
42a5b3ec17
feat: advanced prompt backend (#1301)
Co-authored-by: takatost <takatost@gmail.com>
2023-10-12 10:13:10 -05:00
Jyong
289c93d081
Feat/improve document delete logic (#1325)
Co-authored-by: jyong <jyong@dify.ai>
2023-10-12 13:30:44 +08:00
Charlie.Wei
9e7efa45d4
document segmentApi Add get&update&delete operate (#1285)
Co-authored-by: luowei <glpat-EjySCyNjWiLqAED-YmwM>
2023-10-10 13:27:06 +08:00
takatost
373e90ee6d
fix: detached model in completion thread (#1269) 2023-10-02 22:27:25 +08:00
takatost
41d4c5b424
fix: count down thread in completion db not commit (#1267) 2023-10-02 10:19:26 +08:00
takatost
86a9dea428
fix: db not commit when streaming output (#1266) 2023-10-01 16:41:52 +08:00
takatost
8606d80c66
fix: request timeout when openai completion (#1265) 2023-10-01 16:00:23 +08:00
Jyong
46154c6705
Feat/dataset service api (#1245)
Co-authored-by: jyong <jyong@dify.ai>
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
2023-09-27 16:06:32 +08:00
Garfield Dai
54ff03c35d
fix: dataset query error. (#1244) 2023-09-27 15:24:54 +08:00
Garfield Dai
18c710c906
feat: support binding context var (#1227)
Co-authored-by: Joel <iamjoel007@gmail.com>
2023-09-27 14:53:22 +08:00
zxhlyh
227f9fb77d
Feat/api jwt (#1212) 2023-09-25 12:49:16 +08:00
Jyong
269a465fc4
Feat/improve vector database logic (#1193)
Co-authored-by: jyong <jyong@dify.ai>
2023-09-18 18:15:41 +08:00
takatost
827c97f0d3
feat: add zhipuai (#1188) 2023-09-18 17:32:31 +08:00
Matri
fc68c81791
fix: correct invite url (#1173) 2023-09-14 12:07:34 +08:00
Jyong
5d9070bc60
Feat/add blocking mode resource return (#1171)
Co-authored-by: jyong <jyong@dify.ai>
2023-09-13 18:53:35 +08:00
takatost
983834cd52
feat: spark check (#1134) 2023-09-11 17:31:03 +08:00
Jyong
642842d61b
Feat:dataset retiever resource (#1123)
Co-authored-by: jyong <jyong@dify.ai>
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
2023-09-10 15:17:43 +08:00
Joel
2d5ad0d208
feat: support optional query content (#1097)
Co-authored-by: Garfield Dai <dai.hai@foxmail.com>
2023-09-10 00:12:34 +08:00
takatost
2658c4d57b
fix: answer returned null when response_mode was blocking (#1133) 2023-09-09 23:22:21 +08:00
Matri
a5d21f3b09
fix: shortening invite url (#1100)
Co-authored-by: MatriQi <matri@aifi.io>
2023-09-07 17:15:57 +08:00
KVOJJJin
c67f345d0e
Fix: disable operations of dataset when embedding unavailable (#1055)
Co-authored-by: jyong <jyong@dify.ai>
2023-08-30 17:27:19 +08:00
Jyong
a55ba6e614
Fix/ignore economy dataset (#1043)
Co-authored-by: jyong <jyong@dify.ai>
2023-08-29 03:37:45 +08:00
Jyong
16199e968e
fix notion import limit check (#1042)
Co-authored-by: jyong <jyong@dify.ai>
2023-08-28 16:49:03 +08:00
Jyong
2d604d9330
Fix/filter empty segment (#1004)
Co-authored-by: jyong <jyong@dify.ai>
2023-08-25 15:50:29 +08:00
yezhwi
c1602aafc7
refactor:cache in place & function name (#1001) 2023-08-24 22:54:21 +08:00
Jyong
5397799aac
document limit (#999)
Co-authored-by: jyong <jyong@dify.ai>
2023-08-24 21:27:13 +08:00
yezhwi
117a209ad4
Fix:condition for dataset availability check (#973) 2023-08-23 19:57:27 +08:00
Jyong
aee15adf1b
update document segment (#948)
Co-authored-by: jyong <jyong@dify.ai>
2023-08-22 15:19:09 +08:00
Jyong
4b53bb1a32
Feat/token support (#909)
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
Co-authored-by: jyong <jyong@dify.ai>
2023-08-21 13:57:18 +08:00
takatost
22c1aafb9b
fix: document paused at format error (#925) 2023-08-20 01:54:12 +08:00
Jyong
db7156dafd
Feature/mutil embedding model (#908)
Co-authored-by: JzoNg <jzongcode@gmail.com>
Co-authored-by: jyong <jyong@dify.ai>
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
2023-08-18 17:37:31 +08:00
takatost
9adbeadeec
feat: claude paid optimize (#890) 2023-08-17 16:56:20 +08:00
takatost
f42e7d1a61
feat: add spark v2 support (#885) 2023-08-17 15:08:57 +08:00
takatost
cc2d71c253
feat: optimize override app model config convert (#874) 2023-08-16 20:48:42 +08:00
Matri
2c77a74c40
fix: frontend permission check (#784) 2023-08-15 13:35:47 +08:00
takatost
cc52cdc2a9
Feat/add free provider apply (#829) 2023-08-14 12:44:35 +08:00
takatost
8e15ba6cd6
Fix/no trial provider (#823) 2023-08-13 14:56:32 +08:00
takatost
5fa2161b05
feat: server multi models support (#799) 2023-08-12 00:57:00 +08:00
Jyong
082f8b17ab
Feat/milvus support (#671)
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
Co-authored-by: JzoNg <jzongcode@gmail.com>
2023-07-28 22:19:39 +08:00
KVOJJJin
cf93d8d6e2
Feat: Q&A format segmentation support (#668)
Co-authored-by: jyong <718720800@qq.com>
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
2023-07-28 20:47:15 +08:00
John Wang
b5825142d1
feat: add current time tool in universal chat agent (#659) 2023-07-27 17:39:36 +08:00
John Wang
538e3fc256
fix: return message error in blocking mode (#657) 2023-07-27 16:14:45 +08:00
John Wang
4fdb37771a
feat: universal chat in explore (#649)
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
2023-07-27 13:08:57 +08:00
John Wang
7599f79a17
feat: claude api support (#572) 2023-07-17 00:14:19 +08:00
Jyong
2c6e00174b
add document limit check (#570) 2023-07-16 13:21:56 +08:00
KVOJJJin
cd51d3323b
feat: member invitation and activation (#535)
Co-authored-by: John Wang <takatost@gmail.com>
2023-07-14 11:19:26 +08:00
zxhlyh
397a92f2ee
convert audio wav to mp3 (#552) 2023-07-12 17:18:56 +08:00
zxhlyh
a03a92e9db
Feat/chat support voice input (#532) 2023-07-07 17:50:42 +08:00
John Wang
ed6648a41e
feat: dataset list add order by created at (#487) 2023-07-05 11:00:21 +08:00
crazywoola
97e9ebd29a
Feature/add is deleted to conversations (#470) 2023-06-28 13:31:51 +08:00
John Wang
3241e4015b
feat: upgrade langchain (#430)
Co-authored-by: jyong <718720800@qq.com>
2023-06-25 16:49:14 +08:00
Jyong
ce2996e7d4
Fix/dataset init (#409) 2023-06-19 16:32:03 +08:00
Jyong
9253f72dea
Feat/dataset notion import (#392)
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
Co-authored-by: JzoNg <jzongcode@gmail.com>
2023-06-16 21:47:51 +08:00
Columbus
5943385d42
Fix: the bug that allows regular users to add unregistered users to the workspace. (#328) 2023-06-09 16:07:53 +08:00
KVOJJJin
c67f626b66
Feat: Support re-segmentation (#114)
Co-authored-by: John Wang <takatost@gmail.com>
Co-authored-by: Jyong <718720800@qq.com>
Co-authored-by: 金伟强 <iamjoel007@gmail.com>
2023-06-01 23:19:36 +08:00
John Wang
ccd80653ff
fix: query empty not allow (#255) 2023-05-30 12:24:51 +08:00
John Wang
93ae18ea12
Feat: explore apps (#196) 2023-05-25 15:54:45 +08:00
Jyong
e2bf18053c
Fix/dateset update rule (#177) 2023-05-23 22:54:59 +08:00
killpanda
c6ba67a770
add a config to disable provider config validation (#85) 2023-05-18 08:25:37 +08:00
John Wang
db896255d6 Initial commit 2023-05-15 08:51:32 +08:00