Who can use this?
- Gallabox users with Bot Builder access who want to add documents to their Chat AI Agent’s Knowledge Base.
- Roles: Owners and Admins.
Plan Availability
What Data Sources Can I Add?
Per-file upload limit: 10MB on Essential, 15MB on Advanced. Total Knowledge Base storage is 50MB per account.
Chunk Settings
Chunk size and overlap are set at the Knowledge Base level, not per upload. Every document you add to a knowledge base inherits its chunk settings:- Chunk size — default 800 tokens
- Overlap — default 400 tokens
How to Add a PDF
Go to AI Agents and Bots
Open a Chat AI Agent
Click Settings → Knowledge Base
Click Add Data Source → PDF
Upload your PDF file
Click Upload
Wait for indexing to complete
- Use text-based PDFs, not scanned images. Scanned documents are not readable by the indexing system.
- Remove unnecessary pages (e.g., cover pages, legal disclaimers) before uploading.
- Structured documents (with clear headings and sections) produce better answers than unstructured text.
How to Add a CSV or Excel File
Go to AI Agents and Bots → \[Your Agent] → Settings → Knowledge Base
Click Add Data Source → CSV or Excel
Upload your file
Select the sheet
Map the columns
- Text column — the column the agent will search in
- Metadata columns — additional context fields (e.g., product name, category)
Click Upload
Wait for indexing to complete
- First column should be the primary text field (e.g., product description, FAQ question).
- Additional columns are stored as metadata and help the agent contextualise answers.
- Example: For a product catalog, the text column might be “product_description” and metadata columns might be “product_name”, “price”, “category”.
How to Add a URL
Go to AI Agents and Bots → \[Your Agent] → Settings → Knowledge Base
Click Add Data Source → URL
Enter the URL of the page to crawl
Set max pages to crawl
Click Crawl
Review the extracted content
Click Confirm
Wait for indexing to complete
- Start with your FAQ page or help centre — these are the most useful sources for a Chat AI Agent.
- Crawl only the pages you need — crawling entire websites adds noise and consumes more AI credits.
- Gallabox follows internal links on the page but won’t crawl the entire site by default.
How to Add Product Catalog Data
The Knowledge Base accepts two source types: file uploads and web pages. To make product catalog data available to the agent, export your catalog from your e-commerce platform as a CSV or Excel file and upload it as a file data source.How to Check Indexing Status
Go to AI Agents and Bots → \[Your Agent] → Settings → Knowledge Base
Check each data source's status
- Pending — queued for indexing
- Processing — currently being indexed
- Completed — indexed and available for retrieval
- Failed — indexing failed (check error message)
Click Retry if a source shows Failed
How to Re-index Documents
When you update a document, re-index it to update the Knowledge Base:Go to AI Agents and Bots → \[Your Agent] → Settings → Knowledge Base
Find the document you want to update
Click the refresh icon next to the document
Upload the updated file
Wait for re-indexing to complete
Example
Scenario: You run a software company and want the Chat AI Agent to answer questions about your50-page product manual. The manual is a PDF with clear section headings. Here’s how you’d add it:Open the PDF in your browser
Go to AI Agents and Bots → \[Your Agent] → Settings → Knowledge Base
Click Add Data Source → PDF and upload the file
Keep the knowledge base's chunk settings at the defaults
Click Upload and wait for the status to show Completed
Test with questions like 'How do I connect the API?' and 'What's the minimum system requirement?'
FAQs
My PDF is not indexing — it just says 'Failed'
My PDF is not indexing — it just says 'Failed'
- The PDF is a scanned image (not text-based) — the indexing system can’t read scanned documents
- The PDF is password-protected — remove the password before uploading
- The PDF is corrupted — try opening it in a browser to verify
- The file is too large — split the PDF into smaller files and upload separately
How many AI credits does indexing consume?
How many AI credits does indexing consume?
Can I crawl an entire website?
Can I crawl an entire website?
How do I know if the Knowledge Base is being used in answers?
How do I know if the Knowledge Base is being used in answers?
Related Articles
- Knowledge Base Overview — What the Knowledge Base is and how it works
- Chat AI Agent Channel Behaviour — How agents behave on different channels
- AI Wallet — AI credits management