Tutorial · Step 12 of 20

Open the Response panel

Four extracts, ranked. The scores are distances: the first is the closest match. The panel shows the same answer from the inside, the only way to tell a retrieval that worked from a generation that guessed.

Before you start

  • At least one question already asked in the Playground. The panel does not replay a request: it reads the last response the chat received, so an empty thread leaves it empty.
  • A wide enough window. On desktop the chat and the panel sit side by side; on a narrow screen the panel opens from the settings button.
  • Nothing to configure: reading the panel changes no setting and costs no extra request.

Open the Response panel

On app.roomylabs.com/chat, the right-hand column is a panel headed Configuration with three tabs: Configuration, Code and Response. Click the third one.

Two view buttons appear at the right of the tab strip: Visual and JSON. Start with Visual; switch to JSON when you want the payload shape, for instance before wiring a call to the API yourself.

Four extracts, ranked. The scores are distances: the first is the closest match. Open this page

What you see

A header of three lines, then one block per extract.

NameTypeDefaultDescription
Visual / JSON*toggleVisualTwo readings of the same response. Visual lists the extracts as blocks; JSON prints the raw payload. The toggle only exists while the Response tab is active.
Question*textThe question that produced this response, clipped to two lines. It is the header of the panel, and it is what tells you which answer you are inspecting.
Source count*integerHow many extracts retrieval returned, printed as a count of sources. A count of zero means nothing matched, and the Visual view says so in place of a list.
Timing*millisecondsThe same duration the answer showed in seconds, printed in milliseconds. It disappears when the value is zero, so an empty slot means no timing was recorded, not a fast response.
Rank and score*number, 3 decimalsEach extract is numbered from 1, and carries its raw score. The scores are negative logits from the reranker, so -1.386 ranks above -6.494: the closer to zero, the better the match. They are comparable within one response, not across responses.
Show full excerptbuttonExtracts are folded after 220 characters. The button opens the rest of the passage, which is what you need to confirm the sentence the answer used.
Why the scores are negative
Two scales coexist: a vector similarity between 0 and 1, and a reranker score, which is a negative logit. The panel keeps the raw number, because a percentage of a negative logit prints 0 % for a relevant extract. Read the order, not the magnitude.

What you see when it worked

The retrieval worked when four things line up:

  1. The question banner repeats the question you asked, so you know the panel is not showing a previous answer.
  2. The extract count is above zero, and the timing in milliseconds is close to the response time printed in seconds under the answer.
  3. The first extract contains the sentence the answer used. Expand it with Show full excerpt and read the passage: the figure in the answer should be there, word for word.
  4. The ranking makes sense. The best match is about the question asked, not about a neighbouring section that happens to share a word.

If it does not work

Four symptoms, and what each one means.

NameTypeDefaultDescription
No response yetetat videNo question has been asked since the page loaded. The panel reads the last response, it never re-runs one: ask a question in the chat and the panel fills without a click.
No excerpt found for this answer0 sourceRetrieval returned nothing. The answer above it was therefore written without a passage, and its citation, if any, is invented. Rephrase with the words the document uses, or index the document that covers the topic.
The right passage is not in the listmauvais classementThe chunk exists in the corpus but ranked below the ones shown. No prompt rewrite fixes that: the retrieval is what places extracts, and a narrower question with a distinctive term moves the right chunk up.
A score of 0, or no score at allvaleur nulleA score that is not a finite number is hidden rather than printed, so the badge disappears. It says nothing about relevance: read the order of the blocks, which still holds.
Do not read a score as a percentage
-1.386 is a strong match and -7.913 a weak one. Taking the magnitude for confidence concludes the opposite of what the panel says. Compare extracts inside one response, never across questions.

Next

The Playground is a test bench: its conversations are not kept. The next page moves to where the team works: Open the internal chat