Skip to main content

Knowledge sources

Knowledge is what your roles answer from. Every answer that uses it cites the source, and the console shows the exact passages each turn read.

The five kinds of source​

SourceWhat to use it forHow to add it
WebsiteYour public pages: product pages, pricing, FAQs, policies.Knowledge → Add knowledge → Website. Give the start address; choose which paths to include or skip and how deep to crawl.
DocumentPDF, Word (.docx), .txt or .md files, up to 25 MB each. Price lists, brochures, manuals, terms.Knowledge → Add knowledge → Document. File uploads are switched off on Sarthi's servers for now: share the file from Google Drive and add it as a Google Drive link instead.
Google Drive linkA file you already keep in Google Drive: a PDF, a Word file, a Google Doc, Sheet or Slides. Stays in sync when you edit it.Knowledge → Add knowledge → Google Drive link. See below.
TextShort notes you type in: "We don't deliver to Lakshadweep", "Office closed on Diwali and the day after".Knowledge → Add knowledge → Text.
Website behind a loginA dealer portal, a members' help centre: pages only reachable after signing in.Knowledge → Add knowledge → Website behind a login (owners and admins). See below.

Each source gets a context: public (used for everyone), signed-in (only when the visitor was recognised through a token) or both. A dealer price list should be signed-in only; your returns policy can be public.

How a website is crawled​

  • Sarthi's crawler identifies itself as SaarthiBot/1.0. It follows links within the start address, honours your include and exclude lists and the depth you set, and reads the main content of each page (navigation and footers are dropped).
  • It stays on the website you give it. If your start page forwards visitors to another domain (an old address that moved, say), the reading stops and names the new address: add the source again with that address as the start page.
  • Pages are split into passages and indexed for search. The console shows page and passage counts.
  • Recrawls keep it fresh: weekly by default, monthly, or daily on Growth and above. Only changed pages are sent to the AI again, so an unchanged page costs nothing.
  • Scanned PDF pages (images of text) are read by AI.

Approval before anything goes live​

The first reading of a website, document or Google Drive link never goes live on its own. The source shows Needs review until someone checks a sample of what was read and approves it; reject it and nothing changes. This catches a wrong crawl (a login page, a "Page not found" text) before a visitor sees it.

Later recrawls go live by themselves. Changing the start address, the file or the Drive link is a new source of truth, so that reading waits for approval again, and the current content stays live until you approve. Text you type goes live at once.

Keep a file in Google Drive and let Sarthi read it from there. Nothing is uploaded to Sarthi: it downloads the file, keeps only the text (the passages it answers from) and reads the link again on the source's schedule, so editing the file in Drive updates Sarthi.

  1. In Google Drive, right-click the file → Share → Share.
  2. Under General access pick Anyone with the link, role Viewer.
  3. Copy link and paste it in Knowledge → Add knowledge → Google Drive link.
FileHow it's read
PDFPage by page, with page numbers in citations. Scanned pages are read by AI.
Word (.docx), .txt, .mdHeadings kept.
Google DocExported as Word, headings kept.
Google SheetThe tab that was open when you copied the link. Each row becomes one passage that names its columns, like Plan: Fiber 300; Price: ₹799. Add each tab you need as its own source.
Google SlidesExported as PDF, one page per slide.
.csvLike a Sheet.

Links that work: https://drive.google.com/file/d/…/view, https://drive.google.com/open?id=…, and Google Docs, Sheets and Slides links (https://docs.google.com/…). Folder links and links to other sites are refused when you save.

If the reading fails
  • "Google didn’t share this file with Sarthi": the file is still Restricted. Change General access to Anyone with the link, then press Read again now.
  • "can’t be read": the file is an image, a zip or another type Sarthi doesn't read. Save it as a PDF in Drive and share that.
  • "larger than 25 MB": split the file, or share the parts that matter.

Anyone who has the link can open the file, and answers from it show the link under the answer when sources are shown. Share only what you'd put on your website, or set the source to signed-in context so only recognised customers get answers from it.

Websites behind a login​

For pages that need a sign-in, store the login in the vault (Integrations → API keys, or right there when adding the source) and reference it from the source. Sarthi supports:

MethodWhat you store
Form loginThe username and password; Sarthi finds the login form (or you name its fields) and checks the sign-in worked.
HTTP BasicThe username and password.
HeaderA header name and value, such as Authorization: Bearer ….
CookieA session cookie copied from your browser.

Both the start page and the login page must be https. The source defaults to signed-in context; making it public asks you to confirm, because the content would then be shown to anyone who chats.

Use a read-only account

Give Sarthi an account that can only read the pages it needs, the same way you would for a database. The password is stored encrypted and never shown again.

Keeping it good​

  • The gap report (weekly, in Knowledge) lists questions visitors asked that nothing could answer well, grouped by theme. It's the best to-do list for new sources.
  • Team answers: when your team answers a consult, the answer can be kept as knowledge, so the AI knows next time.
  • Test chat in the console shows which passages an answer used. If the wrong passage wins, a shorter, clearer text source usually fixes it.
  • Knowledge is always live: a corrected price applies to every chat at once, including ones already open.

Limits​

Sources, pages and storage are capped by your plan; the console shows the usage. Storage counts your uploaded files plus the text read from every source (for a Google Drive link, only the text). One upload or Drive file is at most 25 MB. See Limits.