Commit Graph

156 Commits

Author SHA1 Message Date
352c45c8a2 feat(workflow): integrate parallel into workflow apps 2024-08-16 21:33:09 +08:00
91e51ce2b8 fix(workflow): issues by merging main branch 2024-08-16 01:36:19 +08:00
db9b0ee985 Merge branch 'refs/heads/main' into feat/workflow-parallel-support
# Conflicts:
#	api/core/app/apps/advanced_chat/app_generator.py
#	api/core/app/apps/advanced_chat/app_runner.py
#	api/core/app/apps/advanced_chat/generate_task_pipeline.py
#	api/core/app/apps/base_app_runner.py
#	api/core/app/apps/workflow/app_runner.py
#	api/core/app/apps/workflow/generate_task_pipeline.py
#	api/core/app/task_pipeline/workflow_cycle_state_manager.py
#	api/core/workflow/entities/node_entities.py
#	api/core/workflow/nodes/llm/llm_node.py
#	api/core/workflow/workflow_engine_manager.py
#	api/tests/integration_tests/workflow/nodes/test_llm.py
#	api/tests/integration_tests/workflow/nodes/test_parameter_extractor.py
#	api/tests/unit_tests/core/workflow/nodes/test_answer.py
#	api/tests/unit_tests/core/workflow/nodes/test_if_else.py
#	api/tests/unit_tests/core/workflow/nodes/test_variable_assigner.py
2024-08-16 01:19:29 +08:00
c5192650fb fix: unit tests in workflow 2024-08-15 23:47:59 +08:00
702df31db7 fix(workflow): fix generate issues in workflow 2024-08-15 20:45:23 +08:00
8f16165f92 chore(api/core): Improve FileVar's type hint and imports. (#7290) 2024-08-15 12:43:18 +08:00
32dc963556 feat(api/workflow): Add Conversation.dialogue_count (#7275) 2024-08-15 10:53:05 +08:00
d2ccd8ba53 fix: #7222 docstrings (#7276) 2024-08-15 09:47:26 +08:00
1da5862a96 feat(workflow): fix iteration single debug 2024-08-15 03:12:49 +08:00
6f6b32e1ee feat(workflow): integrate workflow entry with workflow app 2024-08-14 19:22:15 +08:00
3a27166c2e chore: allow download audio/video through HTTP node (#7224) 2024-08-14 16:25:59 +08:00
2980e31ddf fix issues when merging from main 2024-08-13 17:11:19 +08:00
14d020fffe Merge branch 'refs/heads/main' into feat/workflow-parallel-support
# Conflicts:
#	api/core/app/apps/advanced_chat/app_generator.py
#	api/core/app/apps/advanced_chat/app_runner.py
#	api/core/app/apps/advanced_chat/generate_task_pipeline.py
#	api/core/app/apps/workflow/app_runner.py
#	api/core/app/task_pipeline/workflow_cycle_manage.py
#	api/core/workflow/entities/variable_pool.py
#	api/core/workflow/nodes/base_node.py
#	api/core/workflow/workflow_engine_manager.py
2024-08-13 17:05:39 +08:00
8401a11109 feat(workflow): integrate workflow entry with advanced chat app 2024-08-13 16:21:10 +08:00
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>
2024-08-13 14:44:10 +08:00
ac60182c91 fix: solving http-request-tool bugs in workflow (#6685) 2024-08-11 16:32:06 +08:00
67a2f14cef fix(api/core/workflow/nodes/tool/tool_node.py): Keep None value in tool params. (#7066) 2024-08-07 19:36:21 +08:00
96dcf0fe8a fix: code tool fails when null property exists in object (#6988) 2024-08-06 16:11:00 +08:00
dff3f41ef6 Workflow TTS playback node filtering issue. (#6877) 2024-08-04 14:28:56 +08:00
2ab9af3b38 delete weight_type in knowledge retrieval node (#6892) 2024-08-01 21:38:59 +08:00
29e3c3061c fix: remote image not display in answer node (#6867) 2024-08-01 13:21:49 +08:00
8d27ec364f fix bug 2024-07-31 02:27:23 +08:00
c9bb366e1a Merge branch 'refs/heads/main' into feat/workflow-parallel-support
# Conflicts:
#	api/core/workflow/entities/variable_pool.py
#	api/core/workflow/nodes/iteration/iteration_node.py
#	api/core/workflow/workflow_engine_manager.py
2024-07-31 02:25:31 +08:00
917aacbf7f add chatflow app event convert 2024-07-31 02:21:35 +08:00
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>
2024-07-27 14:43:25 +08:00
63addf8c94 add parallel branch events 2024-07-26 20:27:17 +08:00
beea1e1663 fix lint 2024-07-26 19:47:12 +08:00
38f8c45755 add events in interation node 2024-07-26 19:47:02 +08:00
c6996a48a4 refactor(api/core/app/segments): Support more kinds of Segments. (#6706)
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-07-26 15:03:56 +08:00
a31feacf28 fix iteration 2024-07-26 02:43:40 +08:00
ae351bd40e add iteration support 2024-07-25 23:07:27 +08:00
df133168dd fix lint 2024-07-25 21:06:23 +08:00
7c67ba8991 remove threadpool 2024-07-25 21:05:53 +08:00
4097f7c069 add parallel branch output 2024-07-25 19:39:06 +08:00
a876baf0a9 Resolve variable type parameter error (#6646) 2024-07-25 11:15:54 +08:00
91fd8521c3 fix reranking model field error (#6654) 2024-07-25 10:07:55 +08:00
f4eb7cd037 add end stream output test 2024-07-25 04:03:53 +08:00
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>
2024-07-25 00:32:39 +08:00
833584ba76 Merge branch 'refs/heads/main' into feat/workflow-parallel-support
# Conflicts:
#	api/core/workflow/workflow_entry.py
2024-07-24 23:43:14 +08:00
31efe10c75 refactor(api/core/workflow/workflow_engine_manager.py): Remove (#6630)
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-07-24 19:35:40 +08:00
e4bb943fe5 Feat/delete single dataset retrival (#6570) 2024-07-24 12:50:11 +08:00
ec7760795f save 2024-07-24 00:24:24 +08:00
e9bfedab9b Merge branch 'refs/heads/main' into feat/workflow-parallel-support
# Conflicts:
#	api/core/workflow/entities/variable_pool.py
2024-07-23 17:28:57 +08:00
ad7552ea8d fix(api/core/workflow/nodes/llm/llm_node.py): Fix LLM Node error. (#6576) 2024-07-23 17:09:16 +08:00
f019bc4bd7 feat(variables): Support to_object. (#6572) 2024-07-23 16:22:06 +08:00
7303b53af1 fix bug 2024-07-23 16:18:52 +08:00
0fe516568a Merge branch 'refs/heads/main' into feat/workflow-parallel-support
# Conflicts:
#	api/core/workflow/nodes/code/code_node.py
#	api/core/workflow/nodes/end/end_node.py
#	api/core/workflow/nodes/knowledge_retrieval/knowledge_retrieval_node.py
#	api/core/workflow/nodes/parameter_extractor/parameter_extractor_node.py
#	api/core/workflow/nodes/variable_aggregator/variable_aggregator_node.py
2024-07-23 16:18:34 +08:00
cfc408095c fix(api/nodes): Fallback to get_any in some nodes that use object or array. (#6566) 2024-07-23 15:51:07 +08:00
6b5fac3004 fix: fetch context error in llm node (#6562) 2024-07-23 15:04:51 +08:00
2c695ded79 fix bugs 2024-07-23 00:10:23 +08:00