Skip to main content

Playground

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

FeatureDescription
Retrieval / Q&A toggleSwitch at the top between Knowledge Q&A (retrieval followed by model-generated answers) and Knowledge Retrieval (relevant Chunks only, no generation).
Model switchingSwitch between Qwen-series models to compare answer quality.
Citation highlightingCitations in the answer link back to the original Chunk.
Knowledge source visualizationShows 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

The Playground is the right place to validate retrieval and Q&A quality before integrating into a production application. Run a few rounds and confirm recall and answers match what you expect.
  • 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 pointScopeBest for
PlaygroundSelected Knowledge BaseQuickly validating retrieval and Q&A.
KB detail page → Knowledge RetrievalSingle KBTesting recall on one Knowledge Base.
KB detail page → Knowledge Q&ASingle KBTesting Q&A on one Knowledge Base.