Commit Graph

307 Commits

Author SHA1 Message Date
Jyong
57729823a0
fix wrong method using (#6459) 2024-07-19 13:48:13 +08:00
Songyawn
218930c897
fix tool icon get failed (#6375)
Co-authored-by: songyawen <songyawen@zkme.xyz>
2024-07-18 18:55:48 +08:00
Jyong
f55876bcc5
fix web import url is too long (#6402) 2024-07-18 01:14:36 +08:00
FamousMai
20f73cb756
fix: default model set wrong(#6327) (#6332)
Co-authored-by: maiyouming <maiyouming@yafex.cn>
2024-07-17 14:14:12 +08:00
Jyong
0de224b153
fix wrong using of RetrievalMethod Enum (#6345) 2024-07-16 19:09:04 +08:00
Jyong
d320d1468d
Feat/delete file when clean document (#5882) 2024-07-15 19:57:05 +08:00
takatost
46a5294d94
feat(backend): support import DSL from URL (#6287) 2024-07-15 16:23:40 +08:00
Waffle
7b225a5ab0
refactor(services/tasks): Swtich to dify_config witch Pydantic (#6203) 2024-07-12 12:25:38 +08:00
dufei
109de52fe2
Fix: When editing an Agent, selecting custom tools does not allow filtering by labels. (#6197)
Co-authored-by: dufei <du_fei@venusgroup.com.cn>
2024-07-12 09:02:25 +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
chenxu9741
6ef401a9f0
feat:add tts-streaming config and future (#5492) 2024-07-09 11:33:58 +08:00
takatost
68b1d063f7
chore: remove tsne unused code (#6077) 2024-07-08 21:25:19 +08:00
crazywoola
3ec80f9dda
Fix/6034 get random order of categories in explore and workflow is missing in zh hant (#6043) 2024-07-07 17:06:47 +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
Jyong
0944ca9d91
Fix/remove tsne position test (#5858)
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
2024-07-02 17:57:42 +08:00
Jyong
af308b99a3
sync delete app table record when delete app (#5819) 2024-07-02 08:48:29 +08:00
Jyong
71bcf75d9a
Feat/add delete knowledge confirm (#5810) 2024-07-01 17:06:51 +08:00
Charles Zhou
cb09dbef66
feat: correctly delete applications using Celery workers (#5787) 2024-07-01 14:21:17 +08:00
takatost
906857b28a
fix: couldn't log in or resetup after a failed setup (#5739) 2024-06-29 17:07:21 +08:00
Bowen Liang
dcb72e0067
chore: apply flake8-comprehensions Ruff rules to improve collection comprehensions (#5652)
Co-authored-by: -LAN- <laipz8200@outlook.com>
2024-06-27 11:21:31 +08:00
Joe
4e2de638af
feat: add ops trace (#5483)
Co-authored-by: takatost <takatost@gmail.com>
2024-06-26 17:33:29 +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
kurokobo
c5d64baba4
fix: correct typos (#5510) 2024-06-22 23:01:02 +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
Jyong
07387e9586
add the filename length limit (#5326) 2024-06-17 20:36:54 +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
Summer-Gu
7f98c2ea3f
refactor: Delete the dataset to verify whether it is in use (#5112) 2024-06-14 03:25:38 +08:00
takatost
5ec7d85629
fix: issues by pydantic2 upgrade (#5171) 2024-06-14 02:28:28 +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
takatost
5986841e27
fix: issue where an error occurs when invoking TTS without selecting a voice (#5046) 2024-06-09 20:28:24 +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
Bowen Liang
b234710af9
chore: fix invalid escape sequences by applying W605 rule (#4851) 2024-06-02 10:02:37 +08:00
Yeuoly
e852a21634
Feat/workflow phase2 (#4687) 2024-05-27 22:01:11 +08:00
Benjamin
46bd53a929
chore: sort categories in recommended app service response (#4498) 2024-05-19 22:44:29 +08:00
Bowen Liang
04ad46dd31
chore: skip unnecessary key checks prior to accessing a dictionary (#4497) 2024-05-19 18:30:45 +08:00
Patryk Garstecki
aa13d14019
Feat/chat custom disclaimer (#4306) 2024-05-18 10:52:48 +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
takatost
8f3042e5b3
feat: Add draft hash check in workflow (#4251) 2024-05-10 14:48:29 +08:00
Jyong
591b993685
fix dataset segment update api not effect issue (#4151) 2024-05-07 17:47:20 +08:00
羊羽
13292ff73e
🦄 refactor(dataset svc): delete check none (#4101)
Co-authored-by: baxiang <baxiang@lixiang.com>
2024-05-06 11:45:26 +08:00
Yeuoly
67902b5da7
fix: agent log timezone (#4076) 2024-05-04 16:17:15 +08:00
Charlie.Wei
f62b2b5b45
optimize the knowledge failed documents query (#3870)
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-04-26 11:47:23 +08:00
Garfield Dai
9cbb8ddd7f
fix: billing tenant account role. (#3850) 2024-04-25 21:55:08 +08:00
Bowen Liang
c54fcfb45d
extract enum type for tenant account role (#3788) 2024-04-25 18:20:08 +08:00
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