An interactive console for testing Knowledge Base retrieval and Q&A.
The Playground is an interactive debugging panel for Knowledge Bases. Select the target Knowledge Base card, choose Knowledge Retrieval or Knowledge Q&A mode, and enter a question to view relevant Chunks or a model-generated answer with citations.
Knowledge Q&A consumes free quota or incurs pay-as-you-go charges.
What you can do
| Feature | Description |
|---|---|
| Retrieval / Q&A toggle | Switch at the top between Knowledge Q&A (retrieval followed by model-generated answers) and Knowledge Retrieval (relevant Chunks only, no generation). |
| Model switching | Switch between Qwen-series models to compare answer quality. |
| Citation highlighting | Citations in the answer link back to the original Chunk. |
| Knowledge source visualization | Shows hit-document cards and per-source counts. |
Steps
1
Open the Playground
Sign in to the console and click Playground in the left navigation.
2
Select a Knowledge Base
Click the target Knowledge Base card in the list.
3
Choose retrieval or Q&A mode
At the top, switch to Knowledge Q&A for retrieval followed by answer generation, or Knowledge Retrieval for relevant Chunks only.
4
Ask a question
Type a question in the input box at the bottom and press Enter. Knowledge Retrieval returns relevant Chunks only; Knowledge Q&A retrieves Chunks and then asks the LLM for an answer.
5
Review the result
Depending on the selected mode, the results area shows:
- Matched Chunks with relevance scores.
- In Knowledge Q&A mode, the model-generated answer and citation markers (such as [1], [2]) — click a citation to expand the source.
Tips
- Check chunk quality — see whether the returned Chunks contain the correct answer. If recall is low, tune your Chunking Strategy.
- Compare models — switch Qwen models to compare answer quality and pick the best fit for your workload.
Compared with the Knowledge Base detail page
| Entry point | Scope | Best for |
|---|---|---|
| Playground | Selected Knowledge Base | Quickly validating retrieval and Q&A. |
| KB detail page → Knowledge Retrieval | Single KB | Testing recall on one Knowledge Base. |
| KB detail page → Knowledge Q&A | Single KB | Testing Q&A on one Knowledge Base. |