Commit Graph

362 Commits (d1d06ed9fcc02e5dab7d9faa7a609c5080b80428)

Author SHA1 Message Date
QuantumGhost 80569ce29f Merge remote-tracking branch 'upstream/main' into feat/variable-pool-rebased 1 year ago
Bowen Liang c1a13fa553
chore: replace pseudo-random generators with secrets module (#20616) 1 year ago
QuantumGhost 46a2476185 refactor(api): Inject conv_var_updater_factory into v1.VariableAssignerNode 1 year ago
HaiyangP 3fb9b41fe5
A more concise and effective extractor for excel and csv files (#20625)
Co-authored-by: haiyangpengai <xxxx>
1 year ago
Arcaner ad2f25875e
fix(llm_node): update file variable mapping to use vision configs (#20417) 1 year ago
QuantumGhost 2edc837585 fix(api): adjust `UpdatedVariable` handling
It's impossible to use Pydantic to restore subclasses of
`Segment` from serialized dictionary (using discriminated
union does not help, neither.)

So migrate to save `variable_type` and `new_value`
separately, instead of store it altogether as a `Segment`
class.
1 year ago
-LAN- 5ccfb1f4ba
refactor: Improve model status handling and structured output (#20586)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
QuantumGhost 18d681db52 fix(api): Fix the issue that conversation variable saving not working 1 year ago
-LAN- 275e86a26c
refactor: Removes tenant ID check from rate limit logic (#20585)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
非法操作 ca0b268ae5
fix: variable aggregator with group and file raise exception (#20581) 1 year ago
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- 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 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 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 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
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
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
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
QuantumGhost 349c3cf7b8
feat(api): Add image multimodal support for LLMNode (#17372)
Enhance `LLMNode` with multimodal capability, introducing support for
image outputs.

This implementation extracts base64-encoded images from LLM responses,
saves them to the storage service, and records the file metadata in the
`ToolFile` table. In conversations, these images are rendered as
markdown-based inline images.
Additionally, the images are included in the LLMNode's output as
file variables, enabling subsequent nodes in the workflow to utilize them.

To integrate file outputs into workflows, adjustments to the frontend code
are necessary.

For multimodal output functionality, updates to related model configurations
are required. Currently, this capability has been applied exclusively to
Google's Gemini models.

Close #15814.

Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
1 year ago
-LAN- bcc95e520b
feat: support remove first and remove last in variable assigner (#19144)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
Will 69b43a955f
fix: inconsistent case expression in _process_metadata_filter_func (#19146) 1 year ago
QuantumGhost bd1bbfee4b
Enhance Code Consistency Across Repository with `.editorconfig` (#19023) 1 year ago