Commit Graph

343 Commits

Author SHA1 Message Date
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
天魂
1df71ec64d
refactor(api): switch to dify_config with Pydantic in controllers and schedule (#6237) 2024-07-12 16:51:43 +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
Pascal M
415816cf35
feat: add dataset delete endpoint (#5048) 2024-06-11 11:21:38 +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
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
非法操作
e121788ff5
chore: make the error msg more clear when validate app token (#4919)
Co-authored-by: Jyong <76649700+johnjyong@users.noreply.github.com>
2024-06-04 18:04:10 +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
crazywoola
16fec084f5
Fix/4630 bug api suggested (#4633) 2024-05-24 11:11:12 +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
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
sqj8899
0a56c522eb
get dict key indexing_technique in DocumentAddByFileApi (#3615)
Co-authored-by: songqijun <songqijun@qipeng.com>
2024-04-19 09:37:11 +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
Jyong
394ceee141
optimize question classifier prompt and support keyword hit test (#3565) 2024-04-17 17:40:40 +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
呆萌闷油瓶
5102430a68
feat:add 'name' field return (#3152) 2024-04-10 22:34:43 +08:00
takatost
f599f41336
fix: empty conversation list of explore chatbot (#3235) 2024-04-09 17:04:48 +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
Jyong
e12a0c154c
add segment function billing check for SAAS env (#3082)
Co-authored-by: jyong <jyong@dify.ai>
2024-04-02 17:55:49 +08:00
takatost
32e83e00e4
feat: use en-US as fallback recommend app if using unmaintained language (#3063) 2024-04-01 16:15:59 +08:00
Bowen Liang
1f98a4fff3
improve: cache tool icons by setting max-age HTTP header and enable gzip compression SVG icons from backend (#2971) 2024-03-26 10:11:43 +08:00
wangkehan
c7d003d551
fix: Upgrade duckduckgo-search to version 5.1.0 & update document segment api parameter error (#2938) 2024-03-22 19:18:01 +08:00
Yeuoly
f29280ba5c
Fix/compatible to old tool config (#2839) 2024-03-15 11:44:24 +08:00
Yeuoly
bbea3a6b84
fix: compatible to old tool config (#2837) 2024-03-14 17:51:11 +08:00
Charlie.Wei
fd7aade26b
Fix tts api err (#2809)
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-03-13 15:38:10 +08:00
Yeuoly
f8951d7f57
fix: api tool provider not found (#2782) 2024-03-11 18:21:41 +08:00
crazywoola
3c91f9b5ab
fix: dataset segements api (#2766) 2024-03-11 09:26:15 +08:00
Yeuoly
ce58f0607b
Feat/tool secret parameter (#2760) 2024-03-08 20:31:13 +08:00
Yeuoly
40c646cf7a
Feat/model as tool (#2744) 2024-03-08 15:22:55 +08:00
Charlie.Wei
6a6133c102
Fix voice selection (#2664)
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-03-04 17:50:06 +08:00
Yeuoly
36686d7425
fix: test custom tool already exists without decrypting credentials (#2668) 2024-03-04 14:16:47 +08:00
takatost
76da66fb7e
fix: fix import from explore apps err when OpenAI not inited (#2671) 2024-03-04 14:06:54 +08:00
Garfield Dai
8e66b96221
Feat: Add documents limitation (#2662) 2024-03-03 12:45:06 +08:00
takatost
90bdc85f8c
fix: AppParameterApi.get() got an unexpected keyword argument 'end_user' (#2607) 2024-02-28 16:46:50 +08:00
takatost
0828873b52
fix: missing default user for APP service api (#2606) 2024-02-28 16:09:56 +08:00
crazywoola
582ba45c00
Fix 500 error when creating from the template and the provider is None (#2591) 2024-02-28 11:27:17 +08:00
Jyong
5b953c1ef2
Fix some RAG bugs (#2570)
Co-authored-by: jyong <jyong@dify.ai>
2024-02-27 11:39:05 +08:00
Jyong
6c4e6bf1d6
Feat/dify rag (#2528)
Co-authored-by: jyong <jyong@dify.ai>
2024-02-22 23:31:57 +08:00
zxhlyh
207080babc
fix: audio to text (#2493) 2024-02-20 15:16:46 +08:00
takatost
58df5e5376
fix: tts voice language to zh-Hans instead of zh-CN (#2450) 2024-02-16 00:05:29 +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
takatost
e6d22fc3a0
fix: account has no owner workspace by member inviting (#2435) 2024-02-12 02:09:01 +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
65a02f7d32
chore: apply F811 linter rule to eliminate redefined imports and methods (#2412) 2024-02-07 16:28:45 +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
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
Chenhe Gu
09acf215f0
add option to prompt for a validation password when initializing admin user (#2302) 2024-02-01 15:03:56 +08:00
Yeuoly
83063532a0
Fix/api tool (#2317) 2024-02-01 09:10:32 +08:00
Yeuoly
34634bddf1
fix: setting default model to gpt-3.5-turbo-1106 and remove default m… (#2274) 2024-01-30 13:04:17 +08:00
crazywoola
b4988ce20c
fix: missing keys language in parser (#2271) 2024-01-29 17:59:59 +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
takatost
5a6cb69951
fix: user handling in stop api (#2254) 2024-01-27 19:05:37 +08:00
Garfield Dai
bb5d5fc683
Feat/billing enhancement (#2239)
Co-authored-by: takatost <takatost@gmail.com>
2024-01-26 18:26:15 +08:00
crazywoola
828822243a
fix: multiple rows were found correctly (#2219) 2024-01-26 12:47:42 +08:00
IAMZn
d60f1a5601
fix:determine multiple result exceptions caused by admin (#2211)
Co-authored-by: chenxin <chenxin@limayao.com>
2024-01-26 00:06:23 +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
Yeuoly
7cb75cb2e7
feat: add tool labels (#2178) 2024-01-24 20:14:45 +08:00
Garfield Dai
95ad06c8c3
feat: utm supports. (#2181) 2024-01-24 20:14:02 +08:00
takatost
6d94126368
fix: transcript asr params wrong (#2162) 2024-01-24 13:36:04 +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
takatost
23e02d8eb0
feat: remove universal chat app (#2140) 2024-01-23 20:31:28 +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
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
crazywoola
ec1659cba0
fix: saving error in empty dataset (#2098) 2024-01-19 20:12:04 +08:00
Bowen Liang
e2c89a9487
fix: bypass admin users to use dataset api with API key (#2072) 2024-01-19 17:23:05 +08:00
takatost
1a6ad05a23
feat: service api add llm usage (#2051) 2024-01-17 22:39:47 +08:00
killpanda
3ebec8fa41
fixup /stop api (#2012)
Co-authored-by: mayue <mayue05@qiyi.com>
2024-01-12 19:10:42 +08:00
Bowen Liang
cc9e74123c
improve: introduce isort for linting Python imports (#1983) 2024-01-12 12:34:01 +08:00
Jyong
5e75f7022f
fix data_source_detail_dict parameter error (#2000)
Co-authored-by: jyong <jyong@dify.ai>
2024-01-11 17:49:20 +08:00
Jyong
4d99c689f0
prohibit enable and disable function when segment is not completed (#1954)
Co-authored-by: jyong <jyong@dify.ai>
Co-authored-by: Joel <iamjoel007@gmail.com>
2024-01-05 18:18:38 +08:00
takatost
f4d97ef9fa
fix: arg user required and must not be null in service generate api (#1943) 2024-01-05 14:28:03 +08:00
takatost
b88a8f7bb1
feat: optimize invoke errors (#1922) 2024-01-04 17:49:55 +08:00
takatost
b4225bedb5
fix: app create raise error when no available model providers (#1921) 2024-01-04 17:33:26 +08:00
takatost
4562e83b24
fix: hit testing throws errors cause internal server error (#1865) 2024-01-03 08:57:39 +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
e91dd28a76
fix file estimate issue (#1860)
Co-authored-by: jyong <jyong@dify.ai>
2024-01-02 16:25:59 +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
taokuizu
10fc44e2af
fix typo (#1791) 2023-12-19 17:23:49 +08:00
zxhlyh
867fc61b12
fix: web app text (#1784) 2023-12-19 11:45:16 +08:00
Jyong
5e34f938c1
Feat/add unstructured support (#1780)
Co-authored-by: jyong <jyong@dify.ai>
2023-12-18 23:24:06 +08:00
Jyong
2fd56cb01c
Fix/vdb index issue (#1776)
Co-authored-by: jyong <jyong@dify.ai>
2023-12-18 21:33:54 +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
96d2de2258
fix annotation reply in universal chat (#1768)
Co-authored-by: jyong <jyong@dify.ai>
2023-12-18 15:04:17 +08:00
Jyong
a71f2863ac
Annotation management (#1767)
Co-authored-by: jyong <jyong@dify.ai>
2023-12-18 13:10:05 +08:00
Garfield Dai
7c43123956
feat: can replace logo. (#1752) 2023-12-13 20:21:39 +08:00
Garfield Dai
6b499b9a16
remove stripe and anthropic. (#1746) 2023-12-12 17:59:07 +08:00
crazywoola
38b55d2186
fix: default types (#1728) 2023-12-09 23:38:07 +08:00
crazywoola
a3dca3dabc
fix: auto generate type error in controllers/web/conversation.py (#1718) 2023-12-08 11:15: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
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
crazywoola
cf0ba794d7
fix: old webapp url still valid (#1643) 2023-11-28 20:04:46 +08:00