> For the complete documentation index, see [llms.txt](https://docs.uptiq.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.uptiq.ai/academy/tier-2-core-skills/m04-knowledge-management/lab-5-validate-retrieval-quality-using-try-knowledge.md). Agents can also search and read this documentation through its [MCP server](https://docs.uptiq.ai/~gitbook/mcp).

# Lab 5: Validate retrieval quality using Try Knowledge

Hands-on lab for lesson 5 of module M04, validate retrieval quality using try knowledge.

{% @uptiq-training/training-labels content="Module 4 | brand
Lesson 5 of 8 | brand
Lab 5 | success
15 minutes | neutral
Bloom level Apply | neutral" %}

{% @uptiq-training/training-navigator title="M04 Knowledge Management — Datasets, Sync & Versioning" content="Lesson 1: Distinguish datasets from knowledge bases | soon
Lesson 2: Create a dataset and ingest source files | soon
Lab 2: Create a dataset and ingest source files
Lesson 3: Build a knowledge base and navigate version history | soon
Lab 3: Build a knowledge base and navigate version history
Lesson 4: Configure Knowledge Sync and dataset auto-sync | soon
Lesson 5: Validate retrieval quality using Try Knowledge | soon
Lab 5: Validate retrieval quality using Try Knowledge | current
Lesson 6: Diagnose and resolve processing failures | soon
Lab 6: Diagnose and resolve processing failures
Lesson 7: Structure a knowledge base for agent grounding | soon
Lesson 8: Module assessment | soon" %}

## Lab overview

**Exercise title:** Validate Retrieval Quality Using Try Knowledge

**Difficulty level:** Apply

**Estimated hands-on time:** 15 minutes (12 minutes hands-on lab activity)

**What you will do:** Open the knowledge base you built in Lesson 3, query it using Try Knowledge, inspect the Knowledge Chunks and Citations behind the answer, and confirm that the top-ranked chunk comes from your bank policy document rather than from generic financial content. You will then select an earlier knowledge version and ask the same question to compare results.

**Prerequisites:**

* Lesson 3 complete: a knowledge base built from the bank policy dataset, with all files showing **Synced** status
* Your sandbox environment is accessible and you are logged in to the Uptiq Platform Console
* You have the **Build knowledge** capability in your sandbox role (Developer, Governance Manager, Account Admin, or Org Admin)

## Your sandbox environment

**Environment access URL:** `<provided by your instructor>`

### Connection details

| **Field**                    | **Where to find it**                                                                                 |
| ---------------------------- | ---------------------------------------------------------------------------------------------------- |
| **The Platform Console URL** | Provided by your instructor or deployment team                                                       |
| **Your login credentials**   | Provided by your instructor                                                                          |
| **Project name**             | Confirm you are in the correct project before opening Knowledge — knowledge bases are project-scoped |

### Pre-provisioned resources — no setup required

The following are already in place in your sandbox. You do not need to create or configure them before starting this lesson.

* The knowledge base from Lesson 3, containing the bank policy document and rate sheet files, with all files in **Synced** status
* The bank policy document, which contains content that answers the sample borrower question used in this lab
* At least two knowledge versions in the version history (the initial version plus at least one version created by a file sync)

{% hint style="info" %}
**Tip:** If you do not see the knowledge base from Lesson 3 in MY KNOWLEDGE, confirm you are in the correct project using the account/project switcher in the top navigation bar.
{% endhint %}

## Configuration template

This lesson does not require you to author a configuration file. Try Knowledge is a read-only testing interface — you type a question, review the answer, and inspect the chunks behind it. There are no parameters to fill in and no YAML or configuration to complete.

The one value you supply is the sample borrower question. Use this exact wording:

> What is the maximum loan-to-value ratio for a residential mortgage?

Use this question verbatim in Step 3 of Procedure 1. The exact wording matters: the question must match the content in the bank policy document closely enough to return a high-scoring chunk. Paraphrasing may produce lower scores or a different top-ranked chunk.

## Step-by-step instructions

### Procedure 1 — Open Try Knowledge and Query the Knowledge Base

{% stepper %}
{% step %}
**Open the knowledge base from Lesson 3**

Navigate to `Console > Knowledge` in the left sidebar. Locate your knowledge base from Lesson 3 in the MY KNOWLEDGE section.

You have two ways to open Try Knowledge:

* Select **▷** (the play icon) directly on the knowledge base card in **MY KNOWLEDGE**, or
* Open the knowledge base first, then select **▷ Try Knowledge** inside it

Either path opens the same Try Knowledge interface.

*Try Knowledge interface open, showing the version selector (vN ▾) in the top area and an empty chat input field*

{% hint style="info" %}
**Tip:** If you select ▷ on the knowledge base card and the Try Knowledge panel opens as a side panel rather than full-width, look for an expand icon in the top right of the panel to open it full-width.
{% endhint %}
{% endstep %}

{% step %}
**Confirm the version selector shows the latest version**

Look at the vN ▾ version menu at the top of the Try Knowledge interface. Confirm it shows the latest version of your knowledge base — this is the default when you open Try Knowledge.

*Try Knowledge version selector (vN ▾) open, showing the version list with the latest version highlighted*

{% hint style="info" %}
**Concept:** The version selector controls which snapshot of your knowledge base answers your question. The latest version is always the default. Selecting an earlier version does not change what agents use — agents always retrieve from the latest version. The selector only affects this test session.
{% endhint %}

**Expected result:** The version menu shows the latest version selected. If your knowledge base has multiple versions (from syncing multiple files), the latest version number is the highest number in the list.

{% hint style="success" %}
**Checkpoint:** Confirm the version selector shows the latest version before sending your question. If it shows an earlier version, select the latest from the dropdown now.
{% endhint %}
{% endstep %}

{% step %}
**Send the sample borrower question**

Type the following question exactly as written into the chat input field and send it:

> What is the maximum loan-to-value ratio for a residential mortgage?

Wait for Try Knowledge to return an answer. Response time is typically a few seconds.

**Expected result:** Try Knowledge returns a text answer to the question. The answer draws only from your knowledge base — it does not use agent instructions, tools, or other knowledge sources.

{% hint style="warning" %}
**Warning:** If Try Knowledge returns no answer or says it does not know, do not proceed to Step 4. Go to the Troubleshooting Quick Reference and follow the row for "Try Knowledge returns no answer or 'I don't know'."
{% endhint %}
{% endstep %}

{% step %}
**Review the answer**

Read the answer Try Knowledge returned. Note that this answer comes from your knowledge base alone — it reflects only what is in the synced content of the version you selected.

{% hint style="info" %}
**Concept:** Try Knowledge answers differently from your agent for an important reason. Your agent also follows its instructions and can use its tools and other knowledge sources, so its answer to the same question may differ even when it retrieves the same chunks. Try Knowledge isolates the knowledge base so you can validate retrieval quality before attaching the knowledge base to an agent.
{% endhint %}
{% endstep %}
{% endstepper %}

### Procedure 2 — Open the Execution Report and Inspect Knowledge Chunks

{% stepper %}
{% step %}
**Open the Execution Report**

{% hint style="info" %}
**Tip:** The Execution Report button may be easy to miss — it sits in the top right of the Try Knowledge panel, not inline with the answer. If you do not see it, scroll up or look for a report or log icon near the top of the interface.
{% endhint %}

**Expected result:** The Execution Report panel opens, showing one or more entries — one for each answer Try Knowledge has returned in this session.
{% endstep %}

{% step %}
**Select the answer's Evaluation Report**

In the Execution Report panel, find the entry that corresponds to the answer you just received and select its Evaluation Report.

**Expected result:** The Evaluation Report opens and displays the **Knowledge Chunks and Citations** section.

*Evaluation Report open, showing the Knowledge Chunks and Citations section with chunk rank, title, Score, and tags visible*
{% endstep %}

{% step %}
**Inspect the Knowledge Chunks and Citations**

Review the chunks listed in the Knowledge Chunks and Citations section. For each chunk, note:

* **Rank** — the position of this chunk in the retrieval results (1 = highest)
* **Title** — the document or section this chunk came from
* **Score** — a number from 0 to 1 indicating how closely this chunk matched your question (higher = more relevant)
* **Tags** — labels applied by the Platform during processing, in the format `NAMESPACE:VALUE`

The chunks are listed from highest score to lowest.

{% hint style="info" %}
**Concept:** The Score tells you how closely a chunk matched your question — not whether the answer is correct. A Score near 1.0 means the chunk was a very close match to the question wording and content. A Score near 0 means the chunk was a poor match. When your knowledge base is well-structured and contains the right institutional content, the top-ranked chunk should have a high Score and should come from the document most relevant to the question.
{% endhint %}

**What to confirm at this step:**

1. Identify the document source of the top-ranked chunk (Rank 1). Look at the **Title** field — it should show the name of your bank policy document, not a generic financial reference.
2. Note the **Score** value of the top-ranked chunk. Write it down — you will compare it in the independent variation.
3. Confirm the top-ranked chunk comes from the bank policy document, not from a generic financial source.

{% hint style="success" %}
**Checkpoint:** The top-ranked chunk (Rank 1) must be sourced from the bank policy document. If the title of the top-ranked chunk does not match your bank policy document name, go to the Troubleshooting Quick Reference and follow the row for "Chunks come from unexpected sources."
{% endhint %}

{% hint style="success" %}
**Best practice:** When validating a knowledge base for a specific agent use case, always check both the document source (Title) and the Score of the top-ranked chunk. A high Score from the right document confirms that your knowledge base is correctly structured for the question type your agent will receive. A high Score from the wrong document means your knowledge base may contain content that competes with your institutional source — review your dataset contents.
{% endhint %}
{% endstep %}
{% endstepper %}

### Procedure 3 — Compare an Earlier Knowledge Version (Independent Variation)

{% stepper %}
{% step %}
**Select an earlier version from the version menu**

Select the vN ▾ version menu at the top of the Try Knowledge interface. From the list, choose any version earlier than the current latest version.

*Try Knowledge version selector open, showing multiple versions listed with an earlier version being selected*

{% hint style="warning" %}
**Warning:** Selecting an earlier version here only affects this Try Knowledge test session. It does not change which version your agent uses. Agents always retrieve from the latest completed version of the knowledge base — this selection is for comparison only.
{% endhint %}

**Expected result:** The version selector updates to show the earlier version you selected. The chat interface is ready for a new question.
{% endstep %}

{% step %}
**Ask the same question and compare results**

Type the same sample question and send it:

> What is the maximum loan-to-value ratio for a residential mortgage?

**What to compare:**

* Does the answer differ from the answer you received with the latest version?
* Are the top-ranked chunks the same documents, or different?
* Are the Score values higher, lower, or similar?

{% hint style="info" %}
**Concept:** Differences between versions reflect what changed in the knowledge base between syncs. If a file was added or updated between the earlier version and the latest version, the chunks available to answer the question may be different. This is why Try Knowledge version comparison is useful before and after a sync — you can confirm that a new sync improved retrieval quality rather than degraded it.
{% endhint %}

**Expected result:** You can observe any difference in the answer or chunk sources between the earlier version and the latest version. There may be no difference if the content relevant to this question did not change between versions — that is a valid outcome.

{% hint style="success" %}
**Checkpoint:** You have successfully completed the independent variation if you can answer: did the earlier version return the same top-ranked chunk as the latest version? Note your observation — you may be asked about it in the Lesson 8 summative assessment.
{% endhint %}
{% endstep %}
{% endstepper %}

## Troubleshooting

<details>

<summary>Fixes for common problems in this lab</summary>

| **Symptom**                                                            | **Cause**                                                                                                                                | **Fix**                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| ---------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **Try Knowledge returns no answer or says "I don't know"**             | The knowledge base may not contain synced content that answers the question, or the question wording does not match the document content | <p>Verify the bank policy document covers the topic of loan-to-value ratios.<br><br>Open the knowledge base, go to the <strong>Datasets</strong> tab, and confirm the bank policy document shows <strong>Synced</strong> status.<br><br>If it shows <strong>Ready to sync</strong> or <strong>Sync failed</strong>, the file has not been incorporated into the knowledge base — sync it first.<br><br>Use the exact sample question wording provided in this guide.</p> |
| **Chunks come from unexpected sources (not the bank policy document)** | The knowledge base may contain additional files that are competing with the bank policy document for retrieval                           | <p>Open the knowledge base and go to the <strong>Datasets</strong> tab.<br><br>Review all files in the dataset.<br><br>If files unrelated to bank policy are present and synced, they may be returning chunks for this question.<br><br>For this exercise, the knowledge base should contain only the bank policy document and rate sheet files from Lesson 3.</p>                                                                                                       |
| **Execution Report button is not visible**                             | The button is in the top right of the Try Knowledge interface and may require scrolling up, or the panel may need to be expanded         | Scroll to the top of the Try Knowledge panel. Look for a report or log icon in the top right corner. If Try Knowledge opened as a narrow side panel, expand it to full width — the Execution Report button may be hidden when the panel is narrow.                                                                                                                                                                                                                       |
| **All chunk Score values are near 0**                                  | The question wording does not closely match the content in the knowledge base                                                            | <p>Use the exact sample question wording: "What is the maximum loan-to-value ratio for a residential mortgage?" Do not paraphrase.<br><br>If scores remain near 0 with the exact wording, the bank policy document in your sandbox may not contain content on this topic — contact your instructor.</p>                                                                                                                                                                  |

{% hint style="info" %}
**Tip:** Only synced content can answer questions in Try Knowledge. Files that are in Ready to sync or Sync failed status do not contribute to answers, even if they appear in the dataset. Always check file status in the Datasets tab when recently uploaded content is missing from answers or chunks.
{% endhint %}

</details>

## Checkpoints and validation

### Embedded Checkpoints (Formative)

The following checkpoints confirm you have completed each procedure correctly. These are not scored.

#### After Step 2 — Version selector confirmed

Confirm the vN ▾ selector shows the latest version before you send your question. If it shows an earlier version, select the latest from the dropdown.

#### After Step 3 — Answer returned

Try Knowledge must return a text answer to the sample question before you proceed to the Execution Report. If no answer is returned, follow the troubleshooting row for "Try Knowledge returns no answer."

#### After Step 7 — Institutional chunk confirmed

The top-ranked chunk (Rank 1) in Knowledge Chunks and Citations must be sourced from the bank policy document. Confirm this by checking the Title field of the Rank 1 chunk. Record the Score value of the top-ranked chunk.

This is the primary formative signal for this lesson. If the top-ranked chunk is not from the bank policy document, your knowledge base may contain competing content — follow the troubleshooting row for "Chunks come from unexpected sources" before continuing.

#### After Step 9 — Version comparison complete

You have successfully completed the independent variation when you can state whether the earlier version returned the same top-ranked chunk as the latest version, and whether the Score values differed.

#### Independent validation — no warning icons

**Assessment Component:** No summative assessment in this lesson. EO-3 and EO-5 are assessed in the Lesson 8 summative. The performance checkpoint above — confirming the institutional chunk as the top-ranked result — is the formative signal for this lesson.

## Solution reference

<details>

<summary>The completed state of your work</summary>

The following describes the completed state of your sandbox environment after all procedures in this lesson are successfully executed.

### Try Knowledge session — latest version

* You queried the knowledge base from Lesson 3 using the sample question: "What is the maximum loan-to-value ratio for a residential mortgage?"
* Try Knowledge returned a text answer drawn from the synced content of the latest knowledge version
* The Execution Report → Evaluation Report → Knowledge Chunks and Citations panel was accessible and displayed at least one chunk

### Top-ranked chunk — expected state

| **Field** | **Expected value**                                                                                                                  |
| --------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| **Rank**  | 1                                                                                                                                   |
| **Title** | The name of your bank policy document (as it appears in the dataset)                                                                |
| **Score** | A value closer to 1.0 than to 0 — the exact value depends on your sandbox content, but the bank policy document should rank highest |
| **Tags**  | One or more tags in `NAMESPACE:VALUE` format applied by the Platform during processing                                              |

### Version comparison — expected state

* You selected an earlier version from the **vN ▾** menu and asked the same question
* You observed whether the answer or chunk sources differed between the earlier version and the latest version
* The version selector returned to the earlier version for the duration of the test session only — your agent continues to use the latest version

### What a successfully completed lab environment looks like

* The knowledge base from Lesson 3 remains intact with all files in **Synced** status — no files were modified, deleted, or re-synced during this lesson
* The Try Knowledge session history in the Execution Report shows at least two entries: one for the latest-version query and one for the earlier-version query
* You can identify the top-ranked chunk's document source, Score value, and at least one tag
* You can explain why Try Knowledge may answer differently from the agent that uses this knowledge base (Try Knowledge uses only the knowledge base; the agent also uses its instructions and other skills)

{% hint style="success" %}
**Best practice:** Before attaching a knowledge base to an agent, always run at least one Try Knowledge validation using a question representative of what real users will ask. Confirm the top-ranked chunk comes from the right document and carries a high Score. If it does not, review your dataset contents before the agent goes live.
{% endhint %}

</details>

{% hint style="success" %}
**Lab complete.** Confirm every checkpoint above before you move on.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.uptiq.ai/academy/tier-2-core-skills/m04-knowledge-management/lab-5-validate-retrieval-quality-using-try-knowledge.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
