Commit Graph

240 Commits (ce794335e9d473b3bcb78330c9546cf5298ccafe)

Author SHA1 Message Date
-LAN- 5172f0bf39
feat: Check and compare the DSL version before import an app (#10969)
Co-authored-by: Yi <yxiaoisme@gmail.com>
1 year ago
KVOJJJin 328965ed7c
Fix: crash of workflow file upload (#10831)
Co-authored-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
1 year ago
Jyong 128efc3193
Feat/clean message records (#10588) 1 year ago
Bowen Liang 51db59622c
chore(lint): cleanup repeated cause exception in logging.exception replaced by helpful message (#10425) 1 year ago
-LAN- 25ca0278dd
refactor(core): Remove extra_config from File. (#10203) 1 year ago
-LAN- 249b897872
feat(model): add validation for custom disclaimer length (#10287) 1 year ago
-LAN- 6452342222
feat(workflow): add configurable workflow file upload limit (#10176)
Co-authored-by: JzoNg <jzongcode@gmail.com>
1 year ago
-LAN- 6a2a9460e9
fix(workflow model): ensure consistent timestamp updating (#10172) 1 year ago
-LAN- bf048b8d7c
refactor(migration/model): update column types for workflow schema (#10160) 1 year ago
-LAN- 9ac2bb30f4
Feat/add-remote-file-upload-api (#9906) 1 year ago
-LAN- e5397c5ec2
feat(app_dsl_service): enhance error handling and DSL version management (#10108) 1 year ago
-LAN- dd3ac7a2c9
fix(api): add signature generation for image previews (#9893) 1 year ago
Jyong 18106a4fc6
add tidb on qdrant type (#9831)
Co-authored-by: Zhaofeng Miao <522856232@qq.com>
1 year ago
-LAN- 2c26f77a25
fix(api): handle missing upload_file_id for tool_file messages (#9756) 1 year ago
-LAN- 0e965b6529
chore(models): convert created_by_role to its value for consistency (#9612) 1 year ago
-LAN- 5f12c17355
fix(core): use CreatedByRole enum for role consistency (#9607) 1 year ago
-LAN- e61752bd3a
feat/enhance the multi-modal support (#8818) 1 year ago
Jyong 9d221a5e19
external knowledge api (#8913)
Co-authored-by: Yi <yxiaoisme@gmail.com>
1 year ago
Hash Brown 8c51d06222
feat: regenerate in `Chat`, `agent` and `Chatflow` app (#7661) 1 year ago
Bowen Liang a1104ab97e
chore: refurish python code by applying Pylint linter rules (#8322) 1 year ago
Bowen Liang 40fb4d16ef
chore: refurbish Python code by applying refurb linter rules (#8296) 1 year ago
Bowen Liang c69f5b07ba
chore: apply ruff E501 line-too-long linter rule (#8275)
Co-authored-by: -LAN- <laipz8200@outlook.com>
1 year ago
Bowen Liang d109881410
chore(api/models): apply ruff reformatting (#7600)
Co-authored-by: -LAN- <laipz8200@outlook.com>
1 year ago
takatost dabfd74622
feat: Parallel Execution of Nodes in Workflows (#8192)
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
Co-authored-by: Yi <yxiaoisme@gmail.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
1 year ago
Nam Vu 2d7954c7da
Fix variable typo (#8084) 1 year ago
kurokobo 80aa7c4019
feat: allow users to use the app icon as the answer icon (#7888)
Co-authored-by: crazywoola <427733928@qq.com>
1 year ago
kurokobo bc3a8e0ca2
feat: store created_by and updated_by for apps, modelconfigs, and sites (#7613) 1 year ago
kurokobo d7aa4076c9
feat: display account name on the logs page for the apps (#7668)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
1 year ago
crazywoola 2c427e04be
Feat/7134 use dataset api create a dataset with permission (#7508) 1 year ago
-LAN- eae53e11e6
refactor(api/models/workflow.py): Add `__init__` to Workflow (#7443) 1 year ago
-LAN- 2e9084f369
chore(database): Rename table name from `workflow__conversation_variables` to `workflow_conversation_variables`. (#7432) 1 year ago
Bowen Liang bbb6fcc4f0
chore: update ruff from 0.5.x to 0.6.x (#7384) 1 year ago
Hash Brown fbf31b5d52
feat: custom app icon (#7196)
Co-authored-by: crazywoola <427733928@qq.com>
1 year ago
-LAN- 32dc963556
feat(api/workflow): Add `Conversation.dialogue_count` (#7275) 1 year ago
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>
2 years ago
mago960806 a68df696ec
Fix issue with incorrect port number in app_base_url due to NAT networks (#6653) 2 years ago
crazywoola f667ef98cb
Feat/update tools length (#7141) 2 years ago
Hiroshige Aoki e23461c837
Fix/6615 40 varchar limit on DatasetCollectionBinding and Embedding model name (#6723) 2 years ago
crazywoola f324374b95
Fix/6615 40 varchar limit on model name (#6623) 2 years ago
Jyong e4bb943fe5
Feat/delete single dataset retrival (#6570) 2 years ago
-LAN- 5e6fc58db3
Feat/environment variables in workflow (#6515)
Co-authored-by: JzoNg <jzongcode@gmail.com>
2 years ago
Jyong 1e0e573165
update clean embedding cache query logic (#6483) 2 years ago
Poorandy 8a80af39c9
refactor(models&tools): switch to dify_config in models and tools. (#6394)
Co-authored-by: Poorandy <andymonicamua1@gmail.com>
2 years ago
Bowen Liang 7943f7f697
chore: fix legacy API usages of Query.get() by Session.get() in SqlAlchemy 2 (#6340) 2 years ago
Jyong 0de224b153
fix wrong using of RetrievalMethod Enum (#6345) 2 years ago
liuzhenghua 9622fbb62f
feat: app rate limit (#5844)
Co-authored-by: liuzhenghua-jk <liuzhenghua-jk@360shuke.com>
Co-authored-by: takatost <takatost@gmail.com>
2 years ago
Joe ce930f19b9
fix dataset operator (#6064)
Co-authored-by: JzoNg <jzongcode@gmail.com>
2 years ago
takatost 79df8825c8
Revert "feat: knowledge admin role" (#6018) 2 years ago
Joe 5d9ad430af
feat: knowledge admin role (#5965)
Co-authored-by: JzoNg <jzongcode@gmail.com>
Co-authored-by: jyong <718720800@qq.com>
2 years ago
takatost 1e045a0187
fix: slow sql of ops tracing (#5749) 2 years ago
takatost d30c13891b
feat: add fix-app-site-missing command (#5711) 2 years ago
Joe e8b8f6c6dd
Feat/fix ops trace (#5672)
Co-authored-by: takatost <takatost@gmail.com>
2 years ago
Diego Romero-Lovo 4c0a31d38b
FR: #4048 - Add color customization to the chatbot (#4885)
Co-authored-by: crazywoola <427733928@qq.com>
2 years ago
Joe 4e2de638af
feat: add ops trace (#5483)
Co-authored-by: takatost <takatost@gmail.com>
2 years ago
takatost 4a031de0d9
feat: make Citations and Attributions display enable default (#5508)
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
2 years ago
crazywoola 92ddb410cd
feat: option to hide workflow steps (#5436) 2 years ago
Bowen Liang c923684edd
chore: extract retrival method literal values into enum (#5060) 2 years ago
fishisnow e785cbb81d
Fix: multi image preview sign (#5376)
Co-authored-by: huangyusong <huangyusong@yingzi.com>
2 years ago
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>
2 years ago
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>
2 years ago
takatost d1dbbc1e33
feat: backend model load balancing support (#4927) 2 years ago
DomKing 38a470a873
fix: app_count of dataset is error when apps was deleted (#4810) 2 years ago
takatost 9e6b6e7b82
fix: workflow run sequence number slow sql (#4737) 2 years ago
Yeuoly e852a21634
Feat/workflow phase2 (#4687) 2 years ago
Jyong 233c4150d1
support images and tables extract from docx (#4619) 2 years ago
Bowen Liang 3a51f2a778
fix: workaround db migration error when adding custom_disclaimer column to recommended_apps (#4518)
Co-authored-by: takatost <takatost@gmail.com>
2 years ago
Matri a10c2ccd41
fix: files data missed for message (#4512) 2 years ago
Patryk Garstecki aa13d14019
Feat/chat custom disclaimer (#4306) 2 years ago
GalvinYang 6b99075dc8
fix: system default model name length (#4245) (#4246)
Co-authored-by: takatost <takatost@gmail.com>
2 years ago
takatost 8f3042e5b3
feat: Add draft hash check in workflow (#4251) 2 years ago
Jyong 3e9dbe3e0a
add pgvecto_rs support and upgrade SQLAlchemy (#3833) 2 years ago
Bowen Liang c54fcfb45d
extract enum type for tenant account role (#3788) 2 years ago
Jyong f257f2c396
Knowledge optimization (#3755)
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: JzoNg <jzongcode@gmail.com>
2 years ago
Garfield Dai 4481906be2
Feat/enterprise sso (#3602) 2 years ago
LIU HONGWEI c227f3d985
feat: Deprecate datetime.utcnow() in favor of datetime.now(timezone.utc).replace(tzinfo=None) for better timezone handling (#3408) (#3416) 2 years ago
takatost 4ad3f2cdc2
fix: image text when retrieve chat histories (#3220) 2 years ago
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>
2 years ago
Jyong 5e66a60f1c
add embedding cache and clean embedding cache job (#3087)
Co-authored-by: jyong <jyong@dify.ai>
2 years ago
Jyong a94d86da6d
add keyword table s3 storage support (#3065)
Co-authored-by: jyong <jyong@dify.ai>
2 years ago
Jyong c3d0cf940c
add tenant id index for document and document_segment table (#2873)
Co-authored-by: jyong <jyong@dify.ai>
2 years ago
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>
2 years ago
Bowen Liang 801d135390
generalize the generation of new collection name by dataset id (#2620) 2 years ago
Jyong 6c4e6bf1d6
Feat/dify rag (#2528)
Co-authored-by: jyong <jyong@dify.ai>
2 years ago
Bowen Liang 063191889d
chore: apply ruff's pyupgrade linter rules to modernize Python code with targeted version (#2419) 2 years ago
Bowen Liang 843280f82b
enhancement: introduce Ruff for Python linter for reordering and removing unused imports with automated pre-commit and sytle check (#2366) 2 years ago
crazywoola a8f23ed712
Feat/move tenant id into db (#2341) 2 years ago
takatost 9f637ead38
bump version to 0.5.3 (#2306) 2 years ago
Ricky 2660fbaa20
Fix/typos (#2308) 2 years ago
KVOJJJin 89fcf4ea7c
Feat: chunk overlap supported (#2209)
Co-authored-by: jyong <jyong@dify.ai>
2 years ago
crazywoola 828822243a
fix: multiple rows were found correctly (#2219) 2 years ago
Yeuoly 7cb75cb2e7
feat: add tool labels (#2178) 2 years ago
Yeuoly c8fb619d37
fix: add tool index (#2152) 2 years ago
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>
2 years ago
Yeuoly 86286e1ac8
Feat/assistant app (#2086)
Co-authored-by: chenhe <guchenhe@gmail.com>
Co-authored-by: Pascal M <11357019+perzeuss@users.noreply.github.com>
2 years ago
crazywoola e19ad023d2
Fix/2102 long dify app description throws backend exception (#2112) 2 years ago
crazywoola ec1659cba0
fix: saving error in empty dataset (#2098) 2 years ago
Bowen Liang cc9e74123c
improve: introduce isort for linting Python imports (#1983) 2 years ago
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>
2 years ago
Jyong 185c2f86cd
Compatible with the situation where there is no user information. (#1792)
Co-authored-by: jyong <jyong@dify.ai>
2 years ago
zxhlyh 867fc61b12
fix: web app text (#1784) 2 years ago
Jyong 5e34f938c1
Feat/add unstructured support (#1780)
Co-authored-by: jyong <jyong@dify.ai>
2 years ago
zxhlyh 5bb841935e
feat: custom webapp logo (#1766) 2 years ago
Jyong a71f2863ac
Annotation management (#1767)
Co-authored-by: jyong <jyong@dify.ai>
2 years ago
Garfield Dai 6b499b9a16
remove stripe and anthropic. (#1746) 2 years ago
Jyong 74b2260ba6
fix score_threshold_enabled name (#1626)
Co-authored-by: jyong <jyong@dify.ai>
2 years ago
Jyong 4588831bff
Feat/add retriever rerank (#1560)
Co-authored-by: jyong <jyong@dify.ai>
2 years ago
takatost 41d0a8b295
feat: [backend] vision support (#1510)
Co-authored-by: Garfield Dai <dai.hai@foxmail.com>
2 years ago
takatost 2423563d45
fix: external data tool parse error (#1469) 2 years ago
takatost 260672986e
fix: universal chat external_data_tools NPE (#1467) 2 years ago
Garfield Dai db43ed6f41
feat: add api-based extension & external data tool & moderation backend (#1403)
Co-authored-by: takatost <takatost@gmail.com>
2 years ago
Garfield Dai 42a5b3ec17
feat: advanced prompt backend (#1301)
Co-authored-by: takatost <takatost@gmail.com>
2 years ago
takatost 9cba1c8bf4
fix: retriever_resource missing (#1317) 2 years ago
Jyong 46154c6705
Feat/dataset service api (#1245)
Co-authored-by: jyong <jyong@dify.ai>
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
2 years ago
Garfield Dai 54ff03c35d
fix: dataset query error. (#1244) 2 years ago
Garfield Dai 18c710c906
feat: support binding context var (#1227)
Co-authored-by: Joel <iamjoel007@gmail.com>
2 years ago
Jyong 269a465fc4
Feat/improve vector database logic (#1193)
Co-authored-by: jyong <jyong@dify.ai>
2 years ago
Jyong 5d9070bc60
Feat/add blocking mode resource return (#1171)
Co-authored-by: jyong <jyong@dify.ai>
2 years ago
Jyong 642842d61b
Feat:dataset retiever resource (#1123)
Co-authored-by: jyong <jyong@dify.ai>
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
2 years ago
Jyong a55ba6e614
Fix/ignore economy dataset (#1043)
Co-authored-by: jyong <jyong@dify.ai>
2 years ago
takatost 0a0d63457d
feat: record price unit in messages (#919) 3 years ago
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>
3 years ago
takatost 6ca3bcbcfd
fix: sensitive_word_avoidance npe (#902) 3 years ago
takatost cc2d71c253
feat: optimize override app model config convert (#874) 3 years ago
takatost 5fa2161b05
feat: server multi models support (#799) 3 years ago
takatost 396197e881
fix: not annotation error in log (#686) 3 years ago
KVOJJJin cf93d8d6e2
Feat: Q&A format segmentation support (#668)
Co-authored-by: jyong <718720800@qq.com>
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
3 years ago
John Wang 4fdb37771a
feat: universal chat in explore (#649)
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
3 years ago
TheFu527 94b54b7ca9
feat: replace the end user column in the web page Log & Ann. with the… (#653)
Co-authored-by: Hao Fu <hao.fu@helloklarity.com>
3 years ago
KVOJJJin cd51d3323b
feat: member invitation and activation (#535)
Co-authored-by: John Wang <takatost@gmail.com>
3 years ago
zxhlyh a03a92e9db
Feat/chat support voice input (#532) 3 years ago
crazywoola 97e9ebd29a
Feature/add is deleted to conversations (#470) 3 years ago
John Wang 3241e4015b
feat: upgrade langchain (#430)
Co-authored-by: jyong <718720800@qq.com>
3 years ago
Jyong 9253f72dea
Feat/dataset notion import (#392)
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
Co-authored-by: JzoNg <jzongcode@gmail.com>
3 years ago
John Wang 7552a6be36
feat: add last active at for accounts (#375) 3 years ago
John Wang ae94b067b3
feat: new stats (#265) 3 years ago
John Wang 023783372e
feat: explore support multi language (#202) 3 years ago
John Wang 93ae18ea12
Feat: explore apps (#196) 3 years ago
John Wang a4713c01d5
fix: remove v1 in app_base_url (#55) 3 years ago
John Wang 8847bb1e45
Feat/optimize install wildcard support (#53) 3 years ago
John Wang db896255d6 Initial commit 3 years ago