docs: rewrite external knowledge base documentation#737
Conversation
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
There was a problem hiding this comment.
Pull request overview
This PR rewrites and standardizes the documentation for integrating External Knowledge Bases with Dify, aligning terminology and API contracts across user docs, writing guides, and OpenAPI references.
Changes:
- Rewrites the external knowledge base overview and the External Knowledge API specification to reflect a clearer integration flow and updated request/response guidance.
- Standardizes terminology from “relevance score” to “similarity score” across docs and API references.
- Updates the glossary/style guide with new terminology and guidance; adds a new UI screenshot for the connection flow.
Reviewed changes
Copilot reviewed 9 out of 10 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
writing-guides/style-guide.md |
Adds guidance for documenting adjustable/tunable parameters via tradeoffs. |
writing-guides/glossary.md |
Adds/updates glossary entries for “similarity score” and “External Knowledge ID”. |
images/connect-to-external-knowledge-base.png |
Adds a new screenshot used in the external knowledge connection docs. |
en/use-dify/knowledge/integrate-knowledge-within-application.mdx |
Updates rerank terminology to “similarity score”. |
en/use-dify/knowledge/external-knowledge-api.mdx |
Full rewrite of the API contract: auth, request/response schema, metadata filtering, and error handling. |
en/use-dify/knowledge/connect-external-knowledge-base.mdx |
Full rewrite of the overview page with a 3-step flow + troubleshooting section. |
en/api-reference/openapi_knowledge.json |
Updates score/threshold descriptions to “similarity score”. |
en/api-reference/openapi_completion.json |
Updates score description to “similarity score”. |
en/api-reference/openapi_chatflow.json |
Updates score description to “similarity score”. |
en/api-reference/openapi_chat.json |
Updates score description to “similarity score”. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
en/use-dify/knowledge/integrate-knowledge-within-application.mdx
Outdated
Show resolved
Hide resolved
🌐 Multi-language Sync✅ Created sync PR #738 Synced 13 files to cn + jp
Both PRs can merge independently. Future commits here will auto-update the sync PR. |
🌐 Multi-language Sync✅ Updated sync PR #738 Synced 4 files to cn + jp Future commits will auto-update the sync PR. |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 16 out of 17 changed files in this pull request and generated 10 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 18 out of 19 changed files in this pull request and generated 9 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 18 out of 19 changed files in this pull request and generated 4 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Summary
Changed Files
en/use-dify/knowledge/connect-external-knowledge-base.mdxen/use-dify/knowledge/external-knowledge-api.mdxen/use-dify/knowledge/integrate-knowledge-within-application.mdxen/api-reference/openapi_*.json(4 files)writing-guides/glossary.mdwriting-guides/style-guide.mdimages/connect-to-external-knowledge-base.png