In a knowledge base, each imported item—whether a local file, a Notion page, or a web page—becomes a document.From the document list, you can view and manage all these documents to keep your knowledge accurate, relevant, and up-to-date.
Click the knowledge base name at the top to quickly switch between knowledge bases.
Action
Description
Add
Import a new document.
Modify Chunk Settings
Modify a document’s chunking settings (excluding the chunk structure).
Each document can have its own chunking settings, while the chunk structure is shared across the knowledge base and cannot be changed once set.
Delete
Permanently remove a document. Deletion cannot be undone.
Enable / Disable
Temporarily include or exclude a document from retrieval.
Generate Summary
Automatically generates summaries for all chunks in a document. Available when Summary Auto-Gen is enabled.
Existing summaries will be overwritten.
Archive / Unarchive
Archive a document that you no longer need for retrieval but still want to keep. Archived documents are read-only and can be unarchived at any time.
Edit
Modify the content of a document by editing its chunks. See Manage Chunks for details.
According to its chunk settings, every document is split into content chunks—the basic units for retrieval.From the chunk list within a document, you can view and manage all its chunks to improve the retrieval efficiency and accuracy.
Click the document name in the upper-left corner to quickly switch between documents.
Action
Description
Add
Add one or batch add multiple new chunks.
For documents chunked with Parent-child mode, both new parent and child chunks can be added.
Delete
Permanently remove a chunk. Deletion cannot be undone.
Enable / Disable
Temporarily include or exclude a chunk from retrieval. Disabled chunks cannot be edited.
Edit
Modify the content of a chunk. Edited chunks are marked Edited.
For knowledge bases using the Parent-child chunk mode:
When editing a parent chunk, you can choose to regenerate its child chunks or keep them unchanged.
Editing a child chunk does not update its parent chunk.
Add / Edit / Delete Keywords
Add or modify keywords (up to 10) for a chunk to improve its retrievability. Only available for knowledge bases using the Economical index method.
Add / Delete Image Attachments
Remove images extracted from documents or upload new ones within their corresponding chunk.
URLs of extracted images remain in the chunk text, but you can safely remove these URLs to keep the text clean—this won’t affect the extracted images.
Each chunk can have up to 10 image attachments by default, which are returned alongside it during retrieval. Images beyond this limit will not be extracted. Adjust the limit via the SINGLE_CHUNK_ATTACHMENT_LIMIT environment variable.
If you select a multimodal embedding model (marked with a Vision icon), the extracted images will also be embedded and indexed for retrieval.
Add / Edit / Delete Summary
Add, modify, or remove a summary for a chunk.
Summaries are embedded and indexed for retrieval as well. When a summary matches a query, its corresponding chunk is also returned.
Add identical summaries to multiple chunks to enable grouped retrieval, allowing related chunks to be returned together (subject to the Top K limit).
After a document is chunked, carefully review each chunk to ensure it’s semantically complete and appropriately sized for optimal retrieval accuracy and response relevance.Common issues to watch for:
Chunks are too short—may lack sufficient context, leading to semantic loss and inaccurate answers.
Chunks are too long—may include irrelevant information, introducing semantic noise and lowering retrieval precision.
Chunks are semantically incomplete—caused by forced chunking that cuts through sentences or paragraphs, resulting in missing or misleading content during retrieval.
Use Child Chunks as Retrieval Hooks for Parent Chunks
For documents chunked with Parent-child mode, the system searches across child chunks but returns the parent chunks. Since editing a child chunk does not update its parent, you can treat child chunks as semantic tags or retrieval hints for their parent chunks.To do this, rewrite child chunks into keywords, summaries, or common user queries. For example, if a parent chunk covers technical “LED Status Indicators”, you could rephrase its child chunks as:
blinking light, won’t turn on, red light, connection error, frozen (keywords)
Guide to interpreting LED colors and troubleshooting hardware power or pairing issues (summaries)
While high-quality indexing enables semantic search, raw chunks can still be hard to retrieve when they are too specific, noisy, or structurally complex to align well with user queries.Summaries bridge this gap by providing a condensed semantic layer that makes the chunk’s core intent explicit.Use summaries when:
User queries differ from document language: For technical documentation written formally, add summaries in the way users actually ask questions.
Concepts are implicit or buried in details: Add high-level summaries that surface the core concepts and intent, so the chunk can be matched without relying on small details scattered across the text.
Raw text is non-textual: When a chunk is primarily code, tables, logs, transcripts, or otherwise hard to match semantically, add descriptive summaries that clearly label what the chunk contains.
Related chunks should be retrieved together: Apply identical summaries to a series of related chunks to enable grouped retrieval. This semantic glue allows multiple parts of a topic to be retrieved together, providing richer context.
The number of returned related chunks is subject to the Top K limit defined in the retrieval settings.
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"Dify Enterprise Docs","colors":{"primary":"#0060FF","light":"#688FE8","dark":"#0034FF"},"logo":{"light":"https://assets-docs.dify.ai/2025/05/d05cfc6ebe48f725d171dc71c64a5d16.svg","dark":"https://assets-docs.dify.ai/2025/05/c51f1cda47c1d9a4a162d7736f6e4c53.svg"},"favicon":"https://mintcdn.com/dify-enterprise-docs/zvhvyUvEpyoIONBf/logo/dify-logo.png?fit=max\u0026auto=format\u0026n=zvhvyUvEpyoIONBf\u0026q=85\u0026s=e0afd8349b7a272ad12280680a53043c","navbar":{"links":[{"href":"mailto:support@dify.ai","label":"Support"}]},"footer":{"socials":{"x":"https://x.com/dify_ai","github":"https://github.com/langgenius/dify","linkedin":"https://www.linkedin.com/company/langgenius"}},"styling":{"latex":false},"navigation":{"languages":[{"language":"en","default":true,"href":"en/3.13.x/deploy/checklist"},{"language":"zh","href":"zh/3.13.x/deploy/checklist"},{"language":"ja","href":"ja/3.13.x/deploy/checklist"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"dify-enterprise-docs","hasAudioNarration":false,"actualSubdomain":"dify-enterprise-docs","customDomains":["enterprise-docs.dify.ai"],"gitSource":{"type":"github","owner":"langgenius","repo":"dify-enterprise-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"collectionId":"b23b91b8-bf61-4fb0-bbf3-d55d66c55095","liveDeploymentHistoryId":"6ae4489fc0a5d590d24bfa62","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae4489fc0a5d590d24bfa62"},"entitlements":{},"buildId":"6ae4489fc0a5d590d24bfa62","clientVersion":"0.0.4043","searchFilterCounts":[{"language":"en","tag":"Developer Resources","count":1947},{"language":"ja","tag":"開発者リソース","count":1947},{"language":"zh","tag":"开发者资源","count":1947},{"language":"en","tag":"Use","count":1401},{"language":"ja","tag":"使い方","count":1401},{"language":"zh","tag":"使用","count":1401},{"language":"en","tag":"Workspace API","count":1353},{"language":"ja","tag":"Workspace API","count":1353},{"language":"zh","tag":"Workspace API","count":1353},{"language":"en","tag":"Knowledge APIs","count":639},{"language":"ja","tag":"ナレッジ API","count":639},{"language":"zh","tag":"知识库 API","count":639},{"language":"en","tag":"Orchestrate","count":620},{"language":"ja","tag":"オーケストレーション","count":620},{"language":"zh","tag":"编排","count":620},{"language":"en","tag":"App APIs","count":545},{"language":"ja","tag":"アプリ API","count":545},{"language":"zh","tag":"应用 API","count":545},{"language":"en","tag":"Workflow \u0026 Chatflow","count":533},{"language":"ja","tag":"ワークフローとチャットフロー","count":533},{"language":"zh","tag":"工作流与对话流","count":533},{"language":"en","tag":"Deploy","count":530},{"language":"ja","tag":"デプロイ","count":530},{"language":"zh","tag":"部署","count":530},{"language":"en","tag":"Plugins","count":524},{"language":"ja","tag":"プラグイン開発","count":522},{"language":"zh","tag":"插件开发","count":522},{"language":"ja","tag":"管理","count":470},{"language":"zh","tag":"管理","count":470},{"language":"en","tag":"Administer","count":420}],"searchSettings":{"maxResults":12}},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"body{text-autospace:normal}html[data-current-path=\"/\"] .nav-tabs{display:none}"}],"page":{"pagePath":"en/3.12.x/use/knowledge/manage-knowledge/maintain-knowledge-documents","slug":"/en/3.12.x/use/knowledge/manage-knowledge/maintain-knowledge-documents","pageMetadata":{"title":"Manage Knowledge Content","sidebarTitle":"Documents \u0026 Chunks","description":null,"href":"/en/3.12.x/use/knowledge/manage-knowledge/maintain-knowledge-documents"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,em:`em`,li:`li`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Frame,Heading,Info,Note,OptimizedImage,Table,Tip}=_components;if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Note)_missingMdxReference(`Note`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`manage-documents`,children:`Manage Documents`}),`\n`,_jsx(_components.p,{children:`In a knowledge base, each imported item—whether a local file, a Notion page, or a web page—becomes a document.`}),`\n`,_jsx(_components.p,{children:`From the document list, you can view and manage all these documents to keep your knowledge accurate, relevant, and up-to-date.`}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`Click the knowledge base name at the top to quickly switch between knowledge bases.`})}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/dify-enterprise-docs/zCBrUEyhdv73M30T/images/use-dify/knowledge/manage-knowledge-documents.png?fit=max\u0026auto=format\u0026n=zCBrUEyhdv73M30T\u0026q=85\u0026s=5f6cc265a3456b29e3a43d69a02894a6`,alt:`Manage Knowledge Documents`,\"data-og-width\":`3432`,width:`3432`,\"data-og-height\":`1840`,height:`1840`,\"data-path\":`images/use-dify/knowledge/manage-knowledge-documents.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/dify-enterprise-docs/zCBrUEyhdv73M30T/images/use-dify/knowledge/manage-knowledge-documents.png?w=280\u0026fit=max\u0026auto=format\u0026n=zCBrUEyhdv73M30T\u0026q=85\u0026s=6c736dc5afdefee8333163f3ba339815 280w, https://mintcdn.com/dify-enterprise-docs/zCBrUEyhdv73M30T/images/use-dify/knowledge/manage-knowledge-documents.png?w=560\u0026fit=max\u0026auto=format\u0026n=zCBrUEyhdv73M30T\u0026q=85\u0026s=ee43252411d456f892adced4f172d507 560w, https://mintcdn.com/dify-enterprise-docs/zCBrUEyhdv73M30T/images/use-dify/knowledge/manage-knowledge-documents.png?w=840\u0026fit=max\u0026auto=format\u0026n=zCBrUEyhdv73M30T\u0026q=85\u0026s=806e20dcbb492be35c1bdaa63b64758c 840w, https://mintcdn.com/dify-enterprise-docs/zCBrUEyhdv73M30T/images/use-dify/knowledge/manage-knowledge-documents.png?w=1100\u0026fit=max\u0026auto=format\u0026n=zCBrUEyhdv73M30T\u0026q=85\u0026s=53ad85e33de0b367c8e70ffe8d1a0805 1100w, https://mintcdn.com/dify-enterprise-docs/zCBrUEyhdv73M30T/images/use-dify/knowledge/manage-knowledge-documents.png?w=1650\u0026fit=max\u0026auto=format\u0026n=zCBrUEyhdv73M30T\u0026q=85\u0026s=0ff68ddce76d87d1f6bd217291f5a1da 1650w, https://mintcdn.com/dify-enterprise-docs/zCBrUEyhdv73M30T/images/use-dify/knowledge/manage-knowledge-documents.png?w=2500\u0026fit=max\u0026auto=format\u0026n=zCBrUEyhdv73M30T\u0026q=85\u0026s=bb93fa6cae87fd2ae5726c2ad6764852 2500w`})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{style:{textAlign:`left`},children:`Action`}),_jsx(_components.th,{style:{textAlign:`left`},children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:`Add`}),_jsx(_components.td,{style:{textAlign:`left`},children:`Import a new document.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:`Modify Chunk Settings`}),_jsxs(_components.td,{style:{textAlign:`left`},children:[`Modify a document’s chunking settings (excluding the chunk structure).`,_jsx(Info,{children:`Each document can have its own chunking settings, while the chunk structure is shared across the knowledge base and cannot be changed once set.`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:`Delete`}),_jsxs(_components.td,{style:{textAlign:`left`},children:[`Permanently remove a document. `,_jsx(_components.strong,{children:`Deletion cannot be undone`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:`Enable / Disable`}),_jsx(_components.td,{style:{textAlign:`left`},children:`Temporarily include or exclude a document from retrieval.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:`Generate Summary`}),_jsxs(_components.td,{style:{textAlign:`left`},children:[`Automatically generates summaries for all chunks in a document. Available when `,_jsx(_components.strong,{children:`Summary Auto-Gen`}),` is enabled.`,_jsx(Note,{children:`Existing summaries will be overwritten.`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:`Archive / Unarchive`}),_jsx(_components.td,{style:{textAlign:`left`},children:`Archive a document that you no longer need for retrieval but still want to keep. Archived documents are read-only and can be unarchived at any time.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:`Edit`}),_jsxs(_components.td,{style:{textAlign:`left`},children:[`Modify the content of a document by editing its chunks. See `,_jsx(_components.a,{href:`#manage-chunks`,children:`Manage Chunks`}),` for details.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:`Rename`}),_jsx(_components.td,{style:{textAlign:`left`},children:`Change the name of a document.`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`manage-chunks`,children:`Manage Chunks`}),`\n`,_jsx(_components.p,{children:`According to its chunk settings, every document is split into content chunks—the basic units for retrieval.`}),`\n`,_jsx(_components.p,{children:`From the chunk list within a document, you can view and manage all its chunks to improve the retrieval efficiency and accuracy.`}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`Click the document name in the upper-left corner to quickly switch between documents.`})}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/dify-enterprise-docs/zCBrUEyhdv73M30T/images/use-dify/knowledge/manage-document-chunks.png?fit=max\u0026auto=format\u0026n=zCBrUEyhdv73M30T\u0026q=85\u0026s=7c76436cef5ef75637dbdcfee3b1257f`,alt:`Manage Knowledge Chunks`,\"data-og-width\":`3398`,width:`3398`,\"data-og-height\":`1320`,height:`1320`,\"data-path\":`images/use-dify/knowledge/manage-document-chunks.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/dify-enterprise-docs/zCBrUEyhdv73M30T/images/use-dify/knowledge/manage-document-chunks.png?w=280\u0026fit=max\u0026auto=format\u0026n=zCBrUEyhdv73M30T\u0026q=85\u0026s=ccacb6937b9d39ff20bfad1668e3c6b0 280w, https://mintcdn.com/dify-enterprise-docs/zCBrUEyhdv73M30T/images/use-dify/knowledge/manage-document-chunks.png?w=560\u0026fit=max\u0026auto=format\u0026n=zCBrUEyhdv73M30T\u0026q=85\u0026s=c6bb28ecef0e31e25e9b3d7ea59b9f2d 560w, https://mintcdn.com/dify-enterprise-docs/zCBrUEyhdv73M30T/images/use-dify/knowledge/manage-document-chunks.png?w=840\u0026fit=max\u0026auto=format\u0026n=zCBrUEyhdv73M30T\u0026q=85\u0026s=5e8fa2fb2efe1ede9e11bc11ee697676 840w, https://mintcdn.com/dify-enterprise-docs/zCBrUEyhdv73M30T/images/use-dify/knowledge/manage-document-chunks.png?w=1100\u0026fit=max\u0026auto=format\u0026n=zCBrUEyhdv73M30T\u0026q=85\u0026s=6b94c0d53407f55ce34d0cef1a61262a 1100w, https://mintcdn.com/dify-enterprise-docs/zCBrUEyhdv73M30T/images/use-dify/knowledge/manage-document-chunks.png?w=1650\u0026fit=max\u0026auto=format\u0026n=zCBrUEyhdv73M30T\u0026q=85\u0026s=51b63c95ab0c19cd0f0c82e776cc6c83 1650w, https://mintcdn.com/dify-enterprise-docs/zCBrUEyhdv73M30T/images/use-dify/knowledge/manage-document-chunks.png?w=2500\u0026fit=max\u0026auto=format\u0026n=zCBrUEyhdv73M30T\u0026q=85\u0026s=1a50a94ec4698c4a1bd54d6f20f00257 2500w`})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{style:{textAlign:`left`},children:`Action`}),_jsx(_components.th,{style:{textAlign:`left`},children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:`Add`}),_jsxs(_components.td,{style:{textAlign:`left`},children:[`Add one or batch add multiple new chunks. `,_jsx(`br`,{}),_jsx(`br`,{}),`For documents chunked with Parent-child mode, both new parent and child chunks can be added.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:`Delete`}),_jsxs(_components.td,{style:{textAlign:`left`},children:[`Permanently remove a chunk. `,_jsx(_components.strong,{children:`Deletion cannot be undone`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:`Enable / Disable`}),_jsx(_components.td,{style:{textAlign:`left`},children:`Temporarily include or exclude a chunk from retrieval. Disabled chunks cannot be edited.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:`Edit`}),_jsxs(_components.td,{style:{textAlign:`left`},children:[`Modify the content of a chunk. Edited chunks are marked `,_jsx(_components.strong,{children:`Edited`}),`.`,_jsx(`br`,{}),_jsx(`br`,{}),`For knowledge bases using the Parent-child chunk mode: `,_jsxs(`ul`,{children:[_jsx(`li`,{children:`When editing a parent chunk, you can choose to regenerate its child chunks or keep them unchanged.`}),_jsx(`li`,{children:`Editing a child chunk does not update its parent chunk. `})]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:`Add / Edit / Delete Keywords`}),_jsx(_components.td,{style:{textAlign:`left`},children:`Add or modify keywords (up to 10) for a chunk to improve its retrievability. Only available for knowledge bases using the Economical index method.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:`Add / Delete Image Attachments`}),_jsxs(_components.td,{style:{textAlign:`left`},children:[`Remove images extracted from documents or upload new ones within their corresponding chunk.`,_jsx(`br`,{}),_jsx(`br`,{}),`URLs of extracted images remain in the chunk text, but you can safely remove these URLs to keep the text clean—this won’t affect the extracted images. `,_jsxs(Note,{children:[`Each chunk can have up to 10 image attachments by default, which are returned alongside it during retrieval. Images beyond this limit will not be extracted. Adjust the limit via the `,_jsx(_components.code,{children:`SINGLE_CHUNK_ATTACHMENT_LIMIT`}),` environment variable.`]}),_jsxs(Tip,{children:[`If you select a multimodal embedding model (marked with a `,_jsx(_components.strong,{children:`Vision`}),` icon), the extracted images will also be embedded and indexed for retrieval.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:`Add / Edit / Delete Summary`}),_jsxs(_components.td,{style:{textAlign:`left`},children:[`Add, modify, or remove a summary for a chunk.`,_jsx(`br`,{}),_jsx(`br`,{}),`Summaries are embedded and indexed for retrieval as well. When a summary matches a query, its corresponding chunk is also returned.`,_jsx(Tip,{children:`Add identical summaries to multiple chunks to enable grouped retrieval, allowing related chunks to be returned together (subject to the Top K limit).`})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`best-practices`,children:`Best Practices`}),`\n`,_jsx(Heading,{level:`3`,id:`check-chunk-quality`,children:`Check Chunk Quality`}),`\n`,_jsx(_components.p,{children:`After a document is chunked, carefully review each chunk to ensure it’s semantically complete and appropriately sized for optimal retrieval accuracy and response relevance.`}),`\n`,_jsx(_components.p,{children:`Common issues to watch for:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Chunks are `,_jsx(_components.strong,{children:`too short`}),`—may lack sufficient context, leading to semantic loss and inaccurate answers.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Chunks are `,_jsx(_components.strong,{children:`too long`}),`—may include irrelevant information, introducing semantic noise and lowering retrieval precision.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Chunks are `,_jsx(_components.strong,{children:`semantically incomplete`}),`—caused by forced chunking that cuts through sentences or paragraphs, resulting in missing or misleading content during retrieval.`]}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`use-child-chunks-as-retrieval-hooks-for-parent-chunks`,children:`Use Child Chunks as Retrieval Hooks for Parent Chunks`}),`\n`,_jsx(_components.p,{children:`For documents chunked with Parent-child mode, the system searches across child chunks but returns the parent chunks. Since editing a child chunk does not update its parent, you can treat child chunks as semantic tags or retrieval hints for their parent chunks.`}),`\n`,_jsxs(_components.p,{children:[`To do this, rewrite child chunks into `,_jsx(_components.strong,{children:`keywords`}),`, `,_jsx(_components.strong,{children:`summaries`}),`, or `,_jsx(_components.strong,{children:`common user queries`}),`. For example, if a parent chunk covers technical “LED Status Indicators”, you could rephrase its child chunks as:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.em,{children:`blinking light, won’t turn on, red light, connection error, frozen`}),` (keywords)`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.em,{children:`Guide to interpreting LED colors and troubleshooting hardware power or pairing issues`}),` (summaries)`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.em,{children:`What does a solid red light mean?`}),` (queries)`]}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`use-summaries-to-bridge-query-content-gaps`,children:`Use Summaries to Bridge Query-Content Gaps`}),`\n`,_jsx(_components.p,{children:`While high-quality indexing enables semantic search, raw chunks can still be hard to retrieve when they are too specific, noisy, or structurally complex to align well with user queries.`}),`\n`,_jsx(_components.p,{children:`Summaries bridge this gap by providing a condensed semantic layer that makes the chunk’s core intent explicit.`}),`\n`,_jsx(_components.p,{children:`Use summaries when:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`User queries differ from document language`}),`: For technical documentation written formally, add summaries in the way users actually ask questions.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Concepts are implicit or buried in details`}),`: Add high-level summaries that surface the core concepts and intent, so the chunk can be matched without relying on small details scattered across the text.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Raw text is non-textual`}),`: When a chunk is primarily code, tables, logs, transcripts, or otherwise hard to match semantically, add descriptive summaries that clearly label what the chunk contains.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Related chunks should be retrieved together`}),`: Apply identical summaries to a series of related chunks to enable grouped retrieval. This semantic glue allows multiple parts of a topic to be retrieved together, providing richer context.`]}),`\n`,_jsx(Info,{children:_jsx(_components.p,{children:`The number of returned related chunks is subject to the Top K limit defined in the retrieval settings.`})}),`\n`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Manage Knowledge Content","sidebarTitle":"Documents \u0026 Chunks","description":null,"href":"/en/3.12.x/use/knowledge/manage-knowledge/maintain-knowledge-documents"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Manage Documents","slug":"manage-documents","depth":2,"children":[]},{"title":"Manage Chunks","slug":"manage-chunks","depth":2,"children":[]},{"title":"Best Practices","slug":"best-practices","depth":2,"children":[{"title":"Check Chunk Quality","slug":"check-chunk-quality","depth":3,"children":[]},{"title":"Use Child Chunks as Retrieval Hooks for Parent Chunks","slug":"use-child-chunks-as-retrieval-hooks-for-parent-chunks","depth":3,"children":[]},{"title":"Use Summaries to Bridge Query-Content Gaps","slug":"use-summaries-to-bridge-query-content-gaps","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":[],"subdomain":"dify-enterprise-docs","siteName":"Dify Enterprise Docs","title":"Manage Knowledge Content - Dify Enterprise Docs","navMaps":{"firstHrefInVersion":{"3.13.x":{"href":"/en/3.13.x/use/knowledge/manage-knowledge/maintain-knowledge-documents","matchLevel":1},"3.12.x":{"href":"/en/3.12.x/use/knowledge/manage-knowledge/maintain-knowledge-documents","matchLevel":0},"3.11.x":{"href":"/en/3.11.x/use/knowledge/manage-knowledge/maintain-knowledge-documents","matchLevel":1},"3.10.x":{"href":"/en/3.10.x/use/knowledge/manage-knowledge/maintain-knowledge-documents","matchLevel":1},"3.9.x":{"href":"/en/3.9.x/use/knowledge/manage-knowledge/maintain-knowledge-documents","matchLevel":1},"3.8.x":{"href":"/en/3.8.x/use/knowledge/manage-knowledge/maintain-knowledge-documents","matchLevel":1},"3.7.x":{"href":"/en/3.7.x/use/knowledge/manage-knowledge/maintain-knowledge-documents","matchLevel":1},"3.6.x":{"href":"/en/3.6.x/use/knowledge/manage-knowledge/maintain-knowledge-documents","matchLevel":1},"3.5.x":{"href":"/en/3.5.x/use/knowledge/manage-knowledge/maintain-knowledge-documents","matchLevel":1},"3.4.x":{"href":"/en/3.4.x/use/knowledge/manage-knowledge/maintain-knowledge-documents","matchLevel":1},"3.3.x":{"href":"/en/3.3.x/use/knowledge/manage-knowledge/maintain-knowledge-documents","matchLevel":1},"3.2.x":{"href":"/en/3.2.x/use/knowledge/manage-knowledge/maintain-knowledge-documents","matchLevel":1},"3.1.x":{"href":"/en/3.1.x/use/knowledge/manage-knowledge/maintain-knowledge-documents","matchLevel":1},"3.0.x":{"href":"/en/3.0.x/use/knowledge/manage-knowledge/maintain-knowledge-documents","matchLevel":1},"2.8.x":{"href":"/en/2.8.x/use/knowledge/manage-knowledge/maintain-knowledge-documents","matchLevel":1},"2.7.x":{"href":"/en/2.7.x/use/knowledge/manage-knowledge/maintain-knowledge-documents","matchLevel":1},"2.6.x":{"href":"/en/2.6.x/use/knowledge/manage-knowledge/maintain-knowledge-documents","matchLevel":1},"2.5.x":{"href":"/en/2.5.x/use/knowledge/manage-knowledge/maintain-knowledge-documents","matchLevel":1}},"firstHrefInLanguage":{"en":{"href":"/en/3.12.x/use/knowledge/manage-knowledge/maintain-knowledge-documents","matchLevel":0},"zh":{"href":"/zh/3.12.x/use/knowledge/manage-knowledge/maintain-knowledge-documents","matchLevel":1},"ja":{"href":"/ja/3.12.x/use/knowledge/manage-knowledge/maintain-knowledge-documents","matchLevel":1}}},"lastModified":"2026-10-12T11:48:28.765Z","originalFileLocation":"en/3.12.x/use/knowledge/manage-knowledge/maintain-knowledge-documents.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"Dify Enterprise Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/dify-enterprise-docs/0-RXGeruZhgwpkgZ/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/dify-enterprise-docs/0-RXGeruZhgwpkgZ/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/dify-enterprise-docs/0-RXGeruZhgwpkgZ/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/dify-enterprise-docs/0-RXGeruZhgwpkgZ/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/dify-enterprise-docs/0-RXGeruZhgwpkgZ/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/dify-enterprise-docs/0-RXGeruZhgwpkgZ/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/dify-enterprise-docs/0-RXGeruZhgwpkgZ/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/dify-enterprise-docs/0-RXGeruZhgwpkgZ/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/dify-enterprise-docs/0-RXGeruZhgwpkgZ/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Manage Knowledge Content - Dify Enterprise Docs\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Dify Enterprise Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://enterprise-docs.dify.ai/en/3.12.x/use/knowledge/manage-knowledge/maintain-knowledge-documents\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://dify-enterprise-docs.mintlify.app/_mintlify/api/og/v2?division=Manage\u0026amp;title=Manage+Knowledge+Content\u0026amp;theme=fc270d2c96587e5833522f0e\u0026amp;signature=4b105eddf97002c950d6443e467401a998bcbfbaa01d38e64dffed7f3cd546e8\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Manage Knowledge Content - Dify Enterprise Docs\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://dify-enterprise-docs.mintlify.app/_mintlify/api/og/v2?division=Manage\u0026amp;title=Manage+Knowledge+Content\u0026amp;theme=fc270d2c96587e5833522f0e\u0026amp;signature=4b105eddf97002c950d6443e467401a998bcbfbaa01d38e64dffed7f3cd546e8\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/dify-enterprise-docs/0-RXGeruZhgwpkgZ/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Dify Enterprise Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0060FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://enterprise-docs.dify.ai/en/3.12.x/use/knowledge/manage-knowledge/maintain-knowledge-documents\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/en/3.12.x/use/knowledge/manage-knowledge/maintain-knowledge-documents.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://enterprise-docs.dify.ai/en/3.12.x/use/knowledge/manage-knowledge/maintain-knowledge-documents\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://enterprise-docs.dify.ai/zh/3.12.x/use/knowledge/manage-knowledge/maintain-knowledge-documents\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ja\" href=\"https://enterprise-docs.dify.ai/ja/3.12.x/use/knowledge/manage-knowledge/maintain-knowledge-documents\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://enterprise-docs.dify.ai/en/3.12.x/use/knowledge/manage-knowledge/maintain-knowledge-documents\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://enterprise-docs.dify.ai/#organization\",\"name\":\"Dify Enterprise Docs\",\"url\":\"https://enterprise-docs.dify.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://assets-docs.dify.ai/2025/05/d05cfc6ebe48f725d171dc71c64a5d16.svg\"}},{\"@type\":\"WebSite\",\"@id\":\"https://enterprise-docs.dify.ai#website\",\"name\":\"Dify Enterprise Docs\",\"url\":\"https://enterprise-docs.dify.ai\",\"publisher\":{\"@id\":\"https://enterprise-docs.dify.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://enterprise-docs.dify.ai/en/3.12.x/use/knowledge/manage-knowledge/maintain-knowledge-documents#webpage\",\"url\":\"https://enterprise-docs.dify.ai/en/3.12.x/use/knowledge/manage-knowledge/maintain-knowledge-documents\",\"name\":\"Manage Knowledge Content\",\"dateModified\":\"2026-10-12T11:48:28.765Z\",\"isPartOf\":{\"@id\":\"https://enterprise-docs.dify.ai#website\"},\"breadcrumb\":{\"@id\":\"https://enterprise-docs.dify.ai/en/3.12.x/use/knowledge/manage-knowledge/maintain-knowledge-documents#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://enterprise-docs.dify.ai/en/3.12.x/use/knowledge/manage-knowledge/maintain-knowledge-documents#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Knowledge\",\"item\":\"https://enterprise-docs.dify.ai/en/3.12.x/use/knowledge/readme\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Manage Knowledge Content\",\"item\":\"https://enterprise-docs.dify.ai/en/3.12.x/use/knowledge/manage-knowledge/maintain-knowledge-documents\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://enterprise-docs.dify.ai/en/3.12.x/use/knowledge/manage-knowledge/maintain-knowledge-documents#article\",\"headline\":\"Manage Knowledge Content\",\"name\":\"Manage Knowledge Content\",\"url\":\"https://enterprise-docs.dify.ai/en/3.12.x/use/knowledge/manage-knowledge/maintain-knowledge-documents\",\"mainEntityOfPage\":{\"@id\":\"https://enterprise-docs.dify.ai/en/3.12.x/use/knowledge/manage-knowledge/maintain-knowledge-documents#webpage\"},\"dateModified\":\"2026-10-12T11:48:28.765Z\",\"publisher\":{\"@id\":\"https://enterprise-docs.dify.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://enterprise-docs.dify.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Dify Enterprise Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Dify Enterprise Docs","nav":{"global":null,"languages":[{"language":"en","default":true,"versions":[{"version":"3.13.x","tag":"LTS","pages":[{"title":"3.13.x","href":"/en/3.13.x/use/knowledge/manage-knowledge/maintain-knowledge-documents"}]},{"version":"3.12.x","tabs":[{"tab":"Deploy","pages":[{"title":"Deploy","href":"/en/3.12.x/deploy/checklist"}]},{"tab":"Administer","pages":[{"title":"Administer","href":"/en/3.12.x/administer/workspace-management"}]},{"tab":"Use","pages":[{"group":"Orchestrate","icon":"hammer","pages":[{"group":"Workflow \u0026 Chatflow","expanded":false,"pages":[{"title":"Workflow \u0026 Chatflow","sidebarTitle":"Overview","href":"/en/3.12.x/use/build/workflow-chatflow"},{"title":"Orchestration Logic","href":"/en/3.12.x/use/build/orchestrate-node"},{"group":"Nodes","expanded":false,"pages":[{"group":"Start","root":{"title":"Start Node","href":"/en/3.12.x/use/nodes/start"},"pages":[{"title":"User Input","href":"/en/3.12.x/use/nodes/user-input"},{"group":"Trigger","root":{"title":"Trigger","sidebarTitle":"Overview","href":"/en/3.12.x/use/nodes/trigger/overview"},"pages":[{"title":"Schedule Trigger","href":"/en/3.12.x/use/nodes/trigger/schedule-trigger"},{"title":"Integration Trigger","href":"/en/3.12.x/use/nodes/trigger/plugin-trigger"},{"title":"Webhook Trigger","href":"/en/3.12.x/use/nodes/trigger/webhook-trigger"}]}]},{"title":"LLM","href":"/en/3.12.x/use/nodes/llm"},{"title":"Knowledge Retrieval","href":"/en/3.12.x/use/nodes/knowledge-retrieval"},{"title":"Answer","href":"/en/3.12.x/use/nodes/answer"},{"title":"Output","href":"/en/3.12.x/use/nodes/output"},{"title":"Agent","href":"/en/3.12.x/use/nodes/agent"},{"title":"Question Classifier","href":"/en/3.12.x/use/nodes/question-classifier"},{"title":"If-Else","href":"/en/3.12.x/use/nodes/ifelse"},{"title":"Human Input","href":"/en/3.12.x/use/nodes/human-input"},{"title":"Iteration","href":"/en/3.12.x/use/nodes/iteration"},{"title":"Loop","href":"/en/3.12.x/use/nodes/loop"},{"title":"Code","href":"/en/3.12.x/use/nodes/code"},{"title":"Template","href":"/en/3.12.x/use/nodes/template"},{"title":"Variable Aggregator","href":"/en/3.12.x/use/nodes/variable-aggregator"},{"title":"Document Extractor","href":"/en/3.12.x/use/nodes/doc-extractor"},{"title":"Variable Assigner","href":"/en/3.12.x/use/nodes/variable-assigner"},{"title":"Parameter Extractor","href":"/en/3.12.x/use/nodes/parameter-extractor"},{"title":"HTTP Request","href":"/en/3.12.x/use/nodes/http-request"},{"title":"List Operator","href":"/en/3.12.x/use/nodes/list-operator"},{"title":"Tool Node","sidebarTitle":"Tool","href":"/en/3.12.x/use/nodes/tools"}]},{"title":"Hotkeys","href":"/en/3.12.x/use/build/shortcut-key"},{"title":"Version Control","href":"/en/3.12.x/use/build/version-control"},{"title":"Snippets","sidebarTitle":"Snippets","href":"/en/3.12.x/use/build/snippet"},{"title":"Collaborate with Teammates","sidebarTitle":"Collaboration","href":"/en/3.12.x/use/build/workflow-collaboration"},{"group":"Debug","expanded":false,"pages":[{"title":"Handle Errors","href":"/en/3.12.x/use/build/predefined-error-handling-logic"},{"title":"Single Node","href":"/en/3.12.x/use/debug/step-run"},{"title":"Variable Inspector","href":"/en/3.12.x/use/debug/variable-inspect"},{"title":"Run History","href":"/en/3.12.x/use/debug/history-and-logs"},{"title":"Error Types","href":"/en/3.12.x/use/debug/error-type"}]}]},{"group":"New Agent","tag":"Beta","expanded":false,"pages":[{"title":"New Agent","sidebarTitle":"Overview","href":"/en/3.12.x/use/build/new-agent/overview"},{"title":"Build an Agent","sidebarTitle":"Build","href":"/en/3.12.x/use/build/new-agent/build"}]},{"group":"Basic Apps","expanded":false,"pages":[{"title":"Agent","href":"/en/3.12.x/use/build/agent"},{"title":"Chatbot","sidebarTitle":"Chatbot","href":"/en/3.12.x/use/build/chatbot"},{"title":"Text Generator","sidebarTitle":"Text Generator","href":"/en/3.12.x/use/build/text-generator"}]},{"title":"App Toolkit","href":"/en/3.12.x/use/build/additional-features"},{"title":"Go to Anything","href":"/en/3.12.x/use/build/goto-anything"}]},{"group":"Publish","icon":"paper-plane","expanded":false,"pages":[{"title":"Overview","href":"/en/3.12.x/use/publish/README"},{"group":"Web App","pages":[{"title":"Workflow Web Apps","href":"/en/3.12.x/use/publish/webapp/workflow-webapp"},{"title":"Chat Web Apps","href":"/en/3.12.x/use/publish/webapp/chatflow-webapp"},{"title":"Settings","href":"/en/3.12.x/use/publish/webapp/web-app-settings"},{"title":"Access Control","href":"/en/3.12.x/use/publish/webapp/web-app-access"},{"title":"Embed Your Web App","sidebarTitle":"Embeds","href":"/en/3.12.x/use/publish/webapp/embedding-in-websites"}]},{"title":"MCP Server","href":"/en/3.12.x/use/publish/publish-mcp"},{"title":"Publish Apps to Marketplace","sidebarTitle":"Marketplace","href":"/en/3.12.x/use/publish/publish-to-marketplace"}]},{"group":"Monitor","icon":"chart-line","expanded":false,"pages":[{"title":"Dashboard","href":"/en/3.12.x/use/monitor/analysis"},{"title":"Logs","href":"/en/3.12.x/use/monitor/logs"},{"title":"Annotation System","href":"/en/3.12.x/use/monitor/annotation-reply"},{"group":"Integrations","pages":[{"title":"Integrate with LangSmith","sidebarTitle":"LangSmith","href":"/en/3.12.x/use/monitor/integrations/integrate-langsmith"},{"title":"Integrate with Langfuse","sidebarTitle":"Langfuse","href":"/en/3.12.x/use/monitor/integrations/integrate-langfuse"},{"title":"Integrate with Opik","sidebarTitle":"Opik","href":"/en/3.12.x/use/monitor/integrations/integrate-opik"},{"title":"Integrate with W\u0026B Weave","sidebarTitle":"W\u0026B Weave","href":"/en/3.12.x/use/monitor/integrations/integrate-weave"},{"title":"Integrate with Arize","sidebarTitle":"Arize","href":"/en/3.12.x/use/monitor/integrations/integrate-arize"},{"title":"Integrate with Phoenix","sidebarTitle":"Phoenix","href":"/en/3.12.x/use/monitor/integrations/integrate-phoenix"},{"title":"Integrate with Alibaba Cloud Monitor","sidebarTitle":"Alibaba Cloud Monitor","href":"/en/3.12.x/use/monitor/integrations/integrate-aliyun"}]}]},{"group":"Knowledge","icon":"book","expanded":false,"pages":[{"title":"Knowledge","sidebarTitle":"Overview","href":"/en/3.12.x/use/knowledge/readme"},{"group":"Create","pages":[{"group":"Ready-to-Use Knowledge Base","pages":[{"title":"Create a Ready-to-Use Knowledge Base","sidebarTitle":"Overview","href":"/en/3.12.x/use/knowledge/create-knowledge/introduction"},{"group":"Import Data","pages":[{"title":"Upload Local Files","href":"/en/3.12.x/use/knowledge/create-knowledge/import-text-data/readme"},{"title":"Sync Data from Notion","href":"/en/3.12.x/use/knowledge/create-knowledge/import-text-data/sync-from-notion"},{"title":"Import Data from Website","href":"/en/3.12.x/use/knowledge/create-knowledge/import-text-data/sync-from-website"}]},{"title":"Configure the Chunk Settings","href":"/en/3.12.x/use/knowledge/create-knowledge/chunking-and-cleaning-text"},{"title":"Specify the Index Method and Retrieval Settings","href":"/en/3.12.x/use/knowledge/create-knowledge/setting-indexing-methods"}]},{"group":"Custom Knowledge Base","pages":[{"title":"Build a Custom Knowledge Base","sidebarTitle":"Overview","href":"/en/3.12.x/use/knowledge/knowledge-pipeline/readme"},{"title":"Step 1: Create Knowledge Pipeline","href":"/en/3.12.x/use/knowledge/knowledge-pipeline/create-knowledge-pipeline"},{"title":"Step 2: Orchestrate Knowledge Pipeline","href":"/en/3.12.x/use/knowledge/knowledge-pipeline/knowledge-pipeline-orchestration"},{"title":"Step 3: Publish Knowledge Pipeline","href":"/en/3.12.x/use/knowledge/knowledge-pipeline/publish-knowledge-pipeline"},{"title":"Step 4: Upload Files","href":"/en/3.12.x/use/knowledge/knowledge-pipeline/upload-files"},{"title":"Step 5: Manage and Use Knowledge Base","href":"/en/3.12.x/use/knowledge/knowledge-pipeline/manage-knowledge-base"},{"title":"Authorize Data Source","href":"/en/3.12.x/use/knowledge/knowledge-pipeline/authorize-data-source"}]},{"group":"Connect to External Knowledge","pages":[{"title":"Connect to External Knowledge Base","sidebarTitle":"Overview","href":"/en/3.12.x/use/knowledge/connect-external-knowledge-base"},{"title":"External Knowledge API","description":"API specification that your external knowledge service must implement to integrate with Dify","href":"/en/3.12.x/use/knowledge/external-knowledge-api"}]}]},{"group":"Manage","pages":[{"title":"Manage Knowledge Content","sidebarTitle":"Documents \u0026 Chunks","href":"/en/3.12.x/use/knowledge/manage-knowledge/maintain-knowledge-documents"},{"title":"Manage Document Metadata","sidebarTitle":"Metadata","description":null,"href":"/en/3.12.x/use/knowledge/metadata"},{"title":"Manage Knowledge Settings","sidebarTitle":"Settings","href":"/en/3.12.x/use/knowledge/manage-knowledge/introduction"}]},{"title":"Test Knowledge Retrieval","sidebarTitle":"Test Retrieval","href":"/en/3.12.x/use/knowledge/test-retrieval"},{"title":"Integrate Knowledge within Apps","sidebarTitle":"Integrate in Apps","href":"/en/3.12.x/use/knowledge/integrate-knowledge-within-application"}]},{"group":"Integrations","icon":"plug","expanded":false,"pages":[{"title":"Integrations","sidebarTitle":"Overview","href":"/en/3.12.x/use/workspace/plugins"},{"title":"Model Providers","href":"/en/3.12.x/use/workspace/model-providers"},{"group":"Dify Tools","root":{"title":"Dify Tools","sidebarTitle":"Tools","href":"/en/3.12.x/use/workspace/tools"},"pages":[{"title":"Forward User Identity to MCP Servers","href":"/en/3.12.x/use/workspace/mcp-token-forwarding"}]},{"group":"Custom Endpoint","pages":[{"title":"Custom Endpoints","sidebarTitle":"Overview","href":"/en/3.12.x/use/workspace/api-extension/api-extension"},{"title":"External Data Tool","href":"/en/3.12.x/use/workspace/api-extension/external-data-tool-api-extension"},{"title":"Sensitive Content Moderation","href":"/en/3.12.x/use/workspace/api-extension/moderation-api-extension"},{"title":"Deploy Custom Endpoints Using Cloudflare Workers","href":"/en/3.12.x/use/workspace/api-extension/cloudflare-worker"}]}]},{"group":"Workspace","icon":"briefcase","expanded":false,"pages":[{"title":"Overview","href":"/en/3.12.x/use/workspace/readme"},{"title":"Manage Apps","href":"/en/3.12.x/use/workspace/app-management"},{"title":"Manage Members","href":"/en/3.12.x/use/workspace/team-members-management"},{"group":"Permissions","root":{"title":"Permissions","href":"/en/3.12.x/use/workspace/roles-and-permissions"},"expanded":false,"pages":[{"title":"Permission Reference","href":"/en/3.12.x/use/workspace/permission-reference"}]},{"title":"Personal Settings","href":"/en/3.12.x/use/workspace/personal-account-management"}]}]},{"tab":"Developer Resources","menu":[{"item":"Workspace API","pages":[{"title":"Workspace API","href":"/en/3.12.x/develop/api/guides/get-started"}]},{"item":"CLI","pages":[{"title":"CLI","href":"/en/3.12.x/develop/cli/introduction"}]},{"item":"Plugins","pages":[{"title":"Plugins","href":"/en/3.12.x/develop/plugins/getting-started/getting-started-dify-plugin"}]}],"pages":[{"title":"Developer Resources","href":"/en/3.12.x/develop/api/guides/get-started"}]}]},{"version":"3.11.x","pages":[{"title":"3.11.x","href":"/en/3.11.x/use/knowledge/manage-knowledge/maintain-knowledge-documents"}]},{"version":"3.10.x","pages":[{"title":"3.10.x","href":"/en/3.10.x/use/knowledge/manage-knowledge/maintain-knowledge-documents"}]},{"version":"3.9.x","tag":"LTS","pages":[{"title":"3.9.x","href":"/en/3.9.x/use/knowledge/manage-knowledge/maintain-knowledge-documents"}]},{"version":"3.8.x","pages":[{"title":"3.8.x","href":"/en/3.8.x/use/knowledge/manage-knowledge/maintain-knowledge-documents"}]},{"version":"3.7.x","pages":[{"title":"3.7.x","href":"/en/3.7.x/use/knowledge/manage-knowledge/maintain-knowledge-documents"}]},{"version":"3.6.x","pages":[{"title":"3.6.x","href":"/en/3.6.x/use/knowledge/manage-knowledge/maintain-knowledge-documents"}]},{"version":"3.5.x","pages":[{"title":"3.5.x","href":"/en/3.5.x/use/knowledge/manage-knowledge/maintain-knowledge-documents"}]},{"version":"3.4.x","pages":[{"title":"3.4.x","href":"/en/3.4.x/use/knowledge/manage-knowledge/maintain-knowledge-documents"}]},{"version":"3.3.x","pages":[{"title":"3.3.x","href":"/en/3.3.x/use/knowledge/manage-knowledge/maintain-knowledge-documents"}]},{"version":"3.2.x","pages":[{"title":"3.2.x","href":"/en/3.2.x/use/knowledge/manage-knowledge/maintain-knowledge-documents"}]},{"version":"3.1.x","pages":[{"title":"3.1.x","href":"/en/3.1.x/use/knowledge/manage-knowledge/maintain-knowledge-documents"}]},{"version":"3.0.x","pages":[{"title":"3.0.x","href":"/en/3.0.x/use/knowledge/manage-knowledge/maintain-knowledge-documents"}]},{"version":"2.8.x","pages":[{"title":"2.8.x","href":"/en/2.8.x/use/knowledge/manage-knowledge/maintain-knowledge-documents"}]},{"version":"2.7.x","pages":[{"title":"2.7.x","href":"/en/2.7.x/use/knowledge/manage-knowledge/maintain-knowledge-documents"}]},{"version":"2.6.x","pages":[{"title":"2.6.x","href":"/en/2.6.x/use/knowledge/manage-knowledge/maintain-knowledge-documents"}]},{"version":"2.5.x","pages":[{"title":"2.5.x","href":"/en/2.5.x/use/knowledge/manage-knowledge/maintain-knowledge-documents"}]}]},{"language":"zh","pages":[{"title":"zh","href":"/zh/3.12.x/use/knowledge/manage-knowledge/maintain-knowledge-documents"}]},{"language":"ja","pages":[{"title":"ja","href":"/ja/3.12.x/use/knowledge/manage-knowledge/maintain-knowledge-documents"}]}]},"basePath":"","title":"Manage Knowledge Content - Dify Enterprise Docs","buildId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","deploymentId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-Bpq2Z6jK.js","DynamicMarkdown-D5M2At0B.js","zoom-image-lightbox-DL4wrF0w.js","lightbox-handle-r17bVUz3.js"]}