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

# Add Content

> Add content guide

## Adding Content to Your Knowledge Agent

Once your Knowledge Agent is created, you can continuously expand and refine its knowledge base by adding new content, updating existing sources, and managing your information effectively. Aivah automatically trains your agent on any new content you add, making it immediately available for use.

## Accessing Content Management

<Steps>
  <Step title="Navigate to Agent Settings">
    Go to **Knowledge** in the top navigation and select your agent from the left sidebar.
  </Step>

  <Step title="Open Content Management">
    Click **Add content** or manage existing sources from the **Agent Knowledge Settings** page. You'll see the **Add content** button prominently displayed in the top-right corner.

    <img className="block dark:hidden" src="https://mintlify.s3.us-west-1.amazonaws.com/opinionai/knowledge-agent/Knoweldge%20%20/Screenshot%202025-08-09%20at%201.14.23%20PM.png" alt="Agent Knowledge Settings with Add Content Button" />

    <img className="hidden dark:block" src="https://mintlify.s3.us-west-1.amazonaws.com/opinionai/knowledge-agent/Knoweldge%20%20/Screenshot%202025-08-09%20at%201.14.23%20PM.png" alt="Agent Knowledge Settings with Add Content Button" />
  </Step>
</Steps>

## Methods for Adding Content

### 1. Direct Text Input

Perfect for adding specific information, FAQs, or policy updates.

<Steps>
  <Step title="Open Text Editor">
    Click **Add content** and select the **Enter Content** section.
  </Step>

  <Step title="Paste Your Content">
    Add your text directly into the text field. This could include:

    * FAQ responses
    * Product specifications
    * Company policies
    * Step-by-step procedures
  </Step>

  <Step title="Save Changes">
    Click **Confirm** to add the content to your agent's knowledge base. Aivah will automatically train your agent on the new content.
  </Step>
</Steps>

<Tip>
  Text content is processed immediately and becomes available for your agent to reference right away.
</Tip>

### 2. URL and Video Integration

Expand your agent's knowledge with web-based content and multimedia resources.

<Steps>
  <Step title="Access URL Input">
    In the **Upload URL Or Video** section, paste your link.
  </Step>

  <Step title="Add Multiple Sources">
    Click **+ Add another link** to include multiple URLs in one batch.
  </Step>

  <Step title="Supported Content Types">
    Your agent can process:

    * Blog posts and articles
    * Documentation pages
    * YouTube and Vimeo videos
    * Public knowledge bases
    * News articles and press releases
  </Step>

  <Step title="Confirm Addition">
    Click **Confirm** to start processing the URLs. Aivah will automatically train your agent on the new content once processing is complete.
  </Step>
</Steps>

<Warning>
  URLs must be publicly accessible. Content behind logins, paywalls, or geo-restrictions cannot be processed.
</Warning>

### 3. File Upload

Upload documents directly to your agent's knowledge base.

<Steps>
  <Step title="Prepare Your Files">
    Ensure your documents are in supported formats:

    * PDF documents
    * Word files (DOCX)
    * Text files (TXT)
    * Presentations (PPTX)
    * Spreadsheets (XLSX)
  </Step>

  <Step title="Upload Process">
    Either drag and drop files into the upload area or click **Upload** to browse and select files.
  </Step>

  <Step title="Monitor Processing">
    Watch for the upload banner: "Uploading your Agent Knowledge files. Large files and URLs may take several minutes to complete."
  </Step>

  <Step title="Verify Upload">
    Wait until processing completes and you see character counts for each file.
  </Step>
</Steps>

## Managing Existing Content

### Viewing Your Knowledge Base

<Tabs>
  <Tab title="List View">
    * Shows detailed information including character counts and upload dates
    * Best for managing large numbers of sources
    * Includes quick action buttons for each item
  </Tab>

  <Tab title="Card View">
    * Visual layout showing content previews
    * Easier to browse and identify specific sources
    * Good for smaller knowledge bases
  </Tab>
</Tabs>

### Editing Sources

<Steps>
  <Step title="Select Content">
    Click on any existing source in your knowledge base to open the **Update Agent Knowledge** dialog.
  </Step>

  <Step title="Make Changes">
    In the **Update Agent Knowledge** dialog, you can:

    * Modify text content directly
    * Add or remove URLs
    * Upload additional files

    <img className="block dark:hidden" src="https://mintlify.s3.us-west-1.amazonaws.com/opinionai/knowledge-agent/Knoweldge%20%20/Screenshot%202025-08-09%20at%201.15.00%20PM.png" alt="Update Agent Knowledge Dialog" />

    <img className="hidden dark:block" src="https://mintlify.s3.us-west-1.amazonaws.com/opinionai/knowledge-agent/Knoweldge%20%20/Screenshot%202025-08-09%20at%201.15.00%20PM.png" alt="Update Agent Knowledge Dialog" />
  </Step>

  <Step title="Save Updates">
    Click **Confirm** to apply your changes. Aivah will automatically retrain your agent with the updated content.
  </Step>
</Steps>

### Removing Content

<AccordionGroup>
  <Accordion title="Individual Removal">
    Use the trash icon next to any source to delete it individually.
  </Accordion>

  <Accordion title="Bulk Operations">
    1. Use checkboxes to select multiple items
    2. Click **Select all files** for complete selection
    3. Apply bulk actions like deletion to multiple sources
  </Accordion>

  <Accordion title="Complete Reset">
    Use **Delete All** in the top-right to clear your entire knowledge base (use with caution).
  </Accordion>
</AccordionGroup>

## Content Processing and Verification

### Understanding Processing Status

* **Processing**: Content is being analyzed and prepared
* **Character Count Visible**: Content successfully processed and ready
* **Error State**: Processing failed (check content accessibility)

### Quality Assurance

<Steps>
  <Step title="Test Agent Responses">
    After adding content, test your agent with relevant questions to ensure accurate responses.
  </Step>

  <Step title="Verify Completeness">
    Check that all uploaded sources show character counts, indicating successful processing.
  </Step>

  <Step title="Monitor Performance">
    Use the Insights tab to track how well your agent performs with the new content.
  </Step>
</Steps>

## Best Practices for Content Management

<AccordionGroup>
  <Accordion title="Content Organization">
    * Group related documents together
    * Use clear, descriptive filenames
    * Remove outdated or contradictory information
    * Maintain a logical structure in your knowledge base
  </Accordion>

  <Accordion title="Quality Control">
    * Regularly review and update content
    * Ensure accuracy and current relevance
    * Remove duplicate information
    * Test agent responses after major updates
  </Accordion>

  <Accordion title="Performance Optimization">
    * Balance comprehensiveness with relevance
    * Monitor processing times for large files
    * Keep content focused on your agent's purpose
    * Regular cleanup of unused sources
  </Accordion>
</AccordionGroup>

## Advanced Content Features

### Export Functionality

Use **Export Content List** to:

* Create backups of your knowledge base structure
* Generate reports for content audits
* Share content inventories with team members
* Track content additions over time

### Batch Processing Tips

* Upload multiple files simultaneously for efficiency
* Add multiple URLs in a single operation
* Use bulk selection for managing large content sets
* Plan content additions during off-peak hours for faster processing

## Troubleshooting Content Issues

<AccordionGroup>
  <Accordion title="Upload Failures">
    **Common causes:**

    * File size too large
    * Unsupported file format
    * Network connectivity issues

    **Solutions:**

    * Check file size limits in your plan
    * Convert to supported formats
    * Retry upload with stable connection
  </Accordion>

  <Accordion title="URL Processing Issues">
    **Common causes:**

    * Content behind authentication
    * Geo-restricted access
    * Dynamic content that requires JavaScript

    **Solutions:**

    * Ensure public accessibility
    * Use direct content URLs when possible
    * Download and upload as files if needed
  </Accordion>

  <Accordion title="Agent Not Using New Content">
    **Possible reasons:**

    * Content still processing
    * Conflicting information in knowledge base
    * Content not relevant to user queries

    **Solutions:**

    * Wait for processing to complete
    * Remove contradictory sources
    * Test with specific questions related to new content
  </Accordion>
</AccordionGroup>

Ready to optimize your agent further? Learn about [training techniques](/knowledge-agent/train-agent) or explore [real-time configuration](/knowledge-agent/realtime) options.
