Knowledge
It answers from your documents, or it says it doesn't know.
Upload your price list, your hours, and your policies. Every answer the agent gives traces back to something you gave it. When nothing matches, the caller is informed clearly instead of receiving an invented answer.
Two searches
Run on every question
Exact words and meaning
One shared base
Facts every agent uses
Plus their own
Per tenant
Isolation at the database
Not at the query
Grounded retrieval · pgvector
Price_List_2026.pdf (99.4%) · Clinic_Hours.xlsx (98.1%) · Doctor_Roster.docx (96.5%) · Warranty_Policy.pdf (95.0%)
“Dạ gói tẩy trắng răng chuyên sâu là một triệu hai trăm nghìn đồng, và phòng khám mở cửa sau mười lăm giờ chiều thứ Năm ạ.”
Every answer traces back to an uploaded document chunk. When nothing matches, the agent says so instead of inventing one.
Grounding
Why it refuses to guess
A language model asked about your prices will produce a confident number whether or not it knows one. On a sales call, that invented number becomes a promise you have to honour.
So the agent is given your documents as the only acceptable source for business facts, and is instructed to say when it cannot find one. “I don't have that in front of me, let me take a message” is a good outcome. A plausible wrong price is not.
How it works
Two kinds of search, on every question
Exact wording and general meaning fail in different places. Running both and combining them is what makes the retrieval survive real callers.
Exact words
A product code, a brand name, a specific clause. Keyword search finds the thing a caller named precisely, which meaning-based search will often float past.
Meaning
A caller who asks whether you can fix a cracked screen should reach your screen repair pricing even though they used none of its words.
Combined, then ranked
Both sets of results are merged and ordered, so the agent reads the few most relevant passages rather than everything that mentioned a word.
Shared company facts
One knowledge base every agent reads from, so the price reception quotes is the price billing quotes. Inconsistency between agents is what makes a swarm feel fake.
Plus material per agent
The aftercare agent can carry treatment instructions that reception has no need to read, without cluttering the shared base.
Kept current from your systems
Push updates through the API whenever your own data changes. Unchanged content is recognised and skipped, so pushing on every save costs nothing.
-- every query, every table
USING (tenant_id = current_setting('app.tenant_id'))
-- enforced by the database, not the app
ALTER TABLE chunks FORCE ROW LEVEL SECURITY;
Underneath
Postgres, pgvector, and row-level security
Documents, chunks and embeddings live in Postgres, with vector search through pgvector and keyword search through its full-text index. One database, one transaction, no separate vector service to keep in sync.
Tenant separation is a row-level security policy that the database enforces on every query, including ones we write by mistake. Forgetting a filter returns nothing rather than someone else's data, which is the only version of this guarantee worth selling.
Honestly
What this doesn't do
Worth knowing before you build on it.
It is only as current as what you upload
Change a price in your own system and the agent will keep quoting the old one until that document is updated. Connect the push API if your prices move often.
Scanned images need real text
A PDF that is a photograph of a page has no text to extract. Export a text PDF, or the agent will have nothing to read.
Retrieval is not reasoning
It finds the passages that answer a question. It will not compute an unusual discount across three policies: provide the specific rule you want applied.