dify/web/features/new-rag
2026-09-03 21:01:21 +08:00
..
__tests__ refactor(knowledge-fs): split translations into dedicated namespace 2026-09-03 17:37:59 +08:00
components refactor(knowledge-fs): split translations into dedicated namespace 2026-09-03 17:37:59 +08:00
create feat(knowledge-fs): add content handling for initial source preview and cleanup tasks 2026-09-03 21:01:21 +08:00
documents refactor(knowledge-fs): split translations into dedicated namespace 2026-09-03 17:37:59 +08:00
list refactor(knowledge-fs): split translations into dedicated namespace 2026-09-03 17:37:59 +08:00
overview refactor(knowledge-fs): split translations into dedicated namespace 2026-09-03 17:37:59 +08:00
quality refactor(knowledge-fs): split translations into dedicated namespace 2026-09-03 17:37:59 +08:00
retrieval refactor(knowledge-fs): split translations into dedicated namespace 2026-09-03 17:37:59 +08:00
settings refactor(knowledge-fs): split translations into dedicated namespace 2026-09-03 17:37:59 +08:00
sources fix (web): show syncing status for initial knowledge sources 2026-09-03 19:03:58 +08:00
space fix(knowledge-fs): show only the shared prefix as the service API endpoint 2026-09-03 05:59:39 -04:00
upgrade refactor(knowledge-fs): split translations into dedicated namespace 2026-09-03 17:37:59 +08:00
upload refactor(knowledge-fs): split translations into dedicated namespace 2026-09-03 17:37:59 +08:00
constants.ts fix(knowledge-fs): unify incomplete model guidance (WTA-1987) 2026-08-13 12:59:27 +08:00
knowledge-fs-task-error.ts refactor(knowledge-fs): split translations into dedicated namespace 2026-09-03 17:37:59 +08:00
README.md refactor(knowledge-fs): remove new rag edit guards 2026-09-01 18:02:18 +08:00
request-id.ts feat(dataset): add crawl source selection (#39325) 2026-07-24 07:11:48 +00:00
routes.ts refactor(knowledge-fs): unify source setup ownership 2026-08-31 19:23:04 +08:00
use-knowledge-model-setup-guard.ts refactor(knowledge-fs): move document row action ownership 2026-08-31 20:12:18 +08:00

New RAG

This feature owns the KnowledgeFS-backed knowledge list, creation flows, sources, documents, revisions, retrieval evaluation, and processing tasks.

  • Route surfaces live in create/, documents/, sources/, retrieval/, quality/, settings/, space/, and overview/; feature tests stay beside their owning surface.
  • list/ owns the KnowledgeFS list integration used by the existing dataset list, while upload/ owns upload behavior shared by creation and document-management flows.
  • routes.ts owns navigation only; shared source drafts, provider discovery, datasource parameters, and setup fields belong to sources/setup/.
  • create/, sources/create/, and source editing own their distinct submission lifecycles; setup modules do not submit those workflows.
  • sources/connections/ owns provider identity matching and connection ranking across source flows.
  • documents/ owns document list and detail behavior, query options, permission recovery, task recovery, and metadata editing.
  • Shared KnowledgeFS read contracts used by other features live under service/knowledge-fs/; feature-specific editing policy remains here.
  • Document query modules own server-state configuration. View components consume those options and coordinate only workflows that require one consistent page snapshot.
  • Document processing events live with documents/tasks/; retrieval event streams live with retrieval/services/.
  • Creation and processing overlays are feature compositions of Dify UI Dialog, AlertDialog, Drawer, and Popover primitives.

Files in this directory remain feature-owned; direct consumers do not become their owners. Keep shared dataset APIs and permission policy in their existing owners rather than copying them into this feature.