Give your assistant your menus, price lists, policies and FAQs, and it looks up the right part when a customer asks. Choose when each document is searched and how knowledge is used.
Where
Assistant menuConfigureKnowledge
Permission
Needs Add knowledge
Time
9 min read
Markdown
app.heyservo.ai/agents/golden-oven/knowledge
KnowledgeAsk HandymanDocsOW
Knowledge
What this assistant looks up when answering: menus, price lists, policies, FAQs. Documents live in the workspace library, so other assistants can use them too.
Add files
Upload PDF, Word, Excel, images or text files, or record a voice note.
Add your website
We read your site and draft documents from what we find.
Add text
Type or paste something the assistant should know.
Attach from library
2 documents in your library aren't attached here yet.
Fine-tuning for technical users. The defaults suit most businesses.
How knowledge is used
When it helpsAlways, all of itOff
Guide
01 / 05Four ways to add.Upload files, read your website, type text, or attach what the workspace library already has.
Four ways to add. Upload files, read your website, type text, or attach what the workspace library already has.
What this assistant knows. Each attached document shows its passages, whether it is ready and when it is searched.
Open a document. The drawer shows every passage, exactly as the assistant reads it.
Only inside procedures. Keep task documents out of everyday searches: they are searched only while a procedure that uses them runs.
How knowledge is used. Under Advanced, choose to search when it helps, put everything in front of the assistant, or switch knowledge off.
The story
A question answered from a document
Follow Layla's delivery question from her phone to the passage that answers it.
1
A document in passages
Golden Oven wrote delivery-and-collection.md with one ## heading per topic. When it was added, HeyServo cut it into four passages, one per heading, and indexed them once for every assistant it is attached to.
Each heading names its topic in full: Delivery areas and fees, not Areas. A passage is found on its own, without the file's title, so the heading has to say what it is about.
2
A customer asks
Layla Hassan wants a cake delivered to her office. Nothing in the instructions mentions Al Barsha, but the delivery document does.
3
The assistant searches
With knowledge used When it helps, the assistant has a search tool. It writes its own search, and HeyServo finds the passages closest in meaning among the documents it may read right now. They do not need to share the same words.
By default the top 3 passages come back. The first is Delivery areas and fees, which lists Al Barsha and the fee.
4
It answers from the passage
The assistant reads the passages and answers. Open How it answered on the conversation page or in the Playground to see the search and the passage it used.
5
When nothing matches
When no passage is close enough, the search answers No relevant knowledge found. Your instructions decide what the assistant does next, such as offering to pass the question on.
If this question comes up often, add a passage for it, or an approved answer.
Layla's phone
9:41
GGolden OvenBusiness account
Message
Behind the answer
delivery-and-collection.md
## Delivery areas and fees
Passage 1 of 4
## Delivery times and cut-off
Passage 2 of 4
## Collection from the café
Passage 3 of 4
## Delivery for custom cakes
Passage 4 of 4
How it answered
Guide
01 / 05A document in passages.Golden Oven's delivery document has four ## sections, so it is four passages.
A document in passages. Golden Oven's delivery document has four ## sections, so it is four passages.
A customer asks. Layla writes on WhatsApp.
The assistant searches. It writes a search, and the closest passages in meaning come back.
It answers from the passage. The answer uses the document's facts, in the customer's language.
When nothing matches. If the search finds nothing, the assistant is told so and does not invent an answer.
Scroll to play
What knowledge is
Knowledge is the documents your assistant can look things up in: a menu, delivery areas, a cancellation policy, an FAQ. Documents live in the workspace library, and each assistant uses the ones attached to it. Add a document once and attach it to every assistant that should answer from it.
When a document is added, HeyServo cuts it into passages and indexes them, once, for every assistant it is attached to. When a customer asks something, the assistant searches the passages and answers from what it finds.
For
Use
Facts, policies, FAQs, descriptions
Knowledge (this page)
Long price lists and product sheets
The Catalog: it imports better and shows items as cards
Live data: prices that change, availability, the status of an order
Tools and integrations. The knowledge search is for policies and FAQs, not live data
Upload documents from your computer, or record a voice note. Its description says which kinds of file you can add. Anything you upload here is attached to this assistant.
Add your websiteButton
We read your site and draft documents from what we find.
Add textButton
Type or paste something the assistant should know. Opens New document with Filename and Content, and Add to knowledge base.
Attach from libraryButton
Pick documents the workspace library already holds. When some are not attached yet, it says how many.
The add cards show only with the Add knowledge permission. Every way to add, with formats and limits, is on Adding knowledge.
The documents table
Columns5 controls
DocumentShown
The file name, its size and how many passages it has.
StatusShown
Ready (green) once it is indexed, or Preparing while it is being indexed.
AvailableChoice
When this assistant searches the document. See Availability.
Options AlwaysOnly inside procedures
Also used byShown
Other assistants it is attached to, or Only here.
AddedShown
The date it was added.
Row menu4 controls
OpenButton
Opens the document drawer. Clicking the row does the same.
Index againButton
Cuts the saved text into passages again and re-indexes it. See Index again.
Removes it from the library and from every assistant. Needs the Manage the library permission and access to all assistants.
Under the table: how many documents are attached and their total size, how many more are in the workspace library, and Open library. With nothing attached, the page suggests adding a file, your website or some text, or attaching from the library.
Inside a document
Document drawer5 controls
Size, Passages, Added, Also used byShown
The facts. Also used by reads Only this assistant when no other assistant uses it.
AvailableChoice
The same availability as the table.
Passages your assistant readsList
Every passage as a card, labelled Passage 1 of 6 and so on, with its text. This is exactly what a search can return.
DetachButton
Detaches it from this assistant.
Delete from library…Button
The red bin icon. Deletes it from the library.
Availability
Available2 controls
AlwaysChoice
Searched for any question.
Only inside proceduresChoice
Searched only while a procedure that references this document is running.
Availability is per assistant: the same document can be Always for one assistant and Only inside procedures for another.
Use Only inside procedures for task documents, such as a custom cake order guide, so everyday searches stay focused.
A workflow stage can hide the assistant's knowledge and add documents of its own.
While this assistant's procedures or workflow stages refer to a document, you cannot detach it.
How search works
The document is cut into passages. If it has ## headings, each ## section becomes one passage, with its heading. Without them, it is cut at blank lines into paragraphs. Very short pieces, 20 characters or fewer, are dropped.
The passages are indexed once, when the document is added, and shared by every assistant it is attached to.
The assistant writes a search when a question needs your documents.
HeyServo finds the passages closest in meaning, not only those with the same words, among the documents the assistant may read right now: the ones attached as Always, plus procedure-only ones while their procedure runs.
The top passages go back to the assistant: 3 by default. If nothing is close, it is told No relevant knowledge found. If search is briefly unavailable, it is told to say it cannot check right now, not that the answer does not exist.
On website chat, the assistant can list the documents it used under each answer when Show knowledge sources is on. See Website chat.
How knowledge is used
Under Advanced, How knowledge is used decides how the attached documents reach the assistant. Changing it does not re-index anything.
Mode
What happens
Good for
When it helps
The assistant searches for the relevant passages on each question.
Most businesses, and any long document
Always, all of it
Every document attached as Always is put in front of the assistant on every turn, with no search. Up to 20,000 characters in total; beyond that is cut off. Procedure-only documents are left out, and a running procedure brings its own.
A short menu and opening notes. Costly for a manual: every message carries it, and it pushes the automatic model choice to a stronger tier
Off
Asks you to confirm with Turn off knowledge. The documents stay attached.
Keeping documents attached while knowledge is switched off
Search tuning
Search tuning (Advanced)3 controls
Enable RAG knowledge searchSwitch
Gives the assistant its knowledge search tool over the documents attached to it.
Default On
RAG results per searchNumber
How many passages each search returns. More gives the assistant more to read, and more to sort through.
Default 3Limit 1 to 10
Index detailsShown
How many passages are indexed, and with which model. Open a document to see its passages.
Writing knowledge that gets found
Use ## headings, one topic each. Each ## section becomes one passage. Keep every section complete on its own.
Name the topic in every heading. Write ## Delivery areas and fees, not ## Areas. A passage is found and read without the file's title.
No pointers to other places. Avoid see the section above or as in pricing.md: the assistant may only see that one passage.
Put a whole answer in one section. Only 3 passages come back by default, so an answer spread over five sections may arrive in pieces.
Keep price lists in the Catalog. Long price lists and product sheets work better in the Catalog.
Use Always, all of it only for a short set, such as a menu and hours. Make task documents Only inside procedures.
Use an approved answer for exact wording of a frequent question, and a custom item for something made to order.
## Delivery areas and fees
We deliver within Dubai: Jumeirah, Al Barsha, Downtown, Business Bay and Dubai Marina.
Delivery is AED 30. Orders over AED 300 are delivered free. We do not deliver to Sharjah.
## Delivery times and cut-off
Same-day delivery for orders placed before 2pm. Deliveries take about 90 minutes.
## Collection from the café
Collect from our Jumeirah café, 8am to 10pm. Bring your order number.
## Delivery for custom cakes
Custom cakes are delivered by our own driver, never by courier, on the day you choose.
A document that searches well
Who can do what
To
You need
See the page
See knowledge
Add, attach, detach, change availability, Index again