NeatGuyCoding
615c313f80
fix(api): refactors the SQL LIKE pattern escaping logic to use a centralized utility function, ensuring consistent and secure handling of special characters across all database queries. ( #30450 )
...
Signed-off-by: NeatGuyCoding <15627489+NeatGuyCoding@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-06 09:56:30 +08:00
hsiong
be3ef9f050
fix : #30511 [Bug] knowledge_retrieval_node fails when using Rerank Model: "Working outside of application context" and add regression test ( #30549 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-05 15:02:21 +08:00
wangxiaolei
473f8ef29c
feat: skip rerank if only one dataset is retrieved ( #30075 )
...
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2026-01-04 20:22:51 +08:00
wangxiaolei
30dd50ff83
feat: allow fail fast ( #30262 )
2025-12-30 09:27:40 +08:00
wangxiaolei
d20a8d5b77
fix: fix missing not in ( #30207 )
2025-12-26 16:52:34 +08:00
wangxiaolei
8611301722
fix: fix DatasetRetrieval._process_metadata_filter_func miss in operator ( #30199 )
2025-12-26 16:34:50 +08:00
wangxiaolei
eaf4146e2f
perf: optimize DatasetRetrieval.retrieve、RetrievalService._deduplicat… ( #29981 )
2025-12-22 20:08:21 +08:00
Jyong
69a22af1c9
fix: optimize database query when retrieval knowledge in App ( #29467 )
2025-12-11 13:50:46 +08:00
Jyong
b49e2646ff
fix: session unbound during parent-child retrieval ( #29396 )
2025-12-10 14:08:55 +08:00
Jyong
9affc546c6
Feat/support multimodal embedding ( #29115 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-09 14:41:46 +08:00
longbingljw
c0b7ffd5d0
feat:mysql adaptation for metadb ( #28188 )
2025-11-20 09:44:39 +08:00
-LAN-
4a6398fc1f
Fix: surface workflow container LLM usage ( #27021 )
2025-10-21 16:05:26 +08:00
Asuka Minato
24cd7bbc62
fix RetrievalMethod StrEnum ( #26768 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-10-13 10:29:37 +08:00
Asuka Minato
1bd621f819
remove .value ( #26633 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-10-11 09:08:29 +08:00
-LAN-
85cda47c70
feat: knowledge pipeline ( #25360 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: twwu <twwu@dify.ai>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: jyong <718720800@qq.com>
Co-authored-by: Wu Tianwei <30284043+WTW0313@users.noreply.github.com>
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
Co-authored-by: lyzno1 <yuanyouhuilyz@gmail.com>
Co-authored-by: quicksand <quicksandzn@gmail.com>
Co-authored-by: Jyong <76649700+JohnJyong@users.noreply.github.com>
Co-authored-by: lyzno1 <92089059+lyzno1@users.noreply.github.com>
Co-authored-by: zxhlyh <jasonapring2015@outlook.com>
Co-authored-by: Yongtao Huang <yongtaoh2022@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Joel <iamjoel007@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: nite-knite <nkCoding@gmail.com>
Co-authored-by: Hanqing Zhao <sherry9277@gmail.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Harry <xh001x@hotmail.com>
2025-09-18 12:49:10 +08:00
-LAN-
bab4975809
chore: add ast-grep rule to convert Optional[T] to T | None ( #25560 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-15 13:06:33 +08:00
Asuka Minato
a78339a040
remove bare list, dict, Sequence, None, Any ( #25058 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
2025-09-06 03:32:23 +08:00
-LAN-
9d5956cef8
[Chore/Refactor] Switch from MyPy to Basedpyright for type checking ( #25047 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-09-03 11:52:26 +08:00
Yongtao Huang
8fcc864fb7
Post fix of #23224 ( #25007 )
2025-09-02 20:59:08 +08:00
Bowen Liang
7b379e2a61
chore: apply ty checks on api code with script and ci action ( #24653 )
2025-09-02 16:05:13 +08:00
Yongtao Huang
be3af1e234
Migrate SQLAlchemy from 1.x to 2.0 with automated and manual adjustments ( #23224 )
...
Co-authored-by: Yongtao Huang <99629139+hyongtao-db@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-02 10:30:19 +08:00
Frederick2313072
5b3cc560d5
fix:hard-coded top-k fallback issue. ( #24879 )
2025-09-01 15:46:37 +08:00
Amy
738aaee101
fix(api):Fix the issue of empty and not empty operations failing in k… ( #24276 )
...
Co-authored-by: liumin <min.liu@tongdun.net>
2025-08-21 14:43:08 +08:00
Asuka Minato
ef51678c73
orm filter -> where ( #22801 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: Claude <noreply@anthropic.com>
2025-07-24 00:57:45 +08:00
-LAN-
460a825ef1
refactor: decouple Node and NodeData ( #22581 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
2025-07-18 10:08:51 +08:00
Jacky Wu
3e96c0c468
fix: close session before doing long latency operation ( #22306 )
2025-07-14 15:16:10 +08:00
efrey kong
826bf25abf
Fix: prevent SQL errors when metadata filter Constant value is None or blank ( #21803 )
2025-07-02 14:43:01 +08:00
Rain Wang
47e0f92c0f
Fixes #20748 KnowledgeRetrievalNode return all external documents when reranker disabled even top-k configed ( #20762 )
2025-06-18 14:35:12 +08:00
QuantumGhost
c439e82038
refactor(api): Decouple `ParameterExtractorNode` from `LLMNode` ( #20843 )
...
- Extract methods used by `ParameterExtractorNode` from `LLMNode` into a separate file.
- Convert `ParameterExtractorNode` into a subclass of `BaseNode`.
- Refactor code referencing the extracted methods to ensure functionality and clarity.
- Fixes the issue that `ParameterExtractorNode` returns error when executed.
- Fix relevant test cases.
Closes #20840 .
2025-06-10 11:47:50 +08:00
Dongyu Li
1ea4459d9f
update knowledge base api ( #20426 )
2025-05-30 14:45:30 +08:00
-LAN-
a6ea15e63c
Refactor/message cycle manage and knowledge retrieval ( #20460 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-05-30 14:36:44 +08:00
Darlewo
8cb3b4aef2
fix: multiple retrieve reranking_enabled switch ( #19958 )
2025-05-20 15:22:03 +08:00
非法操作
085bd1aa93
chore: model.query change to db.session.query ( #19551 )
...
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
2025-05-13 09:13:12 +08:00
非法操作
b00f94df64
fix: replace all dataset.Model.query to db.session.query(Model) ( #19509 )
2025-05-12 13:52:33 +08:00
Will
bfa652f2d0
fix: metadata filtering condition variable unassigned; fix External K… ( #19208 )
2025-05-07 14:52:09 +08:00
Hao Cheng
9bcf837f17
fix: use only supported operators in metadata filter system prompts ( #19195 )
2025-05-03 20:08:08 +08:00
Will
a212a63e6a
fix: time type metadata filtering error ( #19192 )
2025-05-03 20:07:37 +08:00
QuantumGhost
bd1bbfee4b
Enhance Code Consistency Across Repository with `.editorconfig` ( #19023 )
2025-04-29 18:04:33 +08:00
Jyong
e2cb7006c4
check metadata_filtering_conditions could be None in auto mode ( #18548 )
2025-04-22 17:09:33 +08:00
briqt
91cfa90503
Fix external knowledge Issues: ( #17685 ) ( #17843 )
2025-04-11 15:37:27 +08:00
crazywoola
3e698074e7
Fix/17466 cannot create a knowledge base by adding files ( #17470 )
2025-04-06 00:03:05 +08:00
Perfecto
16c722d1d8
fix: move hardcoded text to language settings ( #16990 ) ( #17133 )
2025-04-02 22:35:51 +08:00
非法操作
44f911a0a8
chore: docstring not match the function parameter ( #17162 )
2025-03-31 13:19:15 +08:00
Jyong
6a857e01f6
fix multiple metadata filter's confusing setting ( #16771 )
2025-03-26 14:16:21 +08:00
taokuizu
0c2a459c30
fix typo in _process_metadata_filter_func ( #16780 )
2025-03-26 09:01:41 +08:00
Jyong
86a1859d02
Metadata variable value fix ( #16665 )
2025-03-25 09:07:11 +08:00
Jyong
1be0d26c1f
fix metadata filter not affect in keyword-search and fulltext-search ( #16644 )
2025-03-24 18:35:16 +08:00
Jyong
b8ef3149ef
metadata expect value check error ( #16210 )
2025-03-19 17:48:01 +08:00
Jyong
abeaea4f79
Support knowledge metadata filter ( #15982 )
2025-03-18 16:42:19 +08:00
Jyong
84a866028a
fix document could be None ( #15818 )
2025-03-14 16:40:01 +08:00