Commit Graph

141 Commits (10e6b11ff66901acb35f2fca5be4dbf554d8b749)

Author SHA1 Message Date
-LAN- 39ace9bdee
fix(app_generator): improve error handling for closed file I/O operat… (#12073)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
-LAN- 83ea931e3c
refactor: optimize database usage (#12071)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
yihong 56e15d09a9
feat: mypy for all type check (#10921) 1 year ago
Novice c1aa55f3ea
fix: remove the unused retry index field (#11903)
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: Novice Lee <novicelee@NoviPro.local>
Co-authored-by: -LAN- <laipz8200@outlook.com>
1 year ago
-LAN- dd0e81d094
fix: enhance type hints and improve audio message handling in TTS pub… (#11947)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
Novice 7abc7fa573
Feat: Retry on node execution errors (#11871)
Co-authored-by: Novice Lee <novicelee@NoviPro.local>
1 year ago
Novice e0b67536e0
fix: remove the unused QueueWorkflowPartialSuccessEvent handle in workflow (#11669)
Co-authored-by: Novice Lee <novicelee@NoviPro.local>
1 year ago
yihong efd5575683
fix: _handle_workflow_run_partial_success args is wrong (#11562)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
1 year ago
Novice 79a710ce98
Feat: continue on error (#11458)
Co-authored-by: Novice Lee <novicelee@NovicedeMacBook-Pro.local>
Co-authored-by: Novice Lee <novicelee@NoviPro.local>
1 year ago
yihong 225fcd5e41
Revert "fix: total tokens is wrong which is zero in inter way, close … (#11536) 1 year ago
-LAN- fd354d999d
fix(app_generator_service): overload type hints (#11507)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
Jyong a8d32f9964
fix external retrieval without segment id (#11423) 1 year ago
yihong 5669cac16d
fix: some typos using typos (#11374)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
1 year ago
Yi Xiao e135ffc2c1
Feat: upgrade variable assigner (#11285)
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
1 year ago
Hash Brown c4fad66f2a
fix: `dialogue_count` incorrect in chatflow when there's... (#11175) 1 year ago
-LAN- c34bdb74e6
Fix/type-error (#11240)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
yihong fd4be36991
fix: total tokens is wrong which is zero in inter way, close #11221 (#11224)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
1 year ago
-LAN- 8d5a1be227
fix: Cannot use files in the user inputs. (#11112) 1 year ago
-LAN- 3eb51d85da
fix(workflow_entry): Support receive File and FileList in single step run. (#10947)
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: JzoNg <jzongcode@gmail.com>
1 year ago
Bowen Liang 6c8e208ef3
chore: bump minimum supported Python version to 3.11 (#10386) 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
crazywoola 2fed55ae6b
Fix: number maybe empty string (#10743) 1 year ago
Bowen Liang 51db59622c
chore(lint): cleanup repeated cause exception in logging.exception replaced by helpful message (#10425) 1 year ago
Novice f414d241c1
Feat/iteration single run time (#10512) 1 year ago
-LAN- 25ca0278dd
refactor(core): Remove extra_config from File. (#10203) 1 year ago
Bowen Liang 0ebe198ff1
chore: use DEBUG in dify_config instead of parsing raw system environment variable in place (#10437) 1 year ago
Bowen Liang 574c4a264f
chore(lint): Use logging.exception instead of logging.error (#10415) 1 year ago
Novice d1505b15c4
feat: Iteration node support parallel mode (#9493) 1 year ago
-LAN- 6b0de08157
fix(validation): allow to use 0 in the inputs form (#10255) 1 year ago
-LAN- 61da0f08dd
refactor(validation): improve input validation logic (#10175) 1 year ago
luckylhb90 400392230b
fixed: variable reference error (#9722)
Co-authored-by: hobo.l <hobo.l@binance.com>
1 year ago
-LAN- e61752bd3a
feat/enhance the multi-modal support (#8818) 1 year ago
Hash Brown fa47f0c707
chore: disable chat service API passing `parent_message_id` (#8984) 1 year ago
takatost 29188e0562
chore: use cache instead of re-querying node record during workflow execution (#9280) 1 year ago
takatost 477beae3bb
fix: missing usage of metadata in the chatflow app (#9167) 2 years ago
Joe e947103b6d
Feat/add workflow sys params (#9108)
Co-authored-by: Joel <iamjoel007@gmail.com>
2 years ago
chenxu9741 c531b4a911
fix: #8843 event: tts_message_end always return in api streaming resp… (#8846) 2 years ago
cherryhuahua d0e0111f88
fix:Spark's large language model token calculation error #7911 (#8755) 2 years ago
haike-1213 4c7beb9d7b
fix: Assignment exception (#8663)
Co-authored-by: fum <fum@investoday.com.cn>
2 years ago
Hash Brown 8c51d06222
feat: regenerate in `Chat`, `agent` and `Chatflow` app (#7661) 2 years ago
Bowen Liang a1104ab97e
chore: refurish python code by applying Pylint linter rules (#8322) 2 years ago
Bowen Liang 6613b8f2e0
chore: fix unnecessary string concatation in single line (#8311) 2 years ago
Bowen Liang 40fb4d16ef
chore: refurbish Python code by applying refurb linter rules (#8296) 2 years ago
Bowen Liang c69f5b07ba
chore: apply ruff E501 line-too-long linter rule (#8275)
Co-authored-by: -LAN- <laipz8200@outlook.com>
2 years ago
Bowen Liang 292220c596
chore: apply pep8-naming rules for naming convention (#8261) 2 years ago
takatost cee0c51dbb
feat: add from_variable_selector for stream chunk / message event (#8228) 2 years ago
Bowen Liang 2cf1187b32
chore(api/core): apply ruff reformatting (#7624) 2 years 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>
2 years ago
Yeuoly 962cdbbebd
chore: add app generator overload (#7792) 2 years ago
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>
2 years ago
-LAN- 4f5f27cf2b
refactor(api/core/workflow/enums.py): Rename SystemVariable to SystemVariableKey. (#7445) 2 years ago
-LAN- a10b207de2
refactor(api/core/app/app_config/entities.py): Move Type to outside and add EXTERNAL_DATA_TOOL. (#7444) 2 years ago
Nam Vu dbc1ae45de
chore: update docstrings (#7343) 2 years ago
Nam Vu ed85d8281a
fix: null annotation (#7313) 2 years ago
-LAN- 8f16165f92
chore(api/core): Improve FileVar's type hint and imports. (#7290) 2 years ago
-LAN- 32dc963556
feat(api/workflow): Add `Conversation.dialogue_count` (#7275) 2 years 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
Joe 425174e82f
feat: update ops trace (#7102) 2 years ago
Aero Kang ad682c394d
fix annotation reply is null (#7103) 2 years ago
Jyong 80c94f02e9
add vector field for other vectordb (#7051) 2 years ago
chenxu9741 dff3f41ef6
Workflow TTS playback node filtering issue. (#6877) 2 years ago
Joe 26e46d365c
fix: workflow trace user_id error (#6932) 2 years ago
Vicky Guo 829472a1d7
switch to diffy_config with Pydantic in files, moderation and app (#6747)
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
2 years ago
-LAN- 5e6fc58db3
Feat/environment variables in workflow (#6515)
Co-authored-by: JzoNg <jzongcode@gmail.com>
2 years ago
guogeer 4fdcb30ff8
fix: custom tool input number fail (#6200)
Co-authored-by: jinqi.guo <jinqi.guo@ubtrobot.com>
2 years ago
chenxu9741 6ef401a9f0
feat:add tts-streaming config and future (#5492) 2 years ago
-LAN- d7f75d17cc
Chore/remove-unused-code (#5917) 2 years ago
-LAN- 66a62e6c13
refactor(api/core/app/apps/base_app_generator.py): improve input validation and sanitization in BaseAppGenerator (#5866) 2 years ago
Bowen Liang dcb72e0067
chore: apply flake8-comprehensions Ruff rules to improve collection comprehensions (#5652)
Co-authored-by: -LAN- <laipz8200@outlook.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
takatost 415022aa14
fix: pydantic2 error (#5172) 2 years ago
Bowen Liang f976740b57
improve: mordernizing validation by migrating pydantic from 1.x to 2.x (#4592) 2 years ago
Yeuoly 0cccf9c67d
feat: introduce APP_MAX_EXECUTION_TIME (#5167) 2 years ago
Yeuoly 80a87f36ea
fix: missing iterator in task pipeline (#4948) 2 years ago
takatost d1dbbc1e33
feat: backend model load balancing support (#4927) 2 years ago
Yeuoly e852a21634
Feat/workflow phase2 (#4687) 2 years ago
Bowen Liang 04ad46dd31
chore: skip unnecessary key checks prior to accessing a dictionary (#4497) 2 years ago
takatost d8926a2571
feat: hide node detail outputs in webapp & installed app in explore (#3954) 2 years ago
takatost c2f0f958ef
fix: passing in 0 as a numeric variable will be converted to null (#4148) 2 years ago
takatost b82a2d97ef
fix: db connections not being released during workflow execution (#3971) 2 years ago
takatost ff67a6d338
feat: llm text stream support for workflow app (#3798)
Co-authored-by: JzoNg <jzongcode@gmail.com>
2 years ago
takatost 3da179f77b
feat: add conversation_id and user_id in chatflow/workflow system vars (#3771)
Co-authored-by: Joel <iamjoel007@gmail.com>
2 years ago
takatost 2ea8c73cd8
fix: type num of variable converted to str (#3758) 2 years ago
liuzhenghua e02ee3bb2e
fix event/stream ping (#3553) 2 years ago
takatost 5b447d61a6
feat: refactor tongyi models (#3496) 2 years ago
takatost 12f1ce4794
feat: optimize the efficiency of generating chatbot conversation name (#3472) 2 years ago
Yeuoly cea107b165
Refactor/react agent (#3355) 2 years ago
Jyong b6de97ad53
Remove langchain dataset retrival agent logic (#3311) 2 years ago
Yeuoly 14bb0b02ac
Feat/Agent-Image-Processing (#3293)
Co-authored-by: Joel <iamjoel007@gmail.com>
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