> For the complete documentation index, see [llms.txt](https://guardian.hedera.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guardian.hedera.com/docs/3.7.0/guardian/workspace/policies/verifiable-credential-documents/document-comparison/document-comparison-using-ui.md).

# Document Comparison using UI

1. [Step By Step Process](#id-1.-step-by-step-process)
2. [Demo Video](#id-2.-demo-video)

## 1. Step By Step Process

We can now compare VC and VP documents.

{% hint style="info" %}
**Documents can only be compared of published policies.**
{% endhint %}

All dialogs displaying documents provide means to add the current document into the ‘diff basket’ - the list of documents for comparison.

<figure><img src="https://content.gitbook.com/content/p049ONtJzdmiKq7Lsv1e/blobs/BpQWZ8MI9MmHAe6RJHXA/image.png" alt=""><figcaption></figcaption></figure>

If the ‘diff basket’ of documents is not empty then a corresponding icon with a count will be displayed in the menu bar of Guardian UI. From the drop-down menu displayed upon clicking on this icon users can select document and execute the comparison.

<figure><img src="https://content.gitbook.com/content/p049ONtJzdmiKq7Lsv1e/blobs/QzlB7PqtJkZuDgFXWJxK/image.png" alt=""><figcaption></figcaption></figure>

When documents are compared the entire chain of linked documents is compared along with its contents.

<figure><img src="https://content.gitbook.com/content/p049ONtJzdmiKq7Lsv1e/blobs/qQcQK43LXaYnGbCXDpqC/image.png" alt=""><figcaption></figcaption></figure>

<figure><img src="https://content.gitbook.com/content/p049ONtJzdmiKq7Lsv1e/blobs/0PN9fr1Elio0Q9t7wzpB/image.png" alt=""><figcaption></figcaption></figure>

## 2. Demo Video

[Youtube](https://youtu.be/2ABlV3amPVo?si=9SKcuEakrNasclZ-\&t=125)


---

# 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://guardian.hedera.com/docs/3.7.0/guardian/workspace/policies/verifiable-credential-documents/document-comparison/document-comparison-using-ui.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.
