Commit Graph

176 Commits

Author SHA1 Message Date
takatost 5b22d8f8b2 Merge branch 'refs/heads/main' into feat/workflow-parallel-support
# Conflicts:
#	api/core/workflow/nodes/llm/llm_node.py
#	api/core/workflow/nodes/question_classifier/question_classifier_node.py
2024-08-23 00:32:28 +08:00
takatost fe2b300288 fix lint 2024-08-22 23:54:07 +08:00
takatost ec4fc784f0 fix iteration start node 2024-08-22 23:53:44 +08:00
orangeclk f53454f81d
add finish_reason to the LLM node output (#7498) 2024-08-21 17:29:30 +08:00
takatost 92072e2ed7 fix: ruff issues 2024-08-21 17:26:51 +08:00
takatost e34497ded1 fix: merge issues 2024-08-21 17:25:26 +08:00
takatost 35be41b337 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/generate_task_pipeline.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/variable_pool.py
#	api/core/workflow/nodes/code/code_node.py
#	api/core/workflow/nodes/llm/llm_node.py
#	api/core/workflow/nodes/start/start_node.py
#	api/core/workflow/nodes/variable_assigner/__init__.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-21 16:59:23 +08:00
Yeuoly 784b11ce19
Chore/remove python dependencies selector (#7494) 2024-08-21 16:57:14 +08:00
takatost 412be6d014 fix bug 2024-08-21 16:43:00 +08:00
Yeuoly a02118d5bc
Fix/incorrect code template (#7490) 2024-08-21 15:31:13 +08:00
Nam Vu 85fc0fdb51
chore: support CODE_MAX_PRECISION (#7484) 2024-08-21 15:11:56 +08:00
hisir 6435b4eb44
Separate CODE_MAX_DEPTH and set it as an environment variable (#7474) 2024-08-21 12:48:25 +08:00
luckylhb90 9a715f6b68
fix(tool): tool node error (#7459)
Co-authored-by: hobo.l <hobo.l@binance.com>
2024-08-21 09:04:54 +08:00
takatost 1d88b62e25 fix(workflow): fix node link to previous node issue 2024-08-20 23:28:11 +08:00
takatost 617ea4b3b8 fix(workflow): fix parallel bug 2024-08-20 22:16:41 +08:00
-LAN- 4f5f27cf2b
refactor(api/core/workflow/enums.py): Rename SystemVariable to SystemVariableKey. (#7445) 2024-08-20 17:52:06 +08:00
-LAN- a10b207de2
refactor(api/core/app/app_config/entities.py): Move Type to outside and add EXTERNAL_DATA_TOOL. (#7444) 2024-08-20 17:30:14 +08:00
-LAN- 4f64a5d36d
refactor(api/core/workflow/nodes/variable_assigner): Split into multi files. (#7434) 2024-08-20 15:40:19 +08:00
takatost 755a9658c7 fix(workflow): add parallel id into published events 2024-08-18 20:18:13 +08:00
takatost 5d7865737f fix(workflow): issues in workflow parallels 2024-08-16 22:47:58 +08:00
takatost 352c45c8a2 feat(workflow): integrate parallel into workflow apps 2024-08-16 21:33:09 +08:00
takatost 91e51ce2b8 fix(workflow): issues by merging main branch 2024-08-16 01:36:19 +08:00
takatost 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
takatost c5192650fb fix: unit tests in workflow 2024-08-15 23:47:59 +08:00
takatost 702df31db7 fix(workflow): fix generate issues in workflow 2024-08-15 20:45:23 +08:00
-LAN- 8f16165f92
chore(api/core): Improve FileVar's type hint and imports. (#7290) 2024-08-15 12:43:18 +08:00
-LAN- 32dc963556
feat(api/workflow): Add `Conversation.dialogue_count` (#7275) 2024-08-15 10:53:05 +08:00
Nam Vu d2ccd8ba53
fix: #7222 docstrings (#7276) 2024-08-15 09:47:26 +08:00
takatost 1da5862a96 feat(workflow): fix iteration single debug 2024-08-15 03:12:49 +08:00
takatost 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
takatost 2980e31ddf fix issues when merging from main 2024-08-13 17:11:19 +08:00
takatost 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
takatost 8401a11109 feat(workflow): integrate workflow entry with advanced chat app 2024-08-13 16:21:10 +08:00
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>
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
-LAN- 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
chenxu9741 dff3f41ef6
Workflow TTS playback node filtering issue. (#6877) 2024-08-04 14:28:56 +08:00
Jyong 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
takatost 8d27ec364f fix bug 2024-07-31 02:27:23 +08:00
takatost 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
takatost 917aacbf7f add chatflow app event convert 2024-07-31 02:21:35 +08:00
-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>
2024-07-27 14:43:25 +08:00
takatost 63addf8c94 add parallel branch events 2024-07-26 20:27:17 +08:00
takatost beea1e1663 fix lint 2024-07-26 19:47:12 +08:00
takatost 38f8c45755 add events in interation node 2024-07-26 19:47:02 +08:00
-LAN- 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
takatost a31feacf28 fix iteration 2024-07-26 02:43:40 +08:00