Data Management
The Data Management page lets you view, search, test, and manage your chatbot's knowledge base. Access it from Admin > Data in your admin panel.
Overview
Your chatbot's knowledge comes from two data sources:
| Type | Description | Source |
|---|---|---|
| Documents | Text content with AI-searchable embeddings | Website crawler, document uploads |
| Products | Structured product catalog | CSV upload, API sync |
Search Modes
RAG Query Search
The most powerful way to understand what your chatbot knows. This simulates exactly what the AI sees when answering customer questions.
How to use:
- Enter a question (e.g., "Show me products under $500")
- Click Run RAG Query
- Review the documents and products the AI would receive
Results include:
- Search performance metrics (embedding time, search time)
- Extracted keywords and filters
- Detected price/budget ranges
- Matching documents ranked by relevance
- Matching products based on filters
Use RAG Query to:
- Verify the right content appears for common questions
- Debug why certain products aren't showing
- Test price and category filtering
- Fine-tune search quality
Database Search
Direct text search across all your data. Useful for finding specific items by URL, title, or category.
Documents Tab
View your knowledge base content organized by source.
View Modes
| Mode | Description |
|---|---|
| By Document | One row per source URL - overview of all content |
| By Chunk | One row per text segment - detailed inspection |
Document Information
Each document shows:
- Title - Page or document title
- URL - Original source location
- Chunks - Number of text segments
- Tokens - Total content size
- Date - When content was indexed
Managing Documents
Click any document to view details and options:
- View the full content
- See all chunks from this source
- Delete Document - Remove outdated or incorrect content
When to delete documents:
- Content is outdated or incorrect
- The source page no longer exists
- Duplicate content is causing confusion
Products Tab
View and manage your product catalog.
Browsing Products
- Use category chips to filter by category
- Each chip shows the product count
- Click a product row for full details
Product Information
| Field | Description |
|---|---|
| Product | Title and link to product page |
| Price | Product price |
| Numeric | Custom attributes (size, weight, year, etc.) |
| Category | Product category |
| Media | Indicates attached image/video |
Product Details
Click any product to view:
- Attached media (image, video, or audio)
- Full product information
- Search keywords
- Raw data record
Attaching Media to Products
Products with images get better engagement in chat:
- Click a product row to open details
- Click Add Media or Replace Media
- Select from your media library or upload new
- Media displays when the product is recommended
Deleting Products
- Click a product row to open details
- Click Delete Product
- Confirm deletion
RAG Results
After running a RAG Query, additional tabs appear:
RAG Vectors Tab
Shows knowledge base content retrieved for your query:
| Column | Description |
|---|---|
| Rank | Relevance order (1 = most relevant) |
| Document | Title, URL, and content preview |
| Distance | Similarity score (lower = more relevant) |
Understanding distance scores:
- 0.0 - 0.3 - Very similar (near-exact match)
- 0.3 - 0.5 - Similar (related content)
- 0.5 - 0.80 - Somewhat similar (possibly relevant)
- Above 0.80 - Low similarity (typically filtered out)
RAG Products Tab
Shows products matching your query's keywords and filters:
- Ranked by relevance
- Includes price, category, and attributes
- Shows which filters were applied
Troubleshooting
"Why doesn't my chatbot know about X?"
- Use Database Search to find the content
- If not found: Content hasn't been crawled or uploaded yet
- If found: Use RAG Query to test if it appears in search results
- If not appearing: Content may not be relevant enough to the query
"Products aren't showing for price queries"
- Run a RAG Query with a price (e.g., "items under $200")
- Check if a price was detected in the results
- Verify products in that price range exist in your catalog
- Check that products have prices assigned
"Wrong content is appearing"
- Use RAG Query to identify the problematic content
- Open the document or product details
- Delete incorrect or outdated items
- Re-crawl or re-upload correct content
"I need to refresh my knowledge base"
- Website content - Use the Crawler to re-crawl your site
- Documents - Re-upload via Data Uploads
- Products - Re-upload your product CSV
Best Practices
- Test regularly - Use RAG Query to verify answers to common questions
- Clean up content - Remove outdated information that might confuse the AI
- Add product media - Products with images perform better
- Check categories - Ensure products have correct categories for filtering
- Monitor quality - Review RAG results periodically to maintain accuracy
Related Pages
- Media Library - Manage images, videos, and audio files
- Data Uploads - Upload documents and files
- App Config - Configure RAG search settings