Time: 15 minutes | Level: Advanced
Prerequisites: Knowledge Base Fundamentals
Prerequisites: Knowledge Base Fundamentals
What You’ll Learn
- Uploading multiple related documents
- Cross-document querying
- Handling conflicting data
- Building comprehensive lookup systems
- Use cases for multi-source knowledge
Why Multiple Sources?
Real businesses have data spread across multiple documents:| Document Type | Contains |
|---|---|
| Product catalog | Names, descriptions, SKUs |
| Price list | Current pricing, tiers |
| Shipping rates | Delivery costs, zones |
| Inventory sheet | Stock levels, availability |
| Supplier catalog | Wholesale costs, lead times |
Setting Up Multiple Documents
Upload Related Documents
Add each document to your Knowledge Base:
- Product Catalog.pdf - item descriptions
- Price List Q1 2024.xlsx - current pricing
- Shipping Zones.pdf - delivery rates
Verify Extractions
Check that each document extracted correctly:
- Product names should be consistent across documents
- SKUs or IDs should match where applicable
- Dates should be recognized for version tracking
Cross-Document Queries
Ask questions that span multiple documents:- Combined Lookups
- Comparison Queries
- Aggregation Queries
- Availability Queries
Pull data from multiple sources in one query:Peanuts searches:
- Product catalog → description
- Price list → unit price
- Shipping zones → delivery cost
Handling Data Conflicts
When documents contain overlapping or conflicting data:Version Priority
Version Priority
Scenario: Multiple price lists with different datesSolution: Peanuts uses the most recent document by default. You can specify:Explicitly references the older version.
Source Specification
Source Specification
Scenario: Same product name, different catalogsSolution: Specify the source:
Conflict Reporting
Conflict Reporting
Scenario: Two documents show different pricesBehavior: Peanuts flags the conflict:
“I found two prices for Widget X:Which should I use?”
- Retail Price List: $49.99
- Promotional Flyer: $39.99
Default Source Setting
Default Source Setting
Scenario: One source should always take prioritySolution: In Knowledge settings, set document priority order. Higher priority sources override lower ones.
Linking to Helpers
Connect multiple knowledge sources to a single helper:Select Multiple Documents
Check all relevant documents:
- ☑ Product Catalog
- ☑ Current Price List
- ☑ Shipping Rates
- ☑ Inventory Status
Use Case: Complete Order System
Build a helper that uses 4+ knowledge sources: Query flow:- Customer asks for a quote
- Helper checks product exists (catalog)
- Looks up current price (price list)
- Verifies availability (inventory)
- Calculates shipping (shipping rates)
- Returns complete quote with all details
Organizing Large Knowledge Bases
By Category
Group related documents:
- Products/
- Pricing/
- Logistics/
- Policies/
By Version
Track document versions:
- Price List v1 (Jan 2024)
- Price List v2 (Apr 2024)
- Price List v3 (Jul 2024)
By Client
Separate client-specific data:
- Client A Rates
- Client B Rates
- Standard Rates
By Region
Geographic separation:
- US Pricing
- EU Pricing
- APAC Pricing
Best Practices
Exercise
Practice: Build a Multi-Source Quote System
Create a system using at least 3 knowledge sources:
-
Create 3 sample documents:
- Product list (5+ items with names/descriptions)
- Price list (matching products with prices)
- Shipping rates (3+ zones with costs)
- Upload all three to Knowledge Base
- Create a “Quote Generator” helper linked to all sources
-
Test these queries:
- “What’s the total for [product] shipped to [zone]?”
- “Which products are under $50?”
- “What’s the cheapest shipping option for [product]?”
- Intentionally create a conflict (same product, different price in two docs) and see how it’s handled
