> ## Documentation Index
> Fetch the complete documentation index at: https://docs.caplena.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Re-Sync Topics from a Learning Relationship

> Compare your topic collection with the project it learns from and pull in the latest topic changes in one step.

When a project learns from another project, it copies that project's topic collection once, at setup. After that, the two topic collections are independent: changes you make in the source project don't show up automatically in the project that learns from it.

**Re-Sync topics from Learning Relationship** closes that gap. It shows you exactly how your topic collection differs from the source project, and lets you update your topics to match the source in one step.

## When to use it

* **DEV + PROD trackers:** You develop and test topics in a small DEV project, then push the final topic collection to your large PROD project. See [Tracker Setup: Best Practices](https://docs.caplena.com/topic-assignment/new-ai/tracker-setup.md) for the full workflow.
* **Recurring waves:** You refined the topics in last wave's project and want the new wave to use the same topics.
* **Shared topic collections:** Several projects use the same topic collection and you maintain it in one main project.

## Before you start

* The text-to-analyze column needs a learning relationship to a column in another project. If it doesn't have one, the menu entry doesn't appear. To set one up, see [Starting the Analysis](https://docs.caplena.com/topic-assignment/understanding-the-basics/starting-the-analysis.md#step-1-choose-how-to-start).
* You need edit permissions on the project. With read-only access, you can open the comparison but can't apply it.

> [!NOTE]
>
> The sync always goes in one direction: from the source project into the project you're working in. The source project is never changed.

## Open the comparison

**1. Open the Topics view**

Open the project that should receive the changes, go to the **Topics** view and select the text-to-analyze column you want to update.

**2. Open the menu**

Click the **⋮** button next to **Export** in the top-right corner of the topic list, then select **Re-Sync topics from Learning Relationship**.

![The topics view menu with the Re-Sync topics from Learning Relationship entry](https://mintcdn.com/caplena-32172960/J6bGdwGUwvaYfQ0x/images/topic-assignment/re-sync/re-sync-menu.png?fit=max\&auto=format\&n=J6bGdwGUwvaYfQ0x\&q=85\&s=fb1f60d7462f051b5db21b2ae7efcb00)

> [!TIP]
>
> You can also reach it from the topic editor: open the topic editor, click the **⋮** button in the bottom-left corner, and select **Re-Sync topics from Learning Relationship**.

## Review the differences

The comparison window shows two topic collections side by side:

* **Current project** (left): the topics in the project you're working in.
* **Parent project** (right, highlighted): the topics in the source project.

At the top, a summary tells you which column the topics come from and how many topics will be added, updated or deleted.

![The Re-Sync Topics from Learning Relationship window comparing the current project with the parent project](https://mintcdn.com/caplena-32172960/J6bGdwGUwvaYfQ0x/images/topic-assignment/re-sync/re-sync-comparison.png?fit=max\&auto=format\&n=J6bGdwGUwvaYfQ0x\&q=85\&s=8e6d69ca4a4a7d3e321d75dc18f0badb)

In this example, the PROD project learns from a DEV project. Syncing updates 2 topics, deletes 1 and adds 2.

Each changed topic has a badge:

| Badge | Meaning |
| - | - |
| **+** (blue) | The topic exists only in the source project. Syncing **adds** it to your project. |
| Circular arrow (blue) | The topic exists in both projects, but its label, category, description or sentiment settings differ. Syncing **updates** your topic to match the source. |
| Prohibited sign (red) | The topic exists only in your project. Syncing **deletes** it from your project. |

Hover over a badge to see the details. For an updated topic, you see the values before and after the sync side by side, for example a new label and description.

![Hovering over the badge of an updated topic shows the label and description before and after the sync](https://mintcdn.com/caplena-32172960/J6bGdwGUwvaYfQ0x/images/topic-assignment/re-sync/re-sync-badge-details.png?fit=max\&auto=format\&n=J6bGdwGUwvaYfQ0x\&q=85\&s=a54daeecf424bf6faf47a163c9e02c11)

By default, the window only shows topics that change. Turn off **Show differences** to see the full topic collections, including unchanged topics. Use the search fields above each list to find a specific topic.

> [!WARNING]
>
> Topics that exist only in your current project are **deleted** when you sync. Any assignments of these topics are removed too. If you added a topic only in this project and want to keep it, add it to the source project first and open the comparison again.

### Conflicts

A conflict means the same topic was changed in both projects since the topics were copied. When there are conflicts, a warning shows how many topics are affected. If you sync anyway, the version from the source project wins and replaces your local changes.

## Apply the sync

**1. Click Sync from Source**

Click **Sync from Source** in the bottom-right corner. The number in brackets shows how many topics will change.

**2. Confirm**

Click **Sync from Source** in the confirmation dialog. Your topic collection is updated to match the source project.

![Confirmation dialog: The topic collection on this project will be updated to match the source topic collection](https://mintcdn.com/caplena-32172960/J6bGdwGUwvaYfQ0x/images/topic-assignment/re-sync/re-sync-confirm.png?fit=max\&auto=format\&n=J6bGdwGUwvaYfQ0x\&q=85\&s=405d42506ecad5eb4cc0584617393583)

**3. Run an AI update**

New and changed topics aren't applied to your rows until you run an AI update. Click **Run AI Update** in the Topics view to assign them to your data.

> [!TIP]
>
> Every sync shows up in the [Topic Assignment History](https://docs.caplena.com/topic-assignment/advanced-functionality/topic-assignment-history.md). If you synced by mistake, you can restore the topic collection from before the sync.

## How topics are matched

Caplena matches topics between the two projects by their **label and category** (ignoring upper and lower case). For topics that differ, Caplena looks back to the last point in time when both topic collections were identical. This tells it whether a topic was changed in the source project (an update), in your project, or in both (a conflict).

## Related

> [card] [Tracker Setup: Best Practices](https://docs.caplena.com/topic-assignment/new-ai/tracker-setup.md)
>
> Use re-sync to move topics between a DEV and a PROD project.

> [card] [Learning Relationships Between Projects](https://docs.caplena.com/topic-assignment/understanding-the-basics/learning-relationships-between-projects-legacy-ai-vs-new-ai.md)
>
> How topic inheritance works in the Legacy Model and the LLM Model.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.