2afa39cdcb
fix: knowledge hit-testing render failed. ( #36106 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
2026-05-13 07:31:38 +00:00
77f8f2babb
refactor(api): tighten core rag typing batch 1 ( #35210 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-21 04:32:43 +00:00
3193e8a712
chore: reorg imports ( #35308 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-16 08:50:02 +00:00
1c2bbed405
refactor: replace bare dict with dict[str, Any] in services grab-bag ( #35112 )
2026-04-14 03:02:34 +00:00
f0266e13c5
refactor: improve type annotations in HitTestingService ( #27838 )
...
Co-authored-by: Asuka Minato <i@asukaminato.eu.org >
2026-04-13 10:31:31 +00:00
624db69f12
refactor(api): remove duplicated RAG entities from services layer ( #34689 )
2026-04-07 23:36:59 +00:00
0feff5b048
refactor(api): enforce strict typing on retrieval_model to resolve FIXME ( #34614 )
2026-04-07 01:10:53 +00:00
71d299d0d3
refactor(api): type hit testing retrieve responses with TypedDict ( #34484 )
2026-04-03 02:25:30 +00:00
40591a7c50
refactor(api): use standalone graphon package ( #34209 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-27 21:05:32 +00:00
52e7492cbc
refactor(api): rename dify_graph to graphon ( #34095 )
2026-03-25 21:58:56 +08:00
3870b2ad2d
refactor: use EnumText for dataset and replace string literals 4 ( #33606 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-18 09:18:08 +09:00
e64f4d6039
refactor: replace sa.String with EnumText in mapped_column for type s… ( #33332 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-14 13:38:27 +09:00
4fd6b52808
refactor(api): move model_runtime into dify_graph ( #32858 )
2026-03-02 20:15:32 +08:00
04d09c2d77
fix: hit-test failed when attachment id is not exist ( #29563 )
2025-12-12 13:45:00 +08:00
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
05fe92a541
refactor: port reqparse to BaseModel ( #28993 )
...
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-12-08 15:31:19 +09:00
a6c6bcf95c
more typed orm ( #28507 )
2025-11-21 21:45:51 +08:00
32c715c4d0
rm type ignore ( #25715 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: -LAN- <laipz8200@outlook.com >
2025-10-21 11:26:58 +08:00
cced33d068
use deco to avoid current_user ( #26077 )
...
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-16 15:45:51 +09:00
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
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
ab2eacb6c1
use model_validate ( #26182 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
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-10 17:30:13 +09:00
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
5b3cc560d5
fix:hard-coded top-k fallback issue. ( #24879 )
2025-09-01 15:46:37 +08:00
fa753239ad
Refactor: use logger = logging.getLogger(__name__) in logging ( #24515 )
...
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>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
2025-08-26 18:10:31 +08:00
a189d293f8
make logging not use f-str, change others to f-str ( #22882 )
2025-07-25 10:32:48 +08:00
1ea4459d9f
update knowledge base api ( #20426 )
2025-05-30 14:45:30 +08:00
bfa652f2d0
fix: metadata filtering condition variable unassigned; fix External K… ( #19208 )
2025-05-07 14:52:09 +08:00
f1e4d5ed6c
Fix Performance Issues: ( #17083 )
...
Co-authored-by: Wang Han <wanghan@zhejianglab.org >
2025-04-09 11:22:53 +08:00
47a64610ca
Fix the issue of repeated escaping of quotes in hit test ( #13477 )
2025-02-11 09:58:31 +08:00
84ac004772
py lint ( #12102 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
Co-authored-by: -LAN- <laipz8200@outlook.com >
2024-12-26 00:16:35 +08:00
9231fdbf4c
Feat/support parent child chunk ( #12092 )
2024-12-25 19:49:07 +08:00
56e15d09a9
feat: mypy for all type check ( #10921 )
2024-12-24 18:38:51 +08:00
9d221a5e19
external knowledge api ( #8913 )
...
Co-authored-by: Yi <yxiaoisme@gmail.com >
2024-09-30 15:38:43 +08:00
49cee773c5
fixed score threshold is none ( #8342 )
2024-09-13 10:21:58 +08:00
40fb4d16ef
chore: refurbish Python code by applying refurb linter rules ( #8296 )
2024-09-12 15:50:49 +08:00
2d7954c7da
Fix variable typo ( #8084 )
2024-09-08 13:14:11 +08:00
17fd773a30
chore(api/services): apply ruff reformatting ( #7599 )
...
Co-authored-by: -LAN- <laipz8200@outlook.com >
2024-08-26 13:43:57 +08:00
80c94f02e9
add vector field for other vectordb ( #7051 )
2024-08-07 17:14:03 +08:00
28d4e5b045
Fix/reranking mode is null ( #7012 )
2024-08-06 19:12:04 +08:00
e4bb943fe5
Feat/delete single dataset retrival ( #6570 )
2024-07-24 12:50:11 +08:00
093b8ca475
fix: escape double quotation marks in the vector DB search query ( #6506 )
2024-07-23 15:02:25 +08:00
0de224b153
fix wrong using of RetrievalMethod Enum ( #6345 )
2024-07-16 19:09:04 +08:00
68b1d063f7
chore: remove tsne unused code ( #6077 )
2024-07-08 21:25:19 +08:00
0944ca9d91
Fix/remove tsne position test ( #5858 )
...
Co-authored-by: StyleZhang <jasonapring2015@outlook.com >
2024-07-02 17:57:42 +08:00
c923684edd
chore: extract retrival method literal values into enum ( #5060 )
2024-06-19 16:05:27 +08:00
920b2c2b40
Fix/hit test tsne issue ( #2581 )
...
Co-authored-by: jyong <jyong@dify.ai >
2024-02-27 17:30:52 +08:00
6c4e6bf1d6
Feat/dify rag ( #2528 )
...
Co-authored-by: jyong <jyong@dify.ai >
2024-02-22 23:31:57 +08:00
063191889d
chore: apply ruff's pyupgrade linter rules to modernize Python code with targeted version ( #2419 )
2024-02-09 15:21:33 +08:00
843280f82b
enhancement: introduce Ruff for Python linter for reordering and removing unused imports with automated pre-commit and sytle check ( #2366 )
2024-02-06 13:21:13 +08:00