General Testing Mode
Enter common user questions or keywords in the source text input box and click the Test button to view the matched content chunks in the Recall Results Area on the right.- Each content chunk displays a similarity score in the upper right corner, indicating how well it matches the question.
- Higher scores mean stronger semantic relevance between the chunk and the question.
- Click a content chunk to view its details and source in the document.
Parent-Child Structure Testing Mode
XpertAI’s knowledge base uses a tree-structured chunking approach. When recalling a child chunk, its parent context is also brought in to provide the AI model with more complete semantic information. During testing:- After the user enters a question, the system first matches the most relevant child chunk;
- Then it automatically traces back to its parent chunk, integrating the context for display;
- The match score is shown in the upper right corner to measure how well the hit segment matches the question.
Query Records and Application Calls
In the Records panel, you can view the history of recall test queries. If the knowledge base is linked to a digital expert or other AI application, queries triggered within the application will also be displayed here, making it easy to track recall logs and effectiveness in one place.Adjusting Text Retrieval Methods
Click the retrieval configuration icon in the upper right corner of the input box to switch the retrieval method and parameters for the current knowledge base. The modified settings only apply to the current recall test, allowing developers to compare the effects of different retrieval strategies. To make global changes, go to “Knowledge Base Settings > Retrieval Settings” to save.Recommended Steps for Recall Testing
- Prepare a test set: Design a set of test questions covering common user scenarios to ensure diversity.
- Choose a retrieval strategy: Select the appropriate retrieval mode based on content characteristics and application scenarios (e.g., Q&A, multilingual corpus, etc.).
- Tune parameters: Adjust the number of recalls (TopK) and similarity threshold (Score) to balance recall relevance and completeness.
Explanation of TopK and Score Parameters
-
TopK: The maximum number of content chunks to recall, sorted by similarity score in descending order.
- Smaller values: More concise recall, but may miss some relevant segments.
- Larger values: More comprehensive recall, but may include less relevant segments, affecting final answer quality.
-
Score (Recall Threshold): Sets the minimum similarity score allowed for recall.
- Lower values: Looser recall, including more low-relevance content.
- Higher values: Stricter recall, retaining only highly relevant segments, but may miss marginal information.
✅ Summary Recall testing in XpertAI is not only a key tool for verifying knowledge base quality, but also an important means to optimize the knowledge pipeline and improve AI answer accuracy. With recall logs, parent-child hierarchical structure, and retrieval parameter tuning, teams can iteratively improve knowledge base quality in a visual and verifiable way, making every answer closer to real business semantics.