Section 2.2: Adding Knowledge to Your Agent β
Your chatbot worksβbut it's giving generic answers. Let's teach it about YOUR business by uploading your FAQ, policies, and product information!
Why Knowledge Matters β
Right now, your AI is like a friendly assistant who doesn't know anything about your company. It can have conversations, but it can't answer specific questions like:
- "What's our refund policy?"
- "Do we ship to Canada?"
- "What ingredients are in product X?"
The solution: Give your AI a knowledge collectionβa set of documents it can search before answering.
π‘ What You'll Learn
By the end of this section, you'll have:
- β Created a knowledge collection
- β Uploaded your company documents into it
- β Added a "Search Knowledge" column to your table
- β Tested responses with YOUR information
Step 1: Create a Knowledge Collection β
Knowledge lives in its own section, separate from your tables, so several tables and assistants can share the same documents.
Here's how:
- Click "Knowledge" in the sidebar
- Click "Create Collection"
- Give it a name like
Company Knowledgeand a short description - Open the new collection
Create Collection
A set of documents your AI can search
Shared, not owned
A collection lives in the Knowledge section, so any table or agent can search it. Update a document once and everything that consults this collection gets the new answer.
π‘ π‘ Think of It Like This
A collection is a filing cabinet. Your tables and assistants don't own itβthey consult it. Update a document once, and everything that searches this collection gets the new answer.
Step 2: Fill It With Your Information β
Inside your collection, click "Add Documents". The menu gives you three ways to get information in:
Option 1: Upload Documents (Easiest) β
Choose "Upload Documents" and drag in your files:
- FAQ documents
- Product guides
- Policy documents
- Support manuals
Manage Knowledge Base
Upload documents, add web pages, or type information
Drag and drop files here
or click to browse
Supported: PDF, Word (.docx), Text (.txt), Markdown (.md)
Uploaded Documents (3)
FAQ_2024.pdf
245 KB
Return_Policy.docx
89 KB
Product_Guide.pdf
1.2 MB
π‘ Pro Tip
Start with your FAQ document! It's usually the best source for common customer questions and answers.
3 documents in knowledge base
Option 2: Scan Your Website β
Choose "Scan Website" and give it a starting URL. TAIBLES crawls the site in the background and adds the pages as it processes themβyou can keep working while it runs.
You control how deep it goes and how many pages it may read, so you can start with just your help centre rather than the whole site.
Great for: Public-facing content you already maintain on your website
Option 3: Ingest From HubSpot β
If your content lives in HubSpot, choose "Ingest from HubSpot" to pull in blog posts and pages directly.
π‘ β¨ Pro Tip
Start with your FAQ! It's usually the best source of customer questions and answers. Upload it first, then add other documents as needed.
Step 3: Add a Search Knowledge Column β
Now let's have your table consult that collection before the AI answers.
Here's how:
- Go back to your
Customer Conversationstable - Click "Add Column"
- Pick "Search Knowledge" from the "AI" category
- Configure it:
- "Knowledge Collection" - Choose
Company Knowledge - "Search Query" - Reference your question column, so each row searches for what that customer asked
- "Result Count Limit" -
5is a good starting point
- "Knowledge Collection" - Choose
- Under "Dependencies & Run Order", make it depend on your question column so it runs as soon as a question arrives
- Click "Save Column"
Manage Knowledge Base
Upload documents, add web pages, or type information
Drag and drop files here
or click to browse
Supported: PDF, Word (.docx), Text (.txt), Markdown (.md)
Uploaded Documents (3)
FAQ_2024.pdf
245 KB
Return_Policy.docx
89 KB
Product_Guide.pdf
1.2 MB
π‘ Pro Tip
Start with your FAQ document! It's usually the best source for common customer questions and answers.
3 documents in knowledge base
What just happened? Every time a question arrives, this column searches your documents and puts the most relevant passages into the rowβready for the AI column to read.
Step 4: Let the AI Use What It Found β
Your AI column needs to know that the search results exist.
- Open the menu on your
AI Answercolumn header and choose "Configure column" - Under "Dependencies & Run Order", add the "Search Knowledge" column, so the AI waits for the search to finish
- Update the "User Prompt" so it includes both the customer's question and the search results
- Adjust the "System Prompt" to tell the AI how to use them:
You are a helpful customer service assistant.
Answer using the provided knowledge excerpts.
If the excerpts don't cover the question, say so rather than guessing.
Always be clear and friendly.- Click "Save Column"
Configure Column
AI Answer
This column waits until both of these have finished
Ready with knowledge β¨
Every row now searches your documents first, and the AI answers using what it found.
The order of events for every new question:
- The question arrives in the row
- "Search Knowledge" finds the most relevant passages from your documents
- The AI column reads the question and those passages
- It answers using your information
Step 5: Test with Specific Questions β
Time to see the difference!
Here's how:
Click "Add Row" in your table
In the
Customer Questioncolumn, type a question YOUR documents can answer:- If you uploaded an FAQ: "What's your return policy?"
- If you added product info: "What ingredients are in [product name]?"
- If you added shipping info: "Do you ship to [country]?"
Press Enter and watch!
Customer Conversations
With knowledge search enabled
| Customer Question | AI Answer | Status |
|---|---|---|
What's your return policy? | Our return policy allows returns within 30 days of purchase. Items must be in their original packaging and unused. To initiate a return, please contact our support team with your order number. Refunds are processed within 5-7 business days after we receive the returned item. π Sources used:
| Complete |
π Notice the Difference!
- βThe AI gave a specific answer based on YOUR return policy (30 days, original packaging, 5-7 day refund)
- βThe response cites which documents it used (Return_Policy.pdf, FAQ_2024.pdf)
- βNo generic answerβthis is accurate, company-specific information!
What you'll see:
- The "Search Knowledge" cell fills with the passages it found
- The AI cell then answers using them
- Click either cell to see exactly what was retrieved and what was written
π‘ π The Magic Moment
Your AI just answered a question using YOUR specific business information! It's no longer giving generic answersβit knows about your company.
And because you can see the search results in their own column, you can tell why it answered the way it did.
The Shortcut: Knowledge for Assistants β
If you're building an assistant rather than a table, it's simpler: open the assistant, find the "Knowledge" card, and click "Add". Pick an existing collection or create one on the spot, and the assistant can search it from then on. No columns to wire up.
The same collections are available either way.
Managing Your Collection β
Your knowledge isn't staticβyou can update it anytime from the "Knowledge" section:
- Add more - "Add Documents" again, any time
- Remove outdated material - Delete the document from the collection
- Re-scan a website - Run the scan again to pick up changes
π‘ β οΈ Important
Updating documents changes future answers. Rows that already have an answer keep itβre-run those cells if you want them redone with the new information.
Best Practices for Knowledge β
1. Keep It Organized β
Name your documents clearly:
- β "Return Policy - Updated 2024"
- β "Product Catalog - Electronics"
- β "Document1.pdf"
- β "Untitled.docx"
2. Use Clear Language β
Your documents should be:
- Clear and concise
- Well-formatted with headings
- Free of jargon or abbreviations
- Written for customer understanding
3. Keep It Updated β
Set a reminder to:
- Review the collection monthly
- Update when policies change
- Add new products/services immediately
- Remove discontinued items
4. Test New Content β
After adding documents:
- Ask test questions about the new information
- Check the "Search Knowledge" cell to confirm the right passage was found
- Adjust if needed
5. Don't Overload β
Start with:
- FAQ (most important!)
- Key policies (return, shipping, privacy)
- Top 5-10 products
Add more as needed.
Advanced Tips β
Multiple Collections β
Create separate collections for different purposes:
- Product Info - Technical specifications, features
- Policies - Returns, shipping, terms of service
- Support Guides - Troubleshooting, how-tos
Then add more than one "Search Knowledge" column, each pointing at a different collection, and let the AI column read whichever ones matter.
Tuning the Search β
If the AI keeps missing the right passage:
- Raise the "Result Count Limit" so it sees more candidates
- Sharpen the "Search Query"βsearch for the customer's question, not the whole conversation
- Split very large documents into focused ones
Showing Sources β
Because the retrieved passages live in their own column, you can include them in your reply, or ask the AI in the "System Prompt" to name the document it used:
"According to our Return Policy, you can return items within 30 days of purchase."
What's Next? β
Your AI now has knowledge! But what if you want it to DO things, not just SAY things?
In the next section, you'll learn how to:
- Give your AI tools (search contacts, send emails, create tickets)
- Make your AI take actions based on conversations
- Build multi-step workflows
Continue to Section: Giving Your Agent Tools β
Quick Troubleshooting β
My AI isn't using the knowledge
- Check that the AI column depends on the "Search Knowledge" column
- Check that your prompt actually includes the search results
- Make sure documents finished processing
The search finds nothing
- Check that your documents contain the information
- Check the "Search Query"βis it referencing the right column?
- Try rephrasing the question
The answer is from old information
- Update the document in your collection
- Re-run the cells you want redone; old rows keep their old answers
Knowledge search is slow
- Very large documents? Break them into smaller ones
- Check that ingestion finished completely
π Congratulations! β
You just:
- β Created a knowledge collection and filled it with your documents
- β Added a "Search Knowledge" column that finds the right passage per row
- β Connected it to your AI column
- β Tested accurate, specific responses
Your AI agent is now significantly smarter! It knows about YOUR business and can answer questions accurately based on YOUR information.
This is huge! Most chatbots give generic, unhelpful answers. Yours now gives accurate, company-specific information automatically.
Ready to make your agent even more powerful? Let's give it tools in the next section!
Previous: Creating Your First Chatbot
Continue to Section: Giving Your Agent Tools β