Commit Graph

2467 Commits (d1d06ed9fcc02e5dab7d9faa7a609c5080b80428)

Author SHA1 Message Date
QuantumGhost d1d06ed9fc Merge remote-tracking branch 'upstream/main' into feat/variable-pool-rebased 1 year ago
QuantumGhost 68408805dc refactor(api): extract enclosing_node_id directly from graph definition
Instead of attaching it to `execution_metadata` and
extracting from the result.
1 year ago
QuantumGhost 282f44822c feat(api): do not save `finish_reason` from LLM node outputs 1 year ago
yihong 65c7c01d90
fix: clean up two unreachable code (#20773)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
1 year ago
Bharat Ramanathan e6e76852d5
Add support for W&B dedicated cloud instances in Weave tracing integration (#20765)
Co-authored-by: crazywoola <427733928@qq.com>
1 year ago
QuantumGhost 80569ce29f Merge remote-tracking branch 'upstream/main' into feat/variable-pool-rebased 1 year ago
QuantumGhost 724e6a1d80 WIP: node var reset. 1 year ago
jefferyvvv 37c3283450
fix: opensearch vector search falls back to keyword search (#20723)
Co-authored-by: wenjun.gu <wenjun.gu@envision-energy.com>
1 year ago
Bowen Liang c1a13fa553
chore: replace pseudo-random generators with secrets module (#20616) 1 year ago
jefferyvvv 4271602cfc
fix: opensearch metadata filtering returns empty (#20701)
Co-authored-by: wenjun.gu <wenjun.gu@envision-energy.com>
Co-authored-by: crazywoola <427733928@qq.com>
1 year ago
jefferyvvv 138ad6e8b3
fix: opensearch fulltext search with metadata filtering dsl error (#20702)
Co-authored-by: wenjun.gu <wenjun.gu@envision-energy.com>
1 year ago
湛露先生 f76f70f0b6
Fix builtin_providers for tools. (#20697)
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
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 fd208c4035 docs(api): add note to avoid using `handle_special_values` in new code 1 year ago
QuantumGhost 743b792869 feat(api): reconstruct File object from dictionary when saving outputs.
This ensures that the variables type is correct. It also simplify handling of variable
values when serializing.
1 year ago
QuantumGhost 55eb4765cb refactor(api): Rename `output` parameter of `save` method to `outputs`.
Keep the parameter names consistent with the field names `NodeRunResult`.
1 year ago
QuantumGhost e8de080add fix(api): fix incorrect adjust to Extensible
`__file__` records the path of the `Extensible` class, not the receiver class
of `scan_extensions` method.

This commit fixes this by switching to `inspect.getfile`.
1 year ago
QuantumGhost 312601e964 feat(api): implement flies handling for `DraftWorkflowNodeRunApi`
Add TODOs to existing file parsing logic.
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
kenwoodjw 01d500db14
fix: autocorrect everything in web (#20605)
Signed-off-by: kenwoodjw <blackxin55+@gmail.com>
1 year ago
QuantumGhost 2db269da95 chore(api): Rename import for `NodeRunMetadataKey`.
`NodeRunMetadataKey` has been renamed to
`WorkflowNodeExecutionMetadataKey`.
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 9a26211cbf feat(api): implement conversation variable reset api. 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 a3202356e6 fix(api): correct path retrieval in scan_extensions method
The previous does not work when `cwd` is not `api`, switching to
`__file__` fixes this.
1 year ago
QuantumGhost 03f91daa27 feat(api): implement PydanticModelEncoder for JSON serialization
Use `PydanticModelEncoder` for JSON serialization while persisting
node execution data.
1 year ago
QuantumGhost 77ec5f3f68 chore(api): fix mypy typing issues, remove debugging code 1 year ago
QuantumGhost 9e17eb39e2 chore(api): Fix scoped session typing issue 1 year ago
Bowen Liang 888cd86afd
chore: prepare the plugin daemon base url to yarl URL ahead intstead of in every invocation (#20541) 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- 257bf13fef
refactor: Removes unused LLMMode value_of method (#20575)
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
zhaobingshuang 3f7aa38d77
fix: #20560 When elasticsearch is used as the vector database, the Retrieval Test fails to filter the data after setting the Score Threshold, and the score of the recalled results is empty (#20561) 1 year ago
Contrail a145c2a8fe
fix: ensure proper conversation role alternation for vLLM (#18837) 1 year ago
QuantumGhost e8ec9112b4 fix(api): Fix the issue that output is not saved ...
when using `Default Value` error handling strategy

refactor draft variable saving logic into a separate method.
1 year ago
不如归去 c29cb503be
Fix #20536: Force header in custom tool be string (#20537)
Co-authored-by: Peter Xin <iami@Artemis.local>
1 year ago
不如归去 8025ad0661
Fixes #20534: Allow $ref in parameter for custom tools (#20535)
Co-authored-by: Peter Xin <iami@Artemis.local>
1 year ago
Cheney Zhang b4b59148dc
check zilliz cloud of full-text search (#20519) 1 year ago
QuantumGhost 72561300ec feat(api): Prefill conversation variables in draft workflow and update related services 1 year ago
QuantumGhost d43ebabbbc fix(api): Fix TypeError while serializing File object 1 year ago
-LAN- 92528360f9
fix: fetch tenant_id in other trace providers besides langfuse (#20495)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
Dongyu Li 1ea4459d9f
update knowledge base api (#20426) 1 year ago
Yasuhiro Ohno 55371e5abf
Improve CONVERSATION_TITLE_PROMPT to correctly handle Japanese and input (#20351) 1 year ago
-LAN- a6ea15e63c
Refactor/message cycle manage and knowledge retrieval (#20460)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago