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

# Knowledges

> Create and manage knowledge bases for your AI agents

<Frame>
  <img src="https://mintcdn.com/prismeai/DqMytpkd4s_f0V1S/images/ai-knowledge-home.png?fit=max&auto=format&n=DqMytpkd4s_f0V1S&q=85&s=7bede8b0805a285b2fc69bbba6edcb8c" alt="Knowledges Dashboard" width="1440" height="900" data-path="images/ai-knowledge-home.png" />
</Frame>

Knowledges lets you build document repositories that your AI agents can search. Upload files, crawl websites, or connect external sources like SharePoint - then attach the knowledge base to any agent.

## What You Can Do

<CardGroup cols="2">
  <Card title="Create Knowledge Bases" icon="database" href="./knowledge-bases">
    Build searchable document stores for specific topics or domains
  </Card>

  <Card title="Upload Documents" icon="file-arrow-up" href="./documents">
    Add files, URLs, and web content to your knowledge bases
  </Card>

  <Card title="Crawl Websites" icon="globe" href="./crawl-website">
    Discover and index website pages into a knowledge base
  </Card>

  <Card title="Connect Sources" icon="cloud" href="./connectors">
    Sync with SharePoint, Google Drive, and other platforms
  </Card>

  <Card title="Configure Retrieval" icon="sliders" href="./rag-settings">
    Fine-tune how documents are processed and searched
  </Card>
</CardGroup>

## The Knowledges Workspace

When you open Knowledges, you'll see:

* **Dashboard** - Overview of your knowledge bases and statistics
* **Knowledge Bases** - List of all your document stores
* **Connectors** - External source connections
* **Settings** - Global defaults and configuration

## How It Works

<Steps>
  <Step title="Create a knowledge base">
    Click **Create Knowledge Base** and give it a name. Choose an embedding model to determine how documents are vectorized.
  </Step>

  <Step title="Add documents">
    Upload files, add a single URL, or [crawl a website](/products/ai-knowledge/crawl-website) to pull content automatically.
  </Step>

  <Step title="Documents are processed">
    Knowledges extracts text, splits it into chunks, and creates embeddings for semantic search.
  </Step>

  <Step title="Connect to agents">
    In Agent Creator, add the knowledge base as a capability. The agent can now search your documents.
  </Step>
</Steps>

## Supported Content

### File Uploads

| Format        | Extensions                 |
| ------------- | -------------------------- |
| Documents     | PDF, DOCX, DOC, TXT, RTF   |
| Presentations | PPTX, PPT                  |
| Spreadsheets  | XLSX, XLS, CSV             |
| Web           | HTML, Markdown             |
| Code          | Most programming languages |

### Web Sources

* **Single URLs** - Add individual pages
* **Web Crawling** - [Automatically discover and index pages from a website](/products/ai-knowledge/crawl-website)
* **Sitemaps** - Efficiently index large sites

### Connectors

* **SharePoint** - Sync document libraries and sites
* **Google Drive** - Connect folders and files
* **Confluence** - Import wiki pages
* More connectors available based on your organization's setup

## Key Concepts

### Embeddings

Documents are converted to embeddings - numerical representations that capture meaning. This allows semantic search: finding relevant content even when exact keywords don't match.

### Chunking

Large documents are split into smaller chunks for better retrieval. You can configure:

* **Chunk size** - How many tokens per chunk (default: 512)
* **Overlap** - How much consecutive chunks share

### RAG (Retrieval Augmented Generation)

When an agent searches your knowledge base:

1. The query is converted to an embedding
2. Similar document chunks are retrieved
3. These chunks become context for the AI response
4. The agent generates an answer grounded in your documents

This ensures responses are based on your actual content, not just the AI's training data.

## Sharing Knowledge Bases

Knowledge bases can be shared like agents:

| Level            | Access                                           |
| ---------------- | ------------------------------------------------ |
| **Private**      | Only you can use it                              |
| **Organization** | Anyone in your org can attach it to their agents |
| **Public**       | Available to all platform users                  |

Share settings are in the knowledge base's Settings tab.

## Use Cases

<AccordionGroup>
  <Accordion title="Internal documentation">
    Upload HR policies, IT procedures, and company guidelines. Create an agent that helps employees find answers to common questions.
  </Accordion>

  <Accordion title="Product support">
    Add product manuals, FAQs, and troubleshooting guides. Build a support agent that provides accurate technical assistance.
  </Accordion>

  <Accordion title="Research library">
    Index papers, reports, and studies. Create a research assistant that helps find relevant sources and summarize findings.
  </Accordion>

  <Accordion title="Training materials">
    Collect learning resources, course content, and reference materials. Build an onboarding agent for new employees.
  </Accordion>
</AccordionGroup>

## Getting Started

<Steps>
  <Step title="Open Knowledges">
    Navigate to Knowledges from your workspace sidebar.
  </Step>

  <Step title="Create your first knowledge base">
    Click **Create Knowledge Base**, name it, and select an embedding model.
  </Step>

  <Step title="Add some documents">
    Upload a few files or add a URL to test with.
  </Step>

  <Step title="Connect to an agent">
    Go to Agent Creator, open an agent, and add the knowledge base in Capabilities.
  </Step>

  <Step title="Test it out">
    Ask the agent questions about your documents and see how it uses the knowledge base.
  </Step>
</Steps>

## Next Steps

<CardGroup cols="2">
  <Card title="Create knowledge bases" icon="database" href="./knowledge-bases">
    Learn how to set up and organize document stores
  </Card>

  <Card title="Manage documents" icon="file-lines" href="./documents">
    Upload, update, and organize your content
  </Card>

  <Card title="Crawl a website" icon="globe" href="./crawl-website">
    Add and maintain web pages as searchable documents
  </Card>

  <Card title="Connect external sources" icon="cloud" href="./connectors">
    Sync with SharePoint, Google Drive, and more
  </Card>

  <Card title="Configure RAG settings" icon="sliders" href="./rag-settings">
    Optimize retrieval for your use case
  </Card>
</CardGroup>
