> 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/platform/console/knowledge.md). Agents can also search and read this documentation through its [MCP server](https://docs.uptiq.ai/~gitbook/mcp).

# Knowledge

Build queryable knowledge from your documents, then attach it to agents and apps.

Knowledge turns source documents into queryable content for agents. The Uptiq Platform creates a table of contents, tags, and embeddings that agents retrieve during conversations.

Select **Knowledge** in the Console sidebar. Create knowledge at the top of the page and manage project knowledge bases below it. Select **All Datasets** to manage source files. For every task in one place, see [Create a knowledge base](https://docs.uptiq.ai/platform/task-guides/create-a-knowledge.md).

<figure><img src="https://1326225582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0qmgQjJ5aArDTj2ACFHG%2Fuploads%2Fgit-blob-3b39c294803ab40a8f0025e242f2c6df9170791a%2F020_knowledge_landing_cards.png?alt=media" alt="The Knowledge page: Create New Knowledge with a Describe what this knowledge should hold… prompt, a + button and a Datasets selector, three suggestion chips, and MY KNOWLEDGE below as a grid of cards, each with a name, description, Last updated time, a play button and a ⋮ menu; All Datasets sits top right"><figcaption><p>Knowledge opens on the creation prompt, with every knowledge base in the project below it.</p></figcaption></figure>

## Knowledge tasks

| Task                                   | Start with                                             | Result                                                                                               |
| -------------------------------------- | ------------------------------------------------------ | ---------------------------------------------------------------------------------------------------- |
| Build knowledge from a description     | The **Create New Knowledge** prompt                    | A configured knowledge base                                                                          |
| Group source files                     | **All Datasets**                                       | A named dataset that tracks ingestion                                                                |
| Bring changed files into the knowledge | A knowledge base → **Datasets** → **Sync**             | A new knowledge version that agents answer from                                                      |
| Publish a version                      | A knowledge base → **Publish**                         | The latest version is marked published, after approval if required                                   |
| Inspect what was extracted             | A knowledge base → **Content**                         | The table of contents, tags, raw extraction and summary per document                                 |
| Use what you built                     | **Try Knowledge**, or attach it                        | Grounded answers, in the playground or in an agent                                                   |
| Open a governed graph                  | Its row in **MY KNOWLEDGE**, marked **Governed Graph** | The graph on its seven tabs. See [Governed graphs in My Knowledge](#governed-graphs-in-my-knowledge) |

Two concepts work together:

{% columns %}
{% column %}

#### Dataset

A named grouping of source files. It tracks ingestion but does not interpret content.

See [Datasets](https://docs.uptiq.ai/platform/console/knowledge/datasets.md).
{% endcolumn %}

{% column %}

#### Knowledge base

The Platform builds it from datasets or attached files. It contains a table of contents, tags, and embeddings that agents can query.
{% endcolumn %}
{% endcolumns %}

A knowledge base only changes when you **sync** it. Updating a file in a dataset does nothing to the knowledge base until that file is synced, and each file that syncs creates a new knowledge version. See [Sync & versions](https://docs.uptiq.ai/platform/console/knowledge/sync-and-versions.md).

## Create knowledge

Describe what the knowledge should hold. The Platform sets up the knowledge base from your description.

Ready-to-use templates provide starting descriptions for common knowledge types. Select a template, then edit its description before you send it.

Choose a source while you create the knowledge:

{% tabs %}
{% tab title="Attach files" %}
Use **+** to attach files from your computer, a cloud drive, or a website. When you give several website URLs, the Platform creates a dataset for each.
{% endtab %}

{% tab title="Use datasets" %}
Use **Datasets** to select existing datasets. The selector includes **Search datasets…** and **+ Create Dataset**.
{% endtab %}
{% endtabs %}

{% hint style="info" %}
You do not have to have a dataset first. Describing the knowledge and attaching files in one step is the normal path. Datasets matter when you want to reuse the same source files across several knowledge bases, or when you are crawling a website.
{% endhint %}

You can also build knowledge from the **Agent Builder** chat. The agent that builds your agent follows the same process as the Knowledge Builder. It can create a knowledge base, add the files you attach to a dataset, sync it, and attach the result to the agent you're building. See [Build knowledge from the Agent Builder chat](https://docs.uptiq.ai/platform/console/agent-builder/build/attach-knowledge.md#build-knowledge-from-the-agent-builder-chat).

## Find your knowledge

**MY KNOWLEDGE** lists the project's knowledge bases. Each card shows its name, description, last update time, and a **Draft** or **Published** badge. A knowledge base is **Draft** until one of its versions has been published. A governed graph carries a **Governed Graph** badge instead. See [Governed graphs in My Knowledge](#governed-graphs-in-my-knowledge). See [Publish a version](https://docs.uptiq.ai/platform/console/knowledge/sync-and-versions.md#publish-a-version). Select a card to open it.

| Control               | What it does                                                                                                                                                                         |
| --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **Search knowledge…** | Filters by name and description. It does not search document contents. Query a knowledge base in [Try Knowledge](https://docs.uptiq.ai/platform/console/knowledge/try-knowledge.md). |
| List and grid icons   | Switch between row and card views.                                                                                                                                                   |
| **▷**                 | Opens [Try Knowledge](https://docs.uptiq.ai/platform/console/knowledge/try-knowledge.md) for that knowledge base.                                                                    |
| **👁** (eye icon)     | Replaces **▷** on a governed graph. Opens the graph.                                                                                                                                 |
| **⋮**                 | Opens item actions: **Share Knowledge**, **Export Knowledge** and **Delete**.                                                                                                        |

{% hint style="danger" %}
**Deleting a knowledge base cannot be undone here.** It removes the generated structure — the table of contents, tags, and embeddings. The source files stay in their datasets, so you can build a new knowledge base from them, but the deleted one does not come back.
{% endhint %}

Knowledge created from a website crawl is named after its source.

**All Datasets** in the top right opens [Datasets](https://docs.uptiq.ai/platform/console/knowledge/datasets.md).

{% hint style="info" %}
**Share a knowledge base.** Select **Share** in its header, or **Share Knowledge** in its row menu, to give people and teams access as a Viewer or an Editor. A person it isn't shared with can't open it, even with its URL. See [Sharing](https://docs.uptiq.ai/platform/control-center/admin/sharing.md). A governed graph can't be shared this way, because everyone in the account already has access to it.
{% endhint %}

## Governed graphs in My Knowledge

A **governed graph** is created in **Control Center › Govern › Governed Graph**, from an uploaded graph package. You can't create one from the Knowledge page. Once the graph has built, it is knowledge in the account and appears in **MY KNOWLEDGE** with a **Governed Graph** badge. You can reach it, export it or delete it from here. See [Governed Graph](https://docs.uptiq.ai/platform/control-center/govern/governed-graph.md).

A governed graph belongs to the account, not to a project, so every project in the account reads the same graph.

|                 | Knowledge base                                                                                        | Governed graph                                                                                                                                                    |
| --------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Badge**       | **Draft** or **Published**                                                                            | **Governed Graph**                                                                                                                                                |
| **Row icon**    | **▷**, which opens [Try Knowledge](https://docs.uptiq.ai/platform/console/knowledge/try-knowledge.md) | An eye icon, which opens the graph                                                                                                                                |
| **What opens**  | The knowledge base, with its **Datasets** and **Content** tabs                                        | The graph, on seven tabs: **Overview**, **About Graph**, **Ingest & Map**, **Graph Explorer**, **Ask the Agent**, **Provenance** and **Sign-off Queue (Preview)** |
| **Scope**       | Project                                                                                               | Account                                                                                                                                                           |
| **Querying it** | **Try Knowledge**                                                                                     | The **Ask the Agent** tab                                                                                                                                         |

A breadcrumb at the top of the graph, such as **Knowledge › Farmers Insurance Federal Credit Union**, takes you back to the list. If a graph hasn't finished building, its page shows *"This graph is still building. Check back once it completes."* Check the build status in **Control Center › Govern › Governed Graph**.

### The row menu for a governed graph

The **⋮** menu has the same three entries as any knowledge base, but two of them behave differently:

| Entry                | On a governed graph                                                                                                                             |
| -------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| **Share Knowledge**  | Unavailable. Hover over it to read `All users in this account already have access to this knowledge.`                                           |
| **Export Knowledge** | Available, and the export includes the graph. It is greyed out for a graph built on your own Neo4j server, which can't be exported or imported. |
| **Delete**           | In the menu, but a governed graph can't be deleted.                                                                                             |

See [Export and import a knowledge base](#export-and-import-a-knowledge-base) for what an export holds.

## Work on one knowledge base

Open a knowledge base to refine its scope, manage source files, and inspect processing.

* Select the knowledge base name to switch knowledge bases.
* Use chat to add sources or change the knowledge scope. Each reply shows its credit usage. The header shows the credits and cost used by this knowledge base so far, such as `1,123 credits` and `$0.56`.

{% tabs %}
{% tab title="Datasets" %}
This tab lists the datasets and files that the knowledge base uses. It shows each file's version and status. Sync files, upload new versions, and resolve items needing attention here.

See [Sync & versions](https://docs.uptiq.ai/platform/console/knowledge/sync-and-versions.md).
{% endtab %}

{% tab title="Content" %}
This tab lists processed documents. Select a document to review its **Content**, **Tags**, **Raw extraction**, and **Summary**.

See [Document processing](https://docs.uptiq.ai/platform/console/knowledge/document-processing.md).
{% endtab %}
{% endtabs %}

* Select **vN ▾** to view each knowledge version and what created it.
* Select **+ Attach** to add files from your computer, a cloud drive, or a website. See [Add files](https://docs.uptiq.ai/platform/console/knowledge/datasets.md#add-files).
* Select **▷ Try Knowledge** to query the knowledge base and inspect the chunks behind each answer. See [Try Knowledge](https://docs.uptiq.ai/platform/console/knowledge/try-knowledge.md).

{% hint style="info" %}
**Detach dataset** and **Detach from knowledge** remove sources from this knowledge base. The source files remain in the dataset.
{% endhint %}

## Export and import a knowledge base

**Export.** Select the export icon in the header, next to **Share**, or **Export Knowledge** in the row menu. A message shows *"Knowledge export started. You will receive an email when it's ready."* No file downloads in the browser. The email, titled `Your knowledge export "<name>" is ready!`, has a **DOWNLOAD** button. The ZIP holds a package descriptor, the knowledge package as JSON, and the document files of the current version. A second export of the same knowledge base is blocked while one is still running. An export that holds a governed graph includes the graph. **Export Knowledge** is greyed out for a governed graph on your own Neo4j server.

**Import.** Select **Import an existing knowledge** under the prompt box on the Knowledge home. The dialog asks you to bring in a knowledge package exported from Platform. It has a dashed area labelled **Click to upload or drag and drop**, with the note **ZIP file up to 200 MB**, and the buttons **Cancel** and **Next**. Drop a ZIP and select **Next**. **Next** stays unavailable until you add a file. The Platform checks the package and shows **Review changes**: what the import will do, grouped as Knowledge, Datasets and Documents. Items that already exist are marked **Replace**, with a warning such as *"Importing overwrites 3 existing items"*. Select **Import** to apply it.

* If this project already holds the knowledge base in the package, the import updates it and adds a new version. In one test it went from v3 to v4, at the same address, with a single entry in the list.
* If it doesn't, the import creates it.
* If another project holds the package's knowledge, the import makes a new copy and never touches the other project's.
* If the package holds a governed graph, the graph comes in with it, and an imported graph opens in the governed graph view.

## When processing fails

Processing runs through ingestion, table-of-contents generation, tagging, and embeddings. Failures identify the stage that stopped.

Provider throttling commonly stops table-of-contents generation:

> **The provider rate limited the request.**\
> **Failed stage: TOC\_GENERATION**

Failed files show **Sync failed** in **Datasets** and a warning in **Content** → **Documents**. Select the file to view its error and failed stage.

Select **Retry** to process the file again. The Platform also retries automatically, up to three times, within two hours. When the automatic retries are used up, the Platform stops retrying on its own, but **Retry** still works: retry the file by hand from its row, or from the dataset's menu. If it keeps failing, correct the source file, then provide a new version. Common issues include scanned PDFs without text and password-protected files.

{% hint style="warning" %}
**Wait before retrying.** An immediate retry usually meets the same rate limit, and every attempt consumes provider quota. Repeated failures across knowledge bases usually mean a tenant-wide throttle rather than a problem with your files — check with your administrator before continuing.
{% endhint %}

A file contributes only after it shows **Synced**. To retry several failed files, select the dataset's **⋮** → **Retry failed files only**. See [Sync & versions](https://docs.uptiq.ai/platform/console/knowledge/sync-and-versions.md#sync-files).

## Retired options

**Legacy Dataset** and **Legacy Knowledge** no longer appear in Knowledge. Use datasets and knowledge bases instead.

## What's next

{% content-ref url="/pages/20ewSvz8aWCPvWdH5D92" %}
[Datasets](https://docs.uptiq.ai/platform/console/knowledge/datasets.md)
{% endcontent-ref %}

{% content-ref url="/pages/PA28IURCNEWQumjrFqWH" %}
[Sync & versions](https://docs.uptiq.ai/platform/console/knowledge/sync-and-versions.md)
{% endcontent-ref %}

{% content-ref url="/pages/c7bvrDcFqfOHzRZGiGxn" %}
[Try Knowledge](https://docs.uptiq.ai/platform/console/knowledge/try-knowledge.md)
{% endcontent-ref %}

{% content-ref url="/pages/BwEx7UGh4jCQtxAjFDEL" %}
[Knowledge: FAQs & Troubleshooting](https://docs.uptiq.ai/platform/console/knowledge/faqs.md)
{% endcontent-ref %}

{% content-ref url="/pages/tXEHJV59aB5WZpmY6arb" %}
[Document processing](https://docs.uptiq.ai/platform/console/knowledge/document-processing.md)
{% endcontent-ref %}

{% content-ref url="/pages/sqzeGntZTaKzQobnBMkJ" %}
[Attach knowledge](https://docs.uptiq.ai/platform/console/agent-builder/build/attach-knowledge.md)
{% endcontent-ref %}

{% content-ref url="/pages/dCvp1ObdX1aqNNmZR0Vm" %}
[Knowledge & Context](https://docs.uptiq.ai/platform/core-concepts/knowledge-and-context.md)
{% endcontent-ref %}

***

{% columns %}
{% column width="83.33333333333334%" %}

<p align="right"><em>Maintained by</em> <mark style="color:green;">Abhishek Paul</mark><br><code>AI-assisted, human-approved</code></p>
{% endcolumn %}

{% column width="16.666666666666664%" %}

<div align="left"><img src="https://1326225582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0qmgQjJ5aArDTj2ACFHG%2Fuploads%2Fgit-blob-d034645b4f8f8ee661985f5306b60ded3289653c%2Fmaintainer-abhishek-paul.png?alt=media" alt="" width="60"></div>
{% endcolumn %}
{% endcolumns %}


---

# 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/platform/console/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.
