Factual Retrieval

Knowledge Base & Semantic Search

Upload your docs, policies, and pages, and the agent searches them first so answers stay on-policy.

Browse docs Knowledge Base & Semantic Search

Supported sources

  • Files: PDF, Word (.doc, .docx, .odt, .rtf), EPUB, PowerPoint (.ppt, .pptx), Excel (.xlsx), CSV, text and Markdown. Files are converted in your browser, so they need real text. Scanned, image-only PDFs and password-protected files can't be read.
  • Web pages: paste a URL and Embage imports that page's text, leaving out navigation, headers and footers. Each import brings in one page; links aren't followed.
  • Your own pages: write or paste content in the built-in Markdown editor.

Everything is split into sections of about 1,000 characters (with some overlap) and indexed with vector embeddings.

Connected through a sub-agent

A knowledge base isn't attached to an agent directly. Create a sub-agent, give it the knowledge base tool, choose which knowledge base it searches, and add the sub-agent to your agent. The main agent calls it whenever it needs facts. Website chat and browser voice both use it. Telegram agents don't search the knowledge base yet.

Semantic search

Each search embeds the question and returns the 10 closest sections by meaning, so "can I send it back?" still finds your returns policy. Every search counts toward your plan's monthly knowledge base searches.

Keeping answers on-policy

Search always returns the closest sections it has, even when none of them is a strong match. Tell your agent in its instructions what to do when the results don't cover a question, for example: "If the knowledge base doesn't answer it, say so and offer to hand over to the team." After each conversation, questions the agent couldn't answer from the knowledge base are listed as knowledge gaps.

Live updates, no redeploy

Edit a page and save, and only the changed sections are re-indexed. New searches use them right away. Imported web pages don't refresh on their own, so re-import a URL when that page changes.

One library per job

An organisation can have several knowledge bases. Each knowledge sub-agent reads one of them, so your support agent and your sales agent can search different sources.

Need help implementing? Check our FAQ Hub Start building
Free plan · paid plans free for 7 days

Build your first customer agent.

No credit card. Questions? Write to support@embage.com.