> For the complete documentation index, see [llms.txt](https://docs.greatwave.ai/great-wave-ai-harness/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.greatwave.ai/great-wave-ai-harness/great-wave-ai-harness/knowledge-management/knowledge.md). Agents can also search and read this documentation through its [MCP server](https://docs.greatwave.ai/great-wave-ai-harness/~gitbook/mcp).

# Knowledge

The **Knowledge Collections** page is your central hub for managing knowledge bases (called "Collections") that power your AI agents. Collections are organised repositories of documents that your agents can access and reference when answering user questions.

Think of Collections as filing cabinets—each one holds different documents and information that your agents can search through to provide accurate, contextual responses.

#### What Can You Do Here? <a href="#what-can-you-do-here" id="what-can-you-do-here"></a>

* **Create** new Collections for different topics or projects
* **Browse** existing Collections with descriptions and tags
* **Edit** Collection names, descriptions, and tags
* **Delete** Collections you no longer need
* **Organise** Collections by reordering them
* **Search** Collections by name
* **Filter** Collections by tags
* **Upload documents** to Collections (via the Documents page)

***

### Getting Started <a href="#getting-started" id="getting-started"></a>

#### Accessing the Knowledge Collections Page <a href="#accessing-the-knowledge-collections-page" id="accessing-the-knowledge-collections-page"></a>

1. Log in to your application
2. Click on **Knowledge** in the main navigation menu on the left side
3. The Collections page will load, showing all your existing Collections (if any)

#### Initial Setup <a href="#initial-setup" id="initial-setup"></a>

When you first visit the Knowledge Collections page:

* You may see an empty Collections area if no Collections exist yet
* A message will say "No collections available" or similar
* You can create your first Collection immediately by clicking the **+ New Collection** button

***

### Navigation Guide <a href="#navigation-guide" id="navigation-guide"></a>

#### Page Layout <a href="#page-layout" id="page-layout"></a>

The Knowledge Collections page is divided into several sections:

**1. Collection Manager Header**

Located at the top of the page, this section contains:

* **+ New Collection button** (left side) - Creates a new Collection
* **Search bar** (centre) - Find Collections by name
* **Filter button** (right side) - Filter Collections by tags

**2. Collections Grid**

Below the manager header:

* Collections are displayed as cards in a grid layout
* The number of columns changes based on your screen size (1 column on mobile, up to 6 columns on very large screens)
* Each card shows a Collection's name, description, and tags

**3. Collection Cards**

Each Collection is displayed as a card featuring:

* **Collection icon** - Visual indicator at the top
* **Collection name** - Bold heading
* **Description** - Preview of the Collection's purpose (limited to 3 lines)
* **Tag** - Colour-coded category label (if assigned)
* **Select button** - Opens the Collection to manage its documents
* **Menu options** - Edit and delete options (accessible via the three-dot menu)

***

### Feature-by-Feature Instructions <a href="#feature-by-feature-instructions" id="feature-by-feature-instructions"></a>

#### Creating a New Collection <a href="#creating-a-new-collection" id="creating-a-new-collection"></a>

**Step-by-Step Instructions:**

1. Click the **+ New Collection** button in the top-left corner
2. The **Collection Editor** window will open
3. Enter a **Collection Name** (e.g., "HR Documents", "Product Specifications")
4. (Optional) Select or create a **Tag / Group** for organisation
5. Enter a **Description** explaining what this Collection contains
6. Choose one of the save options:
   * **Save Changes** - Creates the Collection and closes the editor
   * **Save & Go** - Creates the Collection and automatically opens it for document uploads

**What to Enter:**

| Field           | Required? | Format            | Example                                         |
| --------------- | --------- | ----------------- | ----------------------------------------------- |
| Collection Name | Yes       | Text (any length) | "Customer Service FAQs"                         |
| Tag / Group     | No        | Single tag        | "Customer Support"                              |
| Description     | No        | Free text         | "Frequently asked questions for support agents" |

**Expected Result:**

* Collection appears as a new card in the grid
* If you clicked "Save & Go", you'll automatically navigate to the Documents page to upload files
* If you clicked "Save Changes", you'll remain on the Collections page and can select the Collection later

***

#### Selecting a Collection <a href="#selecting-a-collection" id="selecting-a-collection"></a>

Selecting a Collection opens it so you can view and manage its documents.

**Steps:**

1. Find the Collection you want to work with
2. Click the **Select** button at the bottom-right of the Collection card
3. You'll be taken to the **Documents** page for that Collection
4. From there, you can upload files, view existing documents, and build indexes

**What Happens:**

* The Collection becomes "active" (highlighted as your current working Collection)
* The Collection name appears in the navigation bar as your active Collection
* You can now upload and manage documents in this Collection

***

#### Editing a Collection <a href="#editing-a-collection" id="editing-a-collection"></a>

Change a Collection's name, description, or tag at any time.

**Steps:**

1. Locate the Collection you want to edit
2. Click the **three-dot menu icon** (⋯) in the top-right corner of the Collection card
3. Select **Edit** from the menu
4. The **Collection Editor** window opens
5. Make your changes to:
   * Collection Name
   * Description
   * Tag / Group
6. Click **Save Changes**

**What You Can Edit:**

* **Collection Name** - Change the title of the Collection
* **Description** - Update the explanation of what the Collection contains
* **Tag / Group** - Add, change, or remove the organisational tag

**Expected Result:**

* Changes are saved immediately
* The Collection card updates to reflect the new information
* Documents in the Collection remain unchanged

***

#### Deleting a Collection <a href="#deleting-a-collection" id="deleting-a-collection"></a>

Remove a Collection you no longer need. **Warning: This action cannot be undone.**

**Steps:**

1. Locate the Collection you want to delete
2. Click the **three-dot menu icon** (⋯) in the top-right corner
3. Select **Delete** from the menu
4. A confirmation dialog appears asking "Do you want to proceed?"
5. Click **Yes** to confirm deletion or **No** to cancel

**Important Information:**

* Deleting a Collection **removes all documents** stored in it
* This action is **permanent and cannot be reversed**
* Consider exporting important documents before deleting
* Agents will no longer have access to this Collection's information

**Expected Result:**

* The Collection card disappears from the grid
* All documents in the Collection are deleted
* Agents can no longer reference this Collection

***

#### Searching Collections <a href="#searching-collections" id="searching-collections"></a>

Find specific Collections by name using the search bar.

**Steps:**

1. Locate the **Search bar** in the Collection Manager header
2. Type all or part of the Collection name you're looking for
3. Collections matching your search term appear in real-time
4. Click **Clear** (if shown) to reset the search and see all Collections

**Examples:**

| You Want to Find              | Type in Search | Results                                           |
| ----------------------------- | -------------- | ------------------------------------------------- |
| "HR Collection"               | "HR"           | Shows all Collections with "HR" in the name       |
| "Customer Data"               | "Customer"     | Shows all Collections with "Customer" in the name |
| Collections starting with "A" | "A"            | Shows all Collections beginning with "A"          |

**Tips:**

* Search is **case-insensitive** (searching for "HR" is the same as "hr")
* Partial matches work (search for "cus" to find "Customer Collection")
* Search updates instantly as you type

***

#### Filtering Collections by Tags <a href="#filtering-collections-by-tags" id="filtering-collections-by-tags"></a>

Narrow down Collections using tags or organisational groups.

**Steps:**

1. Locate the **Filter** section in the Collection Manager header
2. Click on the **Filter button** or tag dropdown
3. Select one or more tags to filter by
4. Only Collections with the selected tags will display
5. Click the tag again to deselect it, or clear all filters to see all Collections

**Tag Information:**

* Tags are created when you assign them to Collections
* Tags help organise Collections by subject, department, or purpose
* You can have multiple Collections with the same tag
* Tags appear as colour-coded labels on Collection cards

**Example Scenarios:**

| Scenario                                 | Steps                          | Result                                                |
| ---------------------------------------- | ------------------------------ | ----------------------------------------------------- |
| Show only "Customer Support" Collections | Select "Customer Support" tag  | Only Collections tagged "Customer Support" appear     |
| Show multiple topic areas                | Select "HR" and "Finance" tags | Collections with either "HR" or "Finance" tags appear |
| Clear filters                            | Click filter to deselect all   | All Collections return to view                        |

***

#### Reordering Collections <a href="#reordering-collections" id="reordering-collections"></a>

Organise your Collections by changing their display order using drag-and-drop.

**Steps:**

1. Click and hold on a Collection card
2. Drag it to your desired position in the grid
3. Release the mouse button to drop it in the new location
4. The system automatically saves the new order

**Visual Feedback:**

* The card you're dragging becomes **semi-transparent**
* The target position shows a **dashed border** and highlighted background
* A loading spinner briefly appears while the order saves

**Tips:**

* You can drag Collections up, down, left, or right
* Reordering works on all screen sizes
* The new order is saved automatically—no need to click a save button

***

### Common Workflows <a href="#common-workflows" id="common-workflows"></a>

#### Workflow 1: Set Up a New Collection from Scratch <a href="#workflow-1-set-up-a-new-collection-from-scratch" id="workflow-1-set-up-a-new-collection-from-scratch"></a>

**Goal:** Create a new Collection and upload your first documents

**Step-by-Step Process:**

1. Click **+ New Collection** on the Collections page
2. Enter a meaningful name (e.g., "Company Policies")
3. Add a description ("Contains all company policies and procedures")
4. Optionally assign a tag (e.g., "HR" or "Governance")
5. Click **Save & Go**
6. You'll arrive at the Documents page for your new Collection
7. Upload your documents using the upload area
8. Once uploaded, documents are ready to be used in indexes for your agents

**Typical Time:** 5-10 minutes

***

#### Workflow 2: Organise Multiple Collections <a href="#workflow-2-organise-multiple-collections" id="workflow-2-organise-multiple-collections"></a>

**Goal:** Clean up and organise existing Collections

**Step-by-Step Process:**

1. On the Collections page, review your current Collections
2. Delete any Collections no longer needed:
   * Click the three-dot menu
   * Select Delete
   * Confirm deletion
3. Edit Collections to have consistent naming:
   * Click three-dot menu
   * Select Edit
   * Update the name for clarity
4. Add tags to Collections for grouping:
   * Edit each Collection
   * Assign a tag (e.g., "Finance", "Marketing", "Operations")
5. Use the Filter to verify grouped Collections are correct
6. Use drag-and-drop to arrange Collections logically

**Expected Outcome:** A well-organised Collections library that's easy to navigate

**Typical Time:** 15-30 minutes depending on number of Collections

***

#### Workflow 3: Update an Existing Collection <a href="#workflow-3-update-an-existing-collection" id="workflow-3-update-an-existing-collection"></a>

**Goal:** Refresh a Collection's documentation and metadata

**Step-by-Step Process:**

1. Find the Collection you want to update
2. Click **Select** to open the Collection
3. On the Documents page:
   * Delete outdated documents
   * Upload new or revised documents
   * Rebuild indexes if necessary
4. (Optional) Return to Collections page and edit the Collection's description to note the update
5. Update the modification date in the description if desired

**Best Practice:** Include a date in the description (e.g., "Last updated: January 2026") to help track freshness

***

#### Workflow 4: Maintain Collections During Agent Development <a href="#workflow-4-maintain-collections-during-agent-development" id="workflow-4-maintain-collections-during-agent-development"></a>

**Goal:** Keep Collections aligned with agent requirements as you build

**During Agent Development:**

1. Create Collections for each major topic or data domain
2. Keep descriptions detailed to help you remember each Collection's purpose
3. Use tags to group Collections by agent or department
4. Regularly upload new documents as sources evolve
5. Delete outdated Collections to reduce clutter

**Before Deploying an Agent:**

1. Ensure all necessary Collections are created
2. Verify documents are current
3. Search the Collections page to confirm everything is in order
4. Take note of Collection names for agent configuration

***

### Error Handling <a href="#error-handling" id="error-handling"></a>

#### Common Errors and Solutions <a href="#common-errors-and-solutions" id="common-errors-and-solutions"></a>

**Error 1: "Failed to load Corpus"**

**What This Means:** The system couldn't retrieve your Collections.

**Possible Causes:**

* Internet connection issue
* Application server is temporarily unavailable
* Session has expired

**How to Fix:**

1. Check your internet connection
2. Refresh the page (Press F5 or Cmd+R)
3. Log out and log back in
4. Try again after a few minutes
5. Contact support if the problem persists

***

**Error 2: "Failed to update. Please try again"**

**What This Means:** Editing a Collection failed.

**Possible Causes:**

* Network connection interrupted
* Session timeout
* Duplicate Collection name

**How to Fix:**

1. Verify your internet connection
2. Wait 30 seconds and try again
3. Check if another Collection has the same name
4. Refresh the page and try editing again
5. Contact support if the error continues

***

**Error 3: "Failed to switch active. Please try again"**

**What This Means:** The system couldn't make the Collection active.

**Possible Causes:**

* Network connectivity issue
* Collection has been deleted
* Session has expired

**How to Fix:**

1. Ensure your internet connection is stable
2. Try selecting the Collection again
3. If the Collection was deleted elsewhere, refresh the page
4. Log out and log back in
5. Contact support if the problem persists

***

**Error 4: "Failed to delete. Please try again"**

**What This Means:** Deleting a Collection failed.

**Possible Causes:**

* Network connectivity issue
* Collection is still in use by an agent
* Insufficient permissions

**How to Fix:**

1. Check your internet connection
2. Verify the Collection isn't actively being used
3. Try deleting again
4. Contact your administrator if you don't have delete permissions
5. Contact support if the error continues

***

**Error 5: Collection Doesn't Appear After Creation**

**What This Means:** You created a Collection but don't see it in the grid.

**Possible Causes:**

* Page didn't refresh
* Collection was created but is filtered out
* Very slow network connection

**How to Fix:**

1. Refresh the page (F5 or Cmd+R)
2. Check if a filter is active—clear all filters
3. Check the search bar—ensure it's empty
4. Wait a moment and refresh again
5. Contact support if the Collection still doesn't appear

***

**Error 6: Can't Edit a Collection Name**

**What This Means:** You opened the editor but can't modify the name field.

**Possible Causes:**

* Page hasn't fully loaded
* Browser issue

**How to Fix:**

1. Refresh the page
2. Close the editor and try again
3. Try a different web browser
4. Clear your browser cache
5. Contact support if the issue persists

***

#### General Troubleshooting Tips <a href="#general-troubleshooting-tips" id="general-troubleshooting-tips"></a>

* **Always check your internet connection first**—many issues stem from connectivity problems
* **Refresh the page** if something looks wrong or hasn't updated
* **Clear your browser cache** if you experience persistent display issues
* **Use a modern browser** (Chrome, Firefox, Safari, or Edge) for best compatibility
* **Don't use multiple browser tabs** for the same Collection simultaneously
* **Wait a few seconds** after actions complete before performing the next action
* **Check browser console errors** (F12) and include them when contacting support

***

### Tips & Best Practices <a href="#tips--best-practices" id="tips--best-practices"></a>

#### Naming Collections <a href="#naming-collections" id="naming-collections"></a>

✓ **Do:**

* Use clear, descriptive names ("HR Policies 2026", "Product Specifications")
* Use consistent naming conventions across your organization
* Include the year or version if applicable ("Q1 2026 Training Materials")
* Use names that reflect the content, not the agent ("Customer Docs" not "Agent\_1\_Docs")

✗ **Don't:**

* Use vague names like "Documents" or "Data"
* Use extremely long names that are hard to read
* Use special characters or unusual formatting
* Use the same name for multiple Collections

***

#### Using Descriptions Effectively <a href="#using-descriptions-effectively" id="using-descriptions-effectively"></a>

✓ **Best Practices:**

* Write 2-3 sentences explaining the Collection's purpose
* Include the target audience (e.g., "For customer service agents")
* Note when the Collection was last updated
* Mention what types of documents it contains
* Example: "Company policies and procedures documents. Last updated January 2026. Used by customer service agents to answer policy questions."

✗ **Avoid:**

* Leaving descriptions empty
* Using abbreviations only (unless widely understood)
* Writing extremely long descriptions
* Repeating the Collection name verbatim

***

#### Organising with Tags <a href="#organising-with-tags" id="organising-with-tags"></a>

✓ **Best Practices:**

* Use consistent tags across Collections (e.g., "HR", "Finance", "Operations")
* Create tags that represent departments or topics
* Use 5-10 tags maximum to keep filtering useful
* Document your tag naming convention for your team
* Example tags: "Customer Support", "Product Info", "Legal", "Finance", "HR"

✗ **Avoid:**

* Creating too many unique tags (tag sprawl)
* Using tags without a clear naming system
* Abbreviations in tags (unless universally understood)
* Tags that overlap significantly in meaning

***

#### Maintenance Best Practices <a href="#maintenance-best-practices" id="maintenance-best-practices"></a>

1. **Regular Reviews** - Monthly or quarterly, review your Collections:
   * Are all Collections still relevant?
   * Do descriptions accurately reflect content?
   * Are documents current?
2. **Document Version Control** - Include dates in descriptions:
   * "Last updated: 15 January 2026"
   * "Version 3.2 - Updated policies"
3. **Archive Unused Collections** - Delete Collections no longer needed:
   * Reduces clutter
   * Makes navigation faster
   * Improves agent performance (fewer irrelevant options)
4. **Consistent Structure** - Keep naming and tagging consistent:
   * Helps team members find Collections quickly
   * Makes agent configuration easier
   * Improves overall organization

***

#### Performance Tips <a href="#performance-tips" id="performance-tips"></a>

* **Keep Collections focused** - One Collection per major topic works better than one mega-Collection
* **Use appropriate document sizes** - Large documents may slow down agent responses; consider splitting them
* **Delete duplicate files** - When uploading, choose "Skip" for duplicates rather than "Overwrite" unless necessary
* **Rebuild indexes after major updates** - Ensures agents have the latest information

***

### FAQs (Frequently Asked Questions) <a href="#faqs-frequently-asked-questions" id="faqs-frequently-asked-questions"></a>

#### General Questions <a href="#general-questions" id="general-questions"></a>

**Q: How many Collections can I have?** A: There's no fixed limit, but performance is best with 50-100 Collections. If you have significantly more, consider consolidating or archiving some.

**Q: Can I have multiple Collections with the same name?** A: Technically yes, but it's not recommended. Use unique names to avoid confusion when selecting Collections.

**Q: What's the maximum size for a Collection?** A: Collections can hold many documents. Individual document size limits depend on your system configuration. Contact support for specific limits.

**Q: Can I share Collections with other users?** A: Collections are shared at the project level. All users with access to your project can see and use all Collections.

***

#### Document Management <a href="#document-management" id="document-management"></a>

**Q: How do I add documents to a Collection?** A: Click **Select** on the Collection card to open it, then use the upload area on the Documents page to add files.

**Q: What file types are supported?** A: Common document types are supported (PDF, Word, text files, etc.). Your system administrator can confirm the full list.

**Q: Can I delete documents from a Collection without deleting the Collection?** A: Yes. Select the Collection, go to the Documents page, and delete individual documents there.

**Q: What happens to documents if I delete a Collection?** A: All documents in the Collection are permanently deleted. This cannot be undone.

***

#### Editing and Organization <a href="#editing-and-organization" id="editing-and-organization"></a>

**Q: Can I rename a Collection?** A: Yes. Click the three-dot menu on the Collection card, select Edit, and change the name.

**Q: Can I move documents between Collections?** A: Not directly. You must download from one Collection and upload to another. Plan your Collections carefully.

**Q: Why can't I edit a Collection?** A: You may not have the required permissions. Contact your project administrator.

**Q: Can I undo a deletion?** A: No. Collection deletions are permanent. Always confirm before deleting.

***

#### Searching and Filtering <a href="#searching-and-filtering" id="searching-and-filtering"></a>

**Q: How does the search work?** A: The search looks for text in the Collection names only. It's case-insensitive and finds partial matches.

**Q: Can I search by description?** A: Currently, search only searches by name. Use tags and sorting for better organization.

**Q: How do I clear the search?** A: Click the search bar and delete the text, or click the "Clear" button if visible.

**Q: Can I filter by multiple tags at once?** A: Yes. Select multiple tags and Collections matching any of those tags will display.

***

#### Agent Integration <a href="#agent-integration" id="agent-integration"></a>

**Q: How do my agents use Collections?** A: Agents reference Collections when configured. They search through Collections' documents to find information for their responses.

**Q: Do agents automatically use all Collections?** A: No. Each agent is configured to use specific Collections. You choose which Collections each agent can access.

**Q: What happens if I delete a Collection an agent is using?** A: The agent loses access to that Collection's documents. Update your agent configuration afterward.

**Q: Can I see which agents use a Collection?** A: This depends on your system. Check the agent configuration pages to see Collection usage.

***

#### Troubleshooting <a href="#troubleshooting" id="troubleshooting"></a>

**Q: My Collections won't load. What should I do?** A: Refresh the page, check your internet connection, and try logging out and back in. Contact support if the problem persists.

**Q: I created a Collection but can't see it.** A: Refresh the page. Check if a search filter or tag filter is active. Try clearing all filters.

**Q: Why is dragging and dropping not working?** A: Drag-and-drop may not work on all devices. Try using a desktop/laptop with a mouse. Refresh the page if it still doesn't work.

**Q: Can I export a Collection and its documents?** A: This depends on your system configuration. Check with your administrator about export options.

***

#### Account and Permissions <a href="#account-and-permissions" id="account-and-permissions"></a>

**Q: Who can see my Collections?** A: All users in your project can see your Collections. Private Collections are not available in this version.

**Q: Can I restrict who sees a Collection?** A: Currently, all project users see all Collections. Contact your administrator about fine-grained permissions.

**Q: Do I need special permissions to create Collections?** A: By default, all users can create Collections. Your administrator can restrict this. Contact them if you can't create Collections.

**Q: What if I need to manage Collections for a different project?** A: Switch to the desired project first, then access the Knowledge page. Collections are project-specific.
