Sources Overview
How to add, manage, and organize sources so your AI agent can answer questions accurately
Sources Overview#
Your agent's sources are the foundation of its intelligence. The more relevant, well-organized content you provide, the better your agent can answer customer questions accurately and helpfully.
Source Types#
AlonChat supports multiple types of knowledge sources, each designed for different kinds of content:
| Type | Description | Best For |
|---|---|---|
| Files | Upload PDF, Word, Excel, CSV, or Markdown files | Product manuals, policies, guides, reports |
| Text | Paste or type text content directly | Quick FAQs, announcements, policies, notes |
| Q&A Pairs | Define specific question-answer pairs | Common customer questions with exact answers |
| Website | Crawl and index website pages automatically | Help centers, documentation sites, blogs |
| Google Drive | Sync files directly from Google Drive | Shared documents that update frequently |
| Facebook Import | Import conversations from Facebook Messenger | Learning from real customer interactions |
| Instagram Import | Import conversations from Instagram DMs | Learning from real customer interactions |
| Structured Data | Connect Google Sheets with products, services, or pricing | Product catalogs, menus, price lists |
| Time-Sensitive Content | Content with start and expiration dates | Promotions, events, seasonal offers |
How Training Works#
When you add a source and train your agent, here is what happens at a high level:
- Content is processed -- text is extracted from your files, web pages, or data
- Content is indexed -- processed content is organized and indexed for fast, intelligent retrieval
- Agent is ready -- your agent can now search its sources to answer questions
Processing time depends on the size and type of source. Most sources are ready within a few minutes.
Adding Sources#
Files#
- Go to Sources in your agent dashboard
- Open Files
- Click Add Source
- Upload your file (supported formats: PDF, Word, Excel, CSV, Markdown)
- Click Add to queue for processing
Text#
- Open Sources > Text
- Click Add Source
- Enter a descriptive name (e.g., "Return Policy")
- Paste or type your content
- Click Add
Q&A Pairs#
- Open Sources > Q&A
- Click Add Source
- Enter a question and its answer
- Optionally add alternative question phrasings and an image
- Click Add
Website#
- Open Sources > Website
- Click Add Website
- Enter your website URL
- Configure crawl settings (maximum pages, URL patterns to include or exclude)
- Click Start Crawl
Google Drive#
- Open Sources > GDrive
- Click Connect Google Drive and authorize access
- Browse and select files to link
- Files sync automatically when you train your agent
Facebook Import#
- Open Sources > Chat Training
- Click Connect Facebook and authorize your Page
- Select conversations to import
- Review extracted Q&A pairs and communication patterns
Instagram Import#
- Open Sources > Chat Training
- Click Connect Instagram and authorize your account
- Select conversations to import
- Review extracted Q&A pairs and communication patterns
Structured Data#
- Open Sources > Structured Data
- Connect a Google Sheet or enter data manually
- Map columns to data fields
- Configure sync frequency
Time-Sensitive Content#
- Open Sources > Time-Sensitive
- Click Add Content
- Enter your content with a start date and expiration date
- The content will automatically become active and expire on schedule
Source Status#
After adding a source, it goes through a processing pipeline:
| Status | What It Means |
|---|---|
| New | Source has been added and is waiting to be processed |
| Processing | Content is being extracted and indexed |
| Ready | Successfully processed -- your agent can use this knowledge |
| Error | Something went wrong (check the error message for details) |
Best Practices#
Do:
- Add specific, relevant content that your customers actually ask about
- Use Q&A pairs for your most common customer questions
- Keep all sources up-to-date with current information
- Train your agent after adding or changing sources
- Use descriptive names for sources so you can manage them easily
- Combine multiple source types for comprehensive coverage
Don't:
- Upload irrelevant or outdated documents
- Add duplicate content across multiple sources
- Forget to retrain after making changes
- Add overly broad content that is not related to your business
Next Steps#
- File Sources -- Detailed guide to uploading documents
- Text Sources -- Adding text content directly
- Q&A Sources -- Creating question-answer pairs
- Website Sources -- Crawling and indexing websites
- Google Drive -- Syncing files from Google Drive
- Facebook Import -- Importing Facebook conversations
- Instagram Import -- Importing Instagram conversations
- Chat Training -- Learning from real conversations
- Structured Data -- Connecting product catalogs and price lists
- Time-Sensitive Content -- Managing promotions and events
- Training Your Agent -- Training best practices