Commit Graph

351 Commits (bd1bbfee4b2e3bbb3a93530024b13866dbc963d3)

Author SHA1 Message Date
-LAN- bd4a61addd
fix: set default factory for extract_by in ListOperatorNodeData (#10561) 1 year ago
Novice 4b45ef62ed
fix: iteration invalid output selector doesn't throw an error (#10544) 1 year ago
Novice f414d241c1
Feat/iteration single run time (#10512) 1 year ago
Charlie.Wei fbee41f8c7
The list action node adds methods to extract specific list objects (#10421)
Co-authored-by: luowei <glpat-EjySCyNjWiLqAED-YmwM>
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
1 year ago
-LAN- bf31a3efbc
feat(workflow-nodes): handle missing variables without failure (#10471) 1 year ago
-LAN- 25ca0278dd
refactor(core): Remove extra_config from File. (#10203) 1 year ago
Novice a7dbe58c85
fix: correct output order in parallel mode for iteration nodes (#10323) 1 year ago
非法操作 033ab5490b
feat: support LLM understand video (#9828) 1 year ago
-LAN- 438ad8148b
fix(http_request): send form data (#10431) 1 year ago
Bowen Liang 574c4a264f
chore(lint): Use logging.exception instead of logging.error (#10415) 1 year ago
-LAN- f8c958a409
refactor(iteration): introduce specific exceptions for iteration errors (#10366) 1 year ago
-LAN- 25785d8c3f
refactor(knowledge-retrieval): improve error handling with custom exceptions (#10385) 1 year ago
-LAN- 35d3da9697
refactor(tool-node): introduce specific exceptions for tool node errors (#10357) 1 year ago
-LAN- d3e9930235
refactor(question_classifier): improve error handling with custom exceptions (#10365) 1 year ago
-LAN- ae254f0a10
fix(http_request): improve parameter initialization and reorganize tests (#10297) 1 year ago
-LAN- 08c731fd84
fix(node): correct file property name in function switch (#10284) 1 year ago
Novice d1505b15c4
feat: Iteration node support parallel mode (#9493) 1 year ago
-LAN- 2c4d8dbe9b
feat(document_extractor): support tool file in document extractor (#10217) 1 year ago
-LAN- 7a98dab6a4
refactor(parameter_extractor): implement custom error classes (#10260) 1 year ago
guogeer 971defbbbd
fix: buitin tool aippt (#10234)
Co-authored-by: jinqi.guo <jinqi.guo@ubtrobot.com>
1 year ago
-LAN- 9369cc44e6
refactor(list_operator): replace ValueError with InvalidKeyError (#10222) 1 year ago
-LAN- 38bca6731c
refactor(workflow): introduce specific error handling for LLM nodes (#10221) 1 year ago
-LAN- 2adab7f71a
refactor(http_request): add custom exception handling for HTTP request nodes (#10219) 1 year ago
-LAN- be96f6e62d
refactor(workflow): introduce specific exceptions for code validation (#10218) 1 year ago
-LAN- 8b5ea39916
chore(llm_node): remove unnecessary type ignore for context assignment (#10216) 1 year ago
-LAN- 1432c268a8
chore(list_operator): refine exception handling for error specificity (#10206) 1 year ago
-LAN- ec6a03afdd
fix(document_extractor): update base exception class (#10208) 1 year ago
-LAN- 53a7cb0e9d
feat(document_extractor): integrate unstructured API for PPTX extraction (#10180) 1 year ago
-LAN- 3b53e06e0d
fix(workflow): refine variable type checks in LLMNode (#10051) 1 year ago
zhuhao 0095896051
feat: add YAML type in document extractor node (#9997) 1 year ago
非法操作 c7fb8a4f20
fix: conversation variable may not change in the answer node (#10034) 1 year ago
-LAN- eb87e690ed
fix(llm-node): handle NoneSegment variables properly (#9978) 1 year ago
Hiroshi Fujita 539fc8b760
Fix content-type header case sensitivity (#9961) 1 year ago
-LAN- 4da0b70694
feat(http-request-executor): enhance file handling in HTTP requests (#9944) 1 year ago
Zixuan Cheng 216442ddc1
feat(workflow): Support JSON type in document extractor node (#9899)
Co-authored-by: -LAN- <laipz8200@outlook.com>
1 year ago
-LAN- 72ea3d6b98
fix(workflow): Take back LLM streaming output after IF-ELSE (#9875) 1 year ago
非法操作 2346b0ab99
chore: make doc extractor node also can extract text by file extension (#9543) 1 year ago
-LAN- d018b32d0b
fix(workflow): enhance prompt handling with vision support (#9790) 1 year ago
-LAN- 9a5bdae07f
feat(condition): add support for 'exists' and 'not exists' operators (#9687) 1 year ago
-LAN- d5a93a6400
fix(variable_pool): handle invalid attributes in variable lookup (#9646) 1 year ago
feiyang_deepnova 999d3f1539
fix: add downstream nodes of this branch (#9640) 1 year ago
-LAN- 7263af13ed
fix(http_request): simplify JSON handling in requests (#9616) 1 year ago
-LAN- 8f670f31b8
refactor(variables): replace deprecated 'get_any' with 'get' method (#9584) 1 year ago
-LAN- 5838345f48
fix(entities): add validator for `VisionConfig` to handle None values (#9598) 1 year ago
-LAN- ac24300274
refactor(template_transform): use keyword-only arguments (#9575) 1 year ago
-LAN- 2e657b7b12
fix(workflow): handle NoneSegments in variable extraction (#9585) 1 year ago
-LAN- c063617553
fix(workflow): improve database session handling and variable management (#9581) 1 year ago
-LAN- 38a4f0234d
fix(http_request): handle empty and string data inputs (#9579) 1 year ago
-LAN- 5459d812e7
fix(iteration): handle empty iterator gracefully (#9565) 1 year ago
非法操作 f83ed19dfe
fix: list filter node some operator raise error (#9539) 1 year ago
非法操作 53b14bde4d
fix: list filter node url not work (#9540) 1 year ago
-LAN- e61752bd3a
feat/enhance the multi-modal support (#8818) 1 year ago
非法操作 853b0e84cc
fix: draft run workflow node with image will raise error (#9406) 1 year ago
Jyong 50635e9c15
Fix/economical knowledge retrieval (#9396) 1 year ago
Jyong 42b02b3a5f
Fix/agent external knowledge retrieval (#9241) 1 year ago
Joe e947103b6d
Feat/add workflow sys params (#9108)
Co-authored-by: Joel <iamjoel007@gmail.com>
1 year ago
Jyong 625e4c4c72
fix multiple retrieval in knowledge node (#8942) 1 year ago
Jyong 9d221a5e19
external knowledge api (#8913)
Co-authored-by: Yi <yxiaoisme@gmail.com>
1 year ago
Nam Vu bef83a4d2e
fix: typos and improve naming conventions: (#8687) 2 years ago
Nam Vu eaa7e9b1f0
fix: llm_generator.py JSONDecodeError (#8504) 2 years ago
takatost e0a3307563
fix(workflow): "Max submit count reached" error occurred when executing workflow as tool in iteration (#8595) 2 years ago
takatost ffd2f61dd9
fix: thread_pool submit count in parallel workflow not releasing (#8549) 2 years ago
takatost 88c9834ef2
chore(workflow): Optimize the iteration when selecting a variable from a branch in the output variable causes iteration index err (#8440) 2 years ago
takatost f01602b570
fix(workflow): the answer node after the iteration node containing the answer was output prematurely (#8419) 2 years ago
Bowen Liang a1104ab97e
chore: refurish python code by applying Pylint linter rules (#8322) 2 years ago
takatost cd3eaed335
fix(workflow): both parallel and single branch errors occur in if-else (#8378) 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
takatost 56c90e212a
fix(workflow): missing content in the answer node stream output during iterations (#8292)
Co-authored-by: -LAN- <laipz8200@outlook.com>
2 years ago
Bowen Liang 0f14873255
chore: cleanup ruff flake8-simplify linter rules (#8286)
Co-authored-by: -LAN- <laipz8200@outlook.com>
2 years ago
Bowen Liang 781d294f49
chore: cleanup pycodestyle E rules (#8269) 2 years ago
Bowen Liang 292220c596
chore: apply pep8-naming rules for naming convention (#8261) 2 years ago
takatost 5f4cdd66fa
fix(workflow): IF-ELSE nodes connected to the same subsequent node cause execution to stop (#8247) 2 years ago
takatost cee0c51dbb
feat: add from_variable_selector for stream chunk / message event (#8228) 2 years ago
takatost fdbbdb706f
fix(workflow): answers are output simultaneously across different braches in the question classifier node. (#8225) 2 years ago
takatost f6dfe23cf8
fix(workflow): in multi-parallel execution with multiple conditional branches (#8221) 2 years ago
Jyong bb3002b173
revert page column (#8217) 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
Nam Vu 2d7954c7da
Fix variable typo (#8084) 2 years ago
crazywoola 44f963f281
If else add regexmatch (#8059)
Co-authored-by: 罗威 <luowei@cvte.com>
2 years ago
Charlie.Wei 01858e1caf
ifEsle node add regex match (#8007) 2 years ago
Byeongjin Kang d489b8b3e0
feat: return page number of pdf documents upon retrieval (#7749) 2 years ago
Joe fee4d3f6ca
feat: ops trace add llm model (#7306) 2 years ago
Bowen Liang 0c2a62f847
fix: correct http timeout configs‘ default values and ignorance by HttpRequestNode (#7762) 2 years ago
Bowen Liang 1262277714
chore: improve http executor configs (#7730) 2 years ago
Leheng Lu 5d0914daea
fix: not able to pass array of string/number/object into variable aggregator groups (#7757) 2 years ago
Bowen Liang a15080a1d7
bug: (#7586 followup) fix config of CODE_MAX_STRING_LENGTH (#7683) 2 years ago
Bowen Liang 3ace01cfb3
chore: cleanup and rearrange unclassified configs into feature config groups (#7586) 2 years ago
orangeclk f53454f81d
add finish_reason to the LLM node output (#7498) 2 years ago
Yeuoly 784b11ce19
Chore/remove python dependencies selector (#7494) 2 years ago
Yeuoly a02118d5bc
Fix/incorrect code template (#7490) 2 years ago
Nam Vu 85fc0fdb51
chore: support CODE_MAX_PRECISION (#7484) 2 years ago
hisir 6435b4eb44
Separate CODE_MAX_DEPTH and set it as an environment variable (#7474) 2 years ago
luckylhb90 9a715f6b68
fix(tool): tool node error (#7459)
Co-authored-by: hobo.l <hobo.l@binance.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
-LAN- 4f64a5d36d
refactor(api/core/workflow/nodes/variable_assigner): Split into multi files. (#7434) 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
Nam Vu d2ccd8ba53
fix: #7222 docstrings (#7276) 2 years ago
非法操作 3a27166c2e
chore: allow download audio/video through HTTP node (#7224) 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
灰灰 ac60182c91
fix: solving http-request-tool bugs in workflow (#6685) 2 years ago
-LAN- 67a2f14cef
fix(api/core/workflow/nodes/tool/tool_node.py): Keep None value in tool params. (#7066) 2 years ago
灰灰 96dcf0fe8a
fix: code tool fails when null property exists in object (#6988) 2 years ago
chenxu9741 dff3f41ef6
Workflow TTS playback node filtering issue. (#6877) 2 years ago
Jyong 2ab9af3b38
delete weight_type in knowledge retrieval node (#6892) 2 years ago
非法操作 29e3c3061c
fix: remote image not display in answer node (#6867) 2 years ago
-LAN- b6c3010f02
refactor(api/core/workflow/nodes/base_node.py): Update extract_variable_selector_to_variable_mapping method signature. (#6733)
Signed-off-by: -LAN- <laipz8200@outlook.com>
2 years ago
-LAN- c6996a48a4
refactor(api/core/app/segments): Support more kinds of Segments. (#6706)
Signed-off-by: -LAN- <laipz8200@outlook.com>
2 years ago
majian a876baf0a9
Resolve variable type parameter error (#6646) 2 years ago
Jyong 91fd8521c3
fix reranking model field error (#6654) 2 years ago
-LAN- 4ec9a87e46
fix(api/core/workflow/nodes/iteration/iteration_node.py): Extend output in iteration if output is a array. (#6647)
Signed-off-by: -LAN- <laipz8200@outlook.com>
2 years ago
-LAN- 31efe10c75
refactor(api/core/workflow/workflow_engine_manager.py): Remove (#6630)
Signed-off-by: -LAN- <laipz8200@outlook.com>
2 years ago
Jyong e4bb943fe5
Feat/delete single dataset retrival (#6570) 2 years ago
-LAN- ad7552ea8d
fix(api/core/workflow/nodes/llm/llm_node.py): Fix LLM Node error. (#6576) 2 years ago
-LAN- f019bc4bd7
feat(variables): Support `to_object`. (#6572) 2 years ago
-LAN- cfc408095c
fix(api/nodes): Fallback to `get_any` in some nodes that use object or array. (#6566) 2 years ago
takatost 6b5fac3004
fix: fetch context error in llm node (#6562) 2 years ago
-LAN- 5e6fc58db3
Feat/environment variables in workflow (#6515)
Co-authored-by: JzoNg <jzongcode@gmail.com>
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
-LAN- fc37887a21
refactor(api/core/workflow/nodes/http_request): Remove `mask_authorization_header` because its alwary true. (#6379) 2 years ago
Jyong 0de224b153
fix wrong using of RetrievalMethod Enum (#6345) 2 years ago
JasonVV 0e82072323
Fix if_else node compatibility with historical workflows. (#6186) 2 years ago
Joe 5a3e09518c
feat: add if elif (#6094) 2 years ago
75py 610da4f662
Fix authorization header validation to handle bearer types correctly - "authorization config header is required" error (#6040) 2 years ago
Yeuoly a877d4831d
Fix/incorrect parameter extractor memory (#6038) 2 years ago
-LAN- 4d105d7bd7
feat(*): Swtich to dify_config. (#6025) 2 years ago
-LAN- 02982df0d4
fix: Fix some type error in http executor. (#5915) 2 years ago
Yeuoly f101fcd0e7
fix: missing process data in parameter extractor (#5755) 2 years ago
Joe e8b8f6c6dd
Feat/fix ops trace (#5672)
Co-authored-by: takatost <takatost@gmail.com>
2 years ago
非法操作 92c56fdf2b
fix: HTTP request header is overwritten when user set Content-Type (#5628) 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
非法操作 b8926ea267
fix: DuckDuckGo image search tool error (#5606) 2 years ago
非法操作 f7900f298f
chore: refactor the http executor node (#5212) 2 years ago
非法操作 1e28a8c033
chore: add create_json_message api for tools (#5440) 2 years ago
takatost a88aa20824
fix: optional parameter missing default value None in http request node (#5413) 2 years ago
Bowen Liang c923684edd
chore: extract retrival method literal values into enum (#5060) 2 years ago
sino d7213b12cc
fix: extract params by function calling for models supporting tool call (#5334) 2 years ago
-LAN- 54756cd3b2
chore(core/workflow/utils/variable_template_parser): Refactor VariableTemplateParser class for better readability and maintainability. (#5328) 2 years ago
-LAN- 5a99aeb864
fix(core): Reorder `field_validator` and `classmethod` to fit Pydantic V2. (#5257) 2 years ago
rerorero 3a423e8ce7
fix: visioin model always with low quality (#5253) 2 years ago
th3n00b13 cdb6c801c1
Fix: http_request delete method not working (#4975) 2 years ago
Bowen Liang f976740b57
improve: mordernizing validation by migrating pydantic from 1.x to 2.x (#4592) 2 years ago
smoky 742b08e1d5
chore: update question classifier prompt (#5137)
Signed-off-by: 0xff-dev <stevenshuang521@gmail.com>
2 years ago
Yeuoly 73dee84cab
fix: add handling for non-string type in variable template parser (#4996) 2 years ago
JasonVV 7749b71fff
Optimize knowledge retrieval performance by batching dataset quries. (#4917) 2 years ago
takatost 21ac2afb3a
fix: question classifier instruction npe (#4931) 2 years ago
takatost d1dbbc1e33
feat: backend model load balancing support (#4927) 2 years ago
Jyong c7bddb637b
support instruction in classifier node (#4913) 2 years ago
zxhlyh 4b91383efc
feat: workflow variable aggregator support group (#4811)
Co-authored-by: Yeuoly <admin@srmxy.cn>
2 years ago
Yeuoly d4cd6149ac
fix: incorrect workflow max call depth (#4759) 2 years ago
majian 72a90074bc
Add WORKFLOW_CALL_MAX_DEPTH env var. (#4713) 2 years ago
Yeuoly e852a21634
Feat/workflow phase2 (#4687) 2 years ago
kronus-ho f56b984d97
Fix Unnecessary Newline Characters in Extracted Tool Response Text (#4646)
Co-authored-by: kronus <kronus@istarshine.com>
2 years ago
10YearsDiary 109aabc6f2
fix: incorrect handling when http header value contain multiple colons. (#4574) 2 years ago
majian 8c2ca60c8b
feat: Add WORKFLOW_MAX_EXECUTION_TIME env var (#4632) 2 years ago
Jyong 233c4150d1
support images and tables extract from docx (#4619) 2 years ago
Bowen Liang e8e213ad1e
chore: apply and fix flake8-bugbear lint rules (#4496) 2 years ago
Bowen Liang 04ad46dd31
chore: skip unnecessary key checks prior to accessing a dictionary (#4497) 2 years ago
Bowen Liang 083ef2e6fc
improve: exract Code Node provider for each supported scripting language (#4164) 2 years ago
Han Fangyuan 3df47b7b59
fix: wrong category name in examples of question classifier completion prompt (#4421) 2 years ago
VoidIsVoid a76ae2d756
chore: remove useless code in knowledge_retrieval_node (#4412) 2 years ago
非法操作 1d0f88264f
Fix HTTP REQUEST NODE is always waiting but endpoint have responsed (#4395) 2 years ago
非法操作 3271e3e803
improve the code readability of http_executor node (#4360) 2 years ago
Yeuoly 16d47923c3
fix: requests timeout (#4370) 2 years ago
Yeuoly bbef964eb5
improve: code upgrade (#4231) 2 years ago
Patryk Garstecki 2c1c660c6e
fix(Backend:http_executor): 🔧 prevent splitting JSON data as v… (#4276) 2 years ago
Yeuoly 8578ee0864
feat: support LLM jinja2 template prompt (#3968)
Co-authored-by: Joel <iamjoel007@gmail.com>
2 years ago
Jyong 897e07f639
question classifier prompt optimize (#4262) 2 years ago
takatost 86a6e6bd04
feat: increase max steps to 50 in workflow (#4252) 2 years ago
Yeuoly d51f52a649
fix: http authorization leakage (#4146) 2 years ago
Jyong e353809680
question classifier optimize (#4147) 2 years ago
Bowen Liang 049abd698f
improve: test CodeExecutor with code templates and extract CodeLanguage enum (#4098) 2 years ago
Yeuoly 76bec6ce7f
feat: add http node max size env (#4137) 2 years ago
sino da5a8b9a59
feat: support question classifier node output (#4000) 2 years ago
majian 8f2ae51fe5
feat: add support for request timeout settings in the HTTP request node. (#3854)
Co-authored-by: Yeuoly <admin@srmxy.cn>
2 years ago
Yeuoly e7b4d024ee
optimize: code node has a bad error message (#3949) 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 12435774ca
feat: query prompt template support in chatflow (#3791)
Co-authored-by: Joel <iamjoel007@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
Yeuoly 3480f1c59e
refactor: tool parameter cache (#3703) 2 years ago
Yeuoly c2acb2be60
feat: code (#3557) 2 years ago
Jyong 394ceee141
optimize question classifier prompt and support keyword hit test (#3565) 2 years ago
takatost b890c11c14
feat: filter empty content messages in llm node (#3547) 2 years ago
takatost 1219e41d29
fix: array[string] context in llm node invalid (#3518) 2 years ago
Jyong fd90d99cd0
question classifier prompt optimization (#3479) 2 years ago
YidaHu 92f8c40e4c
fix: prompt template issue (#3449) 2 years ago
Yeuoly 64e395d6cf
Fix/workflow tool incorrect parameter configurations (#3402)
Co-authored-by: Joel <iamjoel007@gmail.com>
2 years ago
takatost 164ef26a60
fix: variable pool mapping variable mixed up (#3378) 2 years ago
Jyong b6de97ad53
Remove langchain dataset retrival agent logic (#3311) 2 years ago
takatost cfb5ccc7d3
fix: image was sent to an unsupported LLM when sending second message (#3268) 2 years ago
takatost 2a6b7d57cb
fix: token is not logging of question classifier node (#3249) 2 years ago
takatost 4ad3f2cdc2
fix: image text when retrieve chat histories (#3220) 2 years ago
Jyong 33ea689861
fix detached instance error in keyword index create thread and fix question classifier node out of index error (#3219) 2 years ago
Jyong 84d7cbf916
fix economy index search in workflow (#3205) 2 years ago
Yeuoly 337899a03d
Fix/code transform result (#3203) 2 years ago