Commit Graph

404 Commits (ea67a96d818d189454a8c4fb24dd3ca1ae6033f0)

Author SHA1 Message Date
QuantumGhost ea67a96d81 Merge remote-tracking branch 'upstream/main' into feat/variable-pool-rebased 1 year ago
QuantumGhost c604659287 feat(api): Update variable handling for `VariableAssigner` nodes
- Put updated variables data in `process_data`
- Use structured object to describe updated variables.
1 year ago
QuantumGhost 77ec5f3f68 chore(api): fix mypy typing issues, remove debugging code 1 year ago
-LAN- 36f1b4b222
fix: Ensure model config integrity in retrieval processes (#20576)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
-LAN- 72fdafc180
refactor: Replaces direct DB session usage with context managers (#20569)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
Contrail a145c2a8fe
fix: ensure proper conversation role alternation for vLLM (#18837) 1 year ago
-LAN- a6ea15e63c
Refactor/message cycle manage and knowledge retrieval (#20460)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
yihong 5a991295e0
fix: drop some type fixme (#20344) 1 year ago
-LAN- db488bef51
refactor(api/core/workflow/enums): Rename WORKFLOW_RUN_ID to WORKFLOW_EXECUTION_ID (#20459)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
-LAN- f7fb10635f
refactor(workflow): Rename workflow node execution models (#20458)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
-LAN- 32e779eef3
refactor(workflow): Rename NodeRunMetadataKey to WorkflowNodeExecutionMetadataKey (#20457)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
-LAN- 482e50aae9
Refactor/remove db from cycle manager (#20455)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
Yeuoly d4408e0f54
fix: handle values in output arrays for CodeNode transformation (#20437) 1 year ago
QuantumGhost 31fa5baadf feat(api): overhaul draft variable saving logic
add support for many node types
1 year ago
QuantumGhost cf034b53e0 feat(api): Move DummyLoader from workflow_entry to variable_loader
add a utility function for variable loading logic.
1 year ago
QuantumGhost 710d729b4b feat(api): Add a dummy `VariableLoader`, add a utility function
for variable loading logic.
1 year ago
QuantumGhost d720287504 feat(api): utilize `ConversationVariableUpdater` in variable assigner nodes
Removed the original logic
1 year ago
QuantumGhost 1b234de81f feat(api): Implement variable mapping extraction for VariableAssignerNode 1 year ago
QuantumGhost b376f7aeec feat(api): include the loop variables in extracted variable mappings 1 year ago
QuantumGhost 253978b8df docs(api): Update docs for `extract_variable_selector_to_variable_mapping` 1 year ago
QuantumGhost fd38cfd6b2 chore(api): remove the constructor for `VariablePool`
Replace it with `model_post_init` as suggested by
Pydantic docs.
1 year ago
QuantumGhost ed4b072467 feat(api): Implement VariableLoader in `DraftVarLoader`.
Use DraftVarLoader to load required variables when single stepping a
node.
1 year ago
QuantumGhost b7a4117341 feat(api): Introduce a VariableLoader interface.
The `VariableLoader` interface is used to load referenced variables
when running a single node.
1 year ago
QuantumGhost d83c8ade4a feat(api): Implement variable mapping extraction for `IfElseNode`
This allows us to extract referenced variables from `IfElseNode` configurations.
1 year ago
QuantumGhost c4e7489be5 docs(api): Add documentation for `extract_variable_selector_to_variable_mapping`
Add a detail description about the arguments and
the return value of
`BaseNode.extract_variable_selector_to_variable_mapping`.
1 year ago
QuantumGhost 85ab1dc8d9 fix(api): Fix incorrect handling of `Variable` types in `VariablePool` 1 year ago
QuantumGhost 5aa044e392 feat(api): implement draft var related api 1 year ago
QuantumGhost 655d55f290 feat(api): add a `version` class method to BaseNode and subclasses
This ensures that we can get the version of node while executing.

Add `node_version` to `BaseNodeEvent` to ensure that all node
related events includes node version information.
1 year ago
-LAN- f59fb94dae
feat(agent_node): ensure that the enum-checking syntax is compatible with Python 3.11. (#20373)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
teawoong Kim 400ae664bb
fix(http): force multipart/form-data even without files(#20322) (#20323) 1 year ago
-LAN- f233a64eb5
fix(workflow): fetch user failed when workflow run in parallel mode (#20321)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
-LAN- 9c9d3d7bd0
feat: document extractor chardet encoding (#20269)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
-LAN- 55503ce771
fix: persist workflow execution status on partial success and failure (#20264)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
Heyang Wang b9b5d43dc6
fix: add 'floatfmt' when extract number from excel ( #20153 ) (#20193)
Co-authored-by: wangheyang <wangheyang@corp.netease.com>
Co-authored-by: crazywoola <427733928@qq.com>
1 year ago
-LAN- 6b3666f826
feat: Split WorkflowCycleManager (#20071)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
-LAN- d31235ca13
feat: Introduce WorkflowExecution Domain Entity and Repository, Replace WorkflowRun Direct Usage, and Unify Stream Response Logic (#20067)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
-LAN- 4977bb21ec
feat(workflow): domain model for workflow node execution (#19430)
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 year ago
satohk 1b4fea1794
fix: Referencing Metadata in the response of the External Knowledge A… (#19637) (#19644)
Co-authored-by: satou.kazuhiro <satou.kazuhiro@fanuc.co.jp>
1 year ago
jiangbo721 fabfc7d4d8
fix: remove error message $ symbol (#19587)
Co-authored-by: 刘江波 <jiangbo721@163.com>
Co-authored-by: crazywoola <427733928@qq.com>
1 year ago
SSebo 57b3912227
fix: common prerequisite node workflow remove reachable node that failed to streaming llm… (#19552)
Co-authored-by: zhangshibo <zhangshibo@didiglobal.com>
1 year ago
非法操作 b00f94df64
fix: replace all dataset.Model.query to db.session.query(Model) (#19509) 1 year ago
LeanDeR c720e0dd04
refactor(workflow): revamp logging module for loop & iteration nodes (#19484) 1 year ago
Bowen Liang cbc8ebd8f5
chore: bump pydantic to 2.11 and pydantic-settings to 2.9 (#15049) 1 year ago
Will 58d9d35515
fix: inconsistent metadata definitions (#19343) 1 year ago
Will bfa652f2d0
fix: metadata filtering condition variable unassigned; fix External K… (#19208) 1 year ago
-LAN- f23cf98317
refactor: Remove RepositoryFactory (#19176)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
Novice 0cfc82d731
fix(structured-output): reasoning model's json format parsing (#19261) 1 year ago
kenwoodjw c5568f756f
fix basic auth if not base64 encode (#19242)
Signed-off-by: kenwoodjw <blackxin55+@gmail.com>
1 year ago
Hao Cheng 9bcf837f17
fix: use only supported operators in metadata filter system prompts (#19195) 1 year ago
Will a212a63e6a
fix: time type metadata filtering error (#19192) 1 year ago