> For the complete documentation index, see [llms.txt](https://docs.guardianservice.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.guardianservice.app/technical-information/users/standard-registry-users-schemas-and-policies/policies/policy-differentiation/global-search-and-comparison-ui.md).

# Global search and comparison UI

## 1. Step By Step Process

### 1.1 **Compare**

There are a several ways to select policies for comparison, all of which **do not** require/result in the importing of the policies into Guardian.

<figure><img src="/files/4XwrI7AmzrghQDZUG1Q2" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/STbuFXOIYaKYdbEwjrvX" alt=""><figcaption></figcaption></figure>

Policies can be selected from different sources

Already imported (i.e. now ‘local’) policies

<figure><img src="/files/3FeGD5GZhzWN85oyztMC" alt=""><figcaption></figcaption></figure>

* by message ID<br>

  <figure><img src="/files/Q5NxfpqMm4z5IT1o6qMo" alt=""><figcaption></figcaption></figure>

  * from local file<br>

    <figure><img src="/files/6WdF0wCrWxt7Mn1fo6c0" alt=""><figcaption></figcaption></figure>

    \
    **1.2 Search**<br>

    Not using content similarity criteria for searching.<br>

    <figure><img src="/files/tKoSRrmTZP6TfTTZUcEl" alt=""><figcaption></figcaption></figure>

    Searching based on the content similarity to the existing policy.\ <br>

    <figure><img src="/files/Ze00sTFr13OW8HDiIiSV" alt=""><figcaption></figcaption></figure>


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.guardianservice.app/technical-information/users/standard-registry-users-schemas-and-policies/policies/policy-differentiation/global-search-and-comparison-ui.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
