Creating and Managing Collections
Overview
Collections are organized containers of information that AI agents can access to answer customer questions. They allow you to group related content together and make it easily accessible for intelligent responses.What are Collections?
Collections serve as logical groupings of information within your knowledge base. They help organize content by topic, purpose, or type, making it easier for AI agents to find and use relevant information.Collection Types
Regular Collections
Purpose: General knowledge and information storage Content Types:- Company policies and procedures
- FAQ content
- Product documentation
- Support guides
- General business information
Product Collections
Purpose: E-commerce product information storage Content Types:- Product catalogs
- Pricing information
- Product specifications
- Availability data
- Product-related support content
Creating New Collections
Navigation
Path:/playgrounds/collections
→ Click ”+ Collection” button → Fill out collection form
Step-by-Step Process
Step 1: Access Collections Management
- Navigate to the collections list page
- Click the ”+ Collection” button
- Collection creation modal opens
Step 2: Collection Information
Required Fields:- Collection Name: Unique identifier for the collection
- Collection Description: Detailed description for AI agents to understand the collection’s purpose
- Use English characters only
- Be descriptive and clear
- Avoid special characters
- Keep it concise but meaningful
- Examples: “Customer Support FAQ”, “Product Documentation”, “Company Policies”
Step 3: Name Validation
Validation Process:- System checks name uniqueness
- Validates naming conventions
- Provides suggestions if needed
- Real-time validation feedback
- Automatic Checking: Real-time validation as you type
- Suggested Names: Alternative names if current one isn’t available
- Clear Feedback: Specific reasons if name is rejected
Step 4: Collection Creation
- Review collection information
- Click “OK” to create collection
- System creates collection and redirects to content management
- Collection appears in collections list
Collection Form Fields
Collection Name
Requirements:- Must be unique within organization
- English characters only
- No special characters except spaces and hyphens
- Maximum length limitations apply
- Use descriptive names that indicate content type
- Include context about the information contained
- Consider how AI agents will interpret the name
- Make it easy for team members to understand
Collection Description
Purpose: Helps AI agents understand when and how to use the collection Best Practices:- Clearly explain what information is contained
- Describe when agents should use this collection
- Include any specific context or limitations
- Use clear, simple language
- “This collection contains frequently asked questions about our products and services”
- “Company policies and procedures for employee reference”
- “Technical documentation for software products”
Managing Existing Collections
Collections List View
Available Information:- Collection name and description
- Document count
- Collection type (regular vs. product)
- Creation date
- Last updated information
- View collection details
- Edit collection information
- Add content to collections
- Delete collections (with restrictions)
Editing Collections
Accessing Edit Mode
- Navigate to collections list
- Click on collection name or edit button
- Edit modal opens with current information
Editable Fields
- Collection Name: Can be updated if new name is valid
- Collection Description: Can be modified at any time
Edit Process
- Modify desired fields
- System validates changes
- Click “OK” to save changes
- Confirmation message appears
Collection Content Management
Navigation to Content
Path: Collections list → Click collection name → Content management interfaceContent Management Interface
Features:- Document list with search functionality
- Add content from multiple sources
- Edit existing content
- Delete outdated information
- Content organization tools
Adding Content to Collections
Data Source Options
1. URL Crawling
Purpose: Extract content from web pages Process:- Click “URL” data source
- Enter list of URLs (one per line)
- System crawls and extracts content
- Content is processed and added to collection
- Must be publicly accessible
- Should contain relevant text content
- HTTPS preferred for security
- Avoid pages with heavy dynamic content
- Use specific pages rather than entire websites
- Verify URLs are accessible before adding
- Include help pages, documentation, and FAQ pages
- Avoid duplicate content from multiple URLs
2. Document Upload
Purpose: Process and extract content from files Supported Formats: PDF, Microsoft Word (.doc, .docx), text files (.txt) Process:- Click “Docs” data source
- Select files to upload
- System extracts text content
- Processed content added to collection
- Maximum file size limitations apply
- Ensure documents contain text (not just images)
- Use clear, well-formatted documents
- Remove sensitive information before upload
3. Notion Integration
Purpose: Import content from Notion workspaces Process:- Click “Notion” data source
- Authenticate with Notion account
- Select documents to import
- System imports and processes content
- Valid Notion account
- Proper permissions for documents
- Documents should be well-organized
- Consider privacy and access restrictions
4. Manual Entry
Purpose: Add custom content directly Process:- Click “Copy & Paste” data source
- Enter content in text field
- Provide title and context
- Save content to collection
- Provide clear, descriptive titles
- Include relevant context information
- Use proper formatting for readability
- Keep content focused and relevant
Content Processing
Automatic Processing
- Text Extraction: System extracts text from various sources
- Content Parsing: Breaks content into searchable chunks
- Indexing: Creates searchable indexes
- Semantic Analysis: Understands content meaning and context
Content Validation
- Quality Checks: Ensures content is readable and relevant
- Duplicate Detection: Identifies and handles duplicate content
- Format Validation: Ensures proper formatting for AI consumption
- Size Limitations: Enforces character and document limits
Collection Management Best Practices
Organization Strategy
Content Categorization
- Topic-Based: Group by subject matter
- Department-Based: Organize by business function
- Customer-Facing: Separate internal vs. customer information
- Frequency-Based: High-use vs. reference information
Naming Conventions
- Consistent Format: Use similar naming patterns
- Descriptive Names: Clear indication of content type
- Version Control: Include version numbers if needed
- Team Understanding: Names that team members can easily understand
Content Quality
Information Accuracy
- Regular Reviews: Periodic content audits
- Update Procedures: Clear processes for keeping content current
- Source Verification: Ensure information comes from reliable sources
- Version Control: Track changes and updates
Content Relevance
- Customer Focus: Prioritize information customers need
- Agent Capability: Ensure content matches agent abilities
- Business Alignment: Content supports business objectives
- Performance Monitoring: Track which content is most useful
Performance Optimization
Content Structure
- Clear Hierarchy: Logical organization of information
- Searchable Format: Content optimized for search and retrieval
- Contextual Information: Adequate context for AI understanding
- Concise Content: Focused, relevant information without unnecessary details
Regular Maintenance
- Content Audits: Regular review of all collection content
- Performance Analysis: Monitor which content performs best
- User Feedback: Collect feedback from agents and customers
- Continuous Improvement: Refine based on usage patterns
Common Issues and Troubleshooting
Collection Creation Issues
Name Validation Errors
Common Causes:- Name already exists
- Invalid characters used
- Name too long or too short
- Non-English characters
- Try alternative names
- Use suggested names from system
- Follow naming guidelines
- Remove special characters
Content Upload Problems
Common Causes:- File format not supported
- File size too large
- Network connectivity issues
- Content extraction failures
- Convert files to supported formats
- Compress large files or split content
- Check internet connection
- Retry upload after fixing issues
Content Management Issues
Poor Content Quality
Symptoms:- AI agents provide irrelevant responses
- Information seems outdated or incorrect
- Agents can’t find relevant information
- Review content accuracy and relevance
- Improve content organization and structure
- Add more context and detail to content
- Remove outdated or incorrect information
Search and Retrieval Problems
Symptoms:- Agents can’t find information that exists
- Irrelevant information returned for queries
- Inconsistent response quality
- Improve content structure and formatting
- Add relevant keywords and context
- Review collection organization
- Consider splitting large collections
Agent Integration Issues
Collections Not Available to Agents
Cause: Collection not properly connected to agents Solution:- Check agent configuration
- Enable knowledge base capability
- Connect specific collections to agents
- Verify agent permissions
Poor Agent Responses
Cause: Content quality or organization issues Solution:- Review collection content quality
- Improve content organization
- Add more relevant information
- Test agent responses and refine content