> For the complete documentation index, see [llms.txt](https://help.clausebuddy.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.clausebuddy.com/quality-library/how/in-depth/searching-clauses/overview.md).

# Overview

{% embed url="<https://www.youtube.com/watch?v=wR1clJEwsZM>" %}

In ClauseBuddy, you can search clauses in your Quality Library in two major ways: by entering **keywords**, or by browsing through **folders**. You can also use the [Similar Clauses feature](https://help.clausebuddy.com/autosuggest/) to search by similarity.

Each of the three search types has its own strengths and weaknesses:

* [Keyword search](/quality-library/how/in-depth/searching-clauses/searching-by-keywords.md) is what everybody is used to from everyday use in Google or other search engines. ClauseBuddy allows for both a smart search (more intelligent, wider cast) and a strict search (more literal).&#x20;
* Browsing folders perhaps sounds less interesting, but in our experience — both as former lawyers and from having witnessed other users — [searching through folders in a taxonomy](https://help.clausebuddy.com/quality-library/how/in-depth/searching-clauses/browsing-folders) (tree) aligns most closely to how most legal professionals want to search for clauses.&#x20;
* ​Similarity searches through Similar Clauses allow you to immediately get an overview of all the clauses that match a currently selected clause you have currently selected.&#x20;

## Colours in search results <a href="#colors_in_search_results" id="colors_in_search_results"></a>

Any search result will be shown either with a blue, green or purple background.&#x20;

* Clauses with a **purple background** do not contain any deeper intelligence — they merely contain text, placeholders, tables, footnotes, etc.
* Clauses with a **green background** are clauses that were prepared in Clause9. They contain interactive elements, such as dynamic legal terminology, calculations and conditional text.&#x20;
* Clauses with a **blue background** (and a cog icon) are the most interactive of all. They can be like sheer magic: by answering a few questions, the text of the clause will be changed — sometimes in subtle ways by hiding or altering a few words, sometimes very drastically by showing or hiding entire paragraphs.&#x20;

{% hint style="info" %}
The clauses with a green background can only be created with Clause9.&#x20;
{% endhint %}

## Undo & redo <a href="#undo_redo" id="undo_redo"></a>

The rightmost buttons in ClauseBuddy's toolbar allow you to go back and forth in time — essentially a kind of undo & redo that bring you back to earlier search results, before you started to modify keywords, filtered down your search results or modified the wording of the clauses. Do not underestimate the power of those buttons: they can make your search experience so much smoother!

<figure><img src="/files/g2YlvyI41iASIXzbsskO" 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, and the optional `goal` query parameter:

```
GET https://help.clausebuddy.com/quality-library/how/in-depth/searching-clauses/overview.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
