Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.dify.ai/llms.txt

Use this file to discover all available pages before exploring further.

In a knowledge base, click the Retrieval Testing icon in the left sidebar to enter the testing page. Here, you can simulate user queries to test how well the knowledge base retrieves relevant information and experiment with different retrieval settings for optimal performance.
Retrieval settings adjusted here are temporary and only apply to the current test session.
For more about retrieval settings, see Configure the Retrieval Settings.
The Records section logs all retrieval events associated with this knowledge base, including:
  • Queries tested directly on the Retrieval Testing page
  • Retrieval requests made by any linked app—whether during test runs or in production
Test retrievals and regular retrievals share the same API endpoint.