Documentation menu

Docs Knowledge

Set up Knowledge sources

Knowledge lets Verbiqo look things up in documentation you chose and cite what it found, beside what it read from your systems. This page makes the sources. Ask with Knowledge attaches and refreshes them; Knowledge embedding models covers the model that searches them.

What a source is

A source is a searchable copy of documentation, kept on your computer. It says how a product is documented. It is never a reading of your server, and an answer that uses one says which parts came from documentation and which from the system.

  • Knowledge is optional. Without a source, questions about your systems are answered exactly as before.
  • Nothing is fetched or indexed until you ask. A question, starting the app or time passing never adds or refreshes a source.
  • A source keeps the embedding model it was made with. By default that is the model that ships with Verbiqo, which runs on your computer. Details

Choose how to add a source

In the app: Settings › Extensions › Knowledge › Add Source…, then one of the choices. The Mac and Windows apps have the same choices. In a terminal, one command each.

You haveAdd Source… choiceTerminal
Files or folders: HTML, Word, PDF, Markdown, textDocuments (files or folders)…knowledge add NAME --folder DIR
A public documentation site or wikiWebsite…knowledge add NAME --url https://…
A Confluence Data Center or Server wiki that needs a sign-inConfluence wiki…knowledge add NAME --confluence --url https://… --space KEY --token-stdin
Official product documentation: PostgreSQL, MySQL, KubernetesSee Official product documentationSee Official product documentation
A bundle file you were givenExisting knowledge bundle…knowledge add NAME --bundle FILE
A shared store for a teamCentral knowledge store…knowledge add NAME --store postgres …

A source name is letters, digits, dots, dashes and underscores, starting with a letter or digit. verbiqo knowledge list shows what you have. The terminal examples below need the command line tool.

Windows: the Windows panel runs the same engine commands as the Mac. Until it has been run on a Windows computer, treat the terminal commands as the tested route there. Platform status

Your own files and folders

Everything is read and searched on your computer. Nothing is uploaded and nothing in a file is run.

verbiqo knowledge add team-notes --folder ~/Documents/team-notes
verbiqo knowledge add handbook --folder ./policies --folder ./procedures --file ./extra/oncall.pdf

A folder is read with its subfolders. Hidden files and folders, links and Office lock files are skipped, and files of other types are skipped and counted at the end (for example “12 .rtf, 3 .xlsx”). Then attach the source with /knowledge team-notes.

TypeHow it is read
HTML (.html, .htm)Headings h1 to h6 are the structure. Page navigation, headers, footers, sidebars, scripts and styles are left out. Tables, code and lists are kept whole.
Word (.docx)The styles Heading 1 to 6 and Title are the structure. Images are ignored. A document with no heading styles is split by size, and the import says so.
PDF (.pdf)The outline (bookmarks) is the structure. Without one, each page is a section (“Page 12”). The PDF must contain text. A scanned PDF is refused, because Verbiqo runs no text recognition (OCR); a password-protected PDF is refused too.
Markdown (.md, .markdown)Read as CommonMark with tables. Headings are the structure; code, lists, block quotes and table rows are kept (a row becomes Header: value pairs). A link keeps its text, not its address. Raw HTML inside is read as text with scripts and styles left out. A leading front matter block is read as data only: its title and description are used, and other fields are listed in a warning.
Plain text (.txt)One section named by the file name. Paragraphs, Unicode and aligned columns are kept as written. No heading is guessed from capitals or numbering.

Encodings and limits

  • Markdown and text must be UTF-8 (with or without a byte-order mark) or UTF-16 with a byte-order mark, and at most 5 MiB each. A file in another encoding (Latin-1, for example), a binary file, an empty file or a larger one is skipped with a message that says which. Save it as UTF-8, or split it.
  • A section of fewer than 4 words is not kept. A file with no section left after that is reported as having no text in it.
  • Not read: spreadsheets (.xlsx, .csv), old Word files (.doc), macro files, PowerPoint, reStructuredText, AsciiDoc and images. Save them as .docx, .pdf, .html, .md or .txt.
  • An unreadable file never stops the others. It is listed with the reason, and what the source already held of it stays.
  • When the import finishes, Verbiqo runs a retrieval check on the source with no model and no network, and shows how often a heading finds its own section.

Mac and Windows differ only in the file dialog: the Windows dialog lists the supported types, and the Mac one lists every file and the engine skips and counts what it does not read.

A public documentation site or wiki

Verbiqo reads the web pages of one section of one site, over verified HTTPS, and keeps them in a source of their own. It is built for documentation sites and for wikis that show their pages as HTML. It runs only when you press a button or run a command.

On the Mac: Add Source… › Website… opens a window with the name, the address, Read (A documentation section or One page only), a path prefix, and the main limits: Pages (at most), Link depth and Requests at once. An empty limit keeps the default. Embedding offers Default for new sources or Built-in model on this computer; if your organization fixed the choice, it is shown and cannot be changed. Press Preview and read what it found, then press Add and Index. While it runs the window shows the progress as “Reading pages: 3 of 9 addresses found so far” (the second number grows as pages are found, and is not the size of the site) and a Stop button; the values you typed stay as they are. Windows has the same window under the same choice. To refresh later, select the website source and press Update… (below). The same steps in a terminal:

verbiqo knowledge website preview --url https://docs.example.com/guide/
verbiqo knowledge add example-guide --url https://docs.example.com/guide/
verbiqo knowledge status example-guide

One page or a section

ChoiceWhat is readExample
One pageThat page only, and nothing it links to.verbiqo knowledge add one-page --url https://docs.example.com/guide/install/ --mode page
Section (the default)The host of the address and the folder the address is in. https://docs.example.com/guide/intro.html reads /guide/ on docs.example.com. Other hosts are never followed, including a redirect to another host.verbiqo knowledge add example-guide --url https://docs.example.com/guide/
  • An address does not grant a whole site. The root of a site (https://docs.example.com/) is refused until you name the section, or say you mean the whole site with --path-prefix /. The page and size limits still apply.
  • --path-prefix /guide/ sets the folder. --include-path adds folders and --exclude-path removes them. Both can be repeated.
  • Wikis: a query parameter that names a page is kept, so index.php?title=Cache_Tuning is a page of its own. Edit, history, raw, revision (oldid, diff), print and skin variants and Special: pages are not documentation pages and are counted as excluded. --keep-query oldid makes revisions pages of their own.
  • Links are resolved against the page, the part after # is ignored to tell pages apart, and tracking parameters (utm_*, fbclid, gclid and similar) are dropped. A canonical tag or a link to another site never widens the scope.
verbiqo knowledge add example-wiki --url "https://wiki.example.com/w/index.php?title=Main_Page" --include-path /wiki/

Preview first

Preview contacts the site and tells you what an import would read, before anything is stored. It reads robots.txt and a sitemap, and pages only when links are the only way to find pages. It reads nothing into any index, changes no source and sends nothing to an embedding service.

  • The host and path rules in words, the pages found, what was excluded and why, whether discovery is complete, the limits, and where page text would be embedded (this computer, or the named organization service).
  • The list is what this walk found within its limits. It is never a count of the pages the site has, and the preview says so.
  • A terminal preview lists the first 30 pages and says how many more there are. Add --json for every page.
  • Preview exits with an error only when no page could be read.

Limits

Every limit has a default and a ceiling, is set with an option, is saved with the source, and is named in the result when it is reached. A run that reaches one is reported as partial, never as complete.

OptionDefaultCeilingMeaning
--max-pages2005,000Pages indexed
--max-depth310Links followed from the first page (a sitemap lists pages at depth 1)
--max-requests60020,000Requests of every kind: pages, robots.txt, sitemaps, redirects and retries
--max-bytes-per-response5,242,88026,214,400Bytes of one response, on the wire and once decoded
--max-total-bytes104,857,6001,073,741,824Bytes downloaded in total. One budget for every transfer in flight, counted as the bytes arrive (failed, stopped, redirected and retried responses count); the transfer that would pass it stops and the limit is named
--max-total-decoded-bytes262,144,0002,147,483,648Bytes in total once decoded, one budget for every transfer (a compressed response counts what it expands to, as it expands)
--max-redirects510Redirects followed for one address
--max-seconds1,80021,600Seconds for the whole run
--max-retries25Retries of one address after a timeout, a server error or a rate limit
--concurrency24Requests in flight at once
--request-timeout-seconds20120Seconds to connect and receive the response headers
--idle-timeout-seconds15120Seconds of silence while a response arrives
--max-sitemaps20200Sitemap files read (an index and the files it lists)
--max-discovered5,000100,000Addresses held as discovered. A bound on the preview list, not a claim about the site
--max-retry-after-seconds60600The longest Retry-After waited for. A longer one stops that address and is reported
--min-delay-ms25060,000Milliseconds between the starts of two requests to the host (a robots.txt crawl delay raises it)

Change the saved limits and scope of a website source without fetching anything, then apply them with a refresh:

verbiqo knowledge website settings example-guide --max-pages 500 --exclude-path /guide/archive/
verbiqo knowledge import example-guide

How the site is treated

  • It says who it is. Every request carries the user agent Verbiqo-Knowledge/<version>, followed by a note that a person started the import and that robots.txt is honoured. Site operators can find it in their logs.
  • robots.txt is honoured as RFC 9309 defines it, for the product name Verbiqo-Knowledge (or Verbiqo), else for *. A robots.txt that cannot be reached (a server error or no answer) means nothing is fetched from that site. One that answers 4xx means it does not exist, and everything is allowed. A crawl delay is respected.
  • Sitemaps are used where robots.txt names them (on the same host), or /sitemap.xml when it names none, including an index and compressed files. Otherwise links are followed from the first page, level by level.
  • Pace: at most 2 requests at a time by default, spaced apart, with bounded retries and growing waits. Retry-After on a 429 or 503 is honoured up to a limit. Every wait (the name lookup, the spacing between requests, a Retry-After, a retry’s backoff) ends when you press Stop and at --max-seconds, and the result says which of the two ended the run.
  • Direct connection. The importer connects straight to the site, with no proxy, no cookies and no reused connection, and verifies the certificate against the host name. A computer that reaches the internet only through a proxy cannot import a website.
  • A response that expands far beyond its size, a page nested thousands of levels deep and a robots.txt made of wildcards are refused or bounded, not followed.

What is refused or not read

CaseWhat happens
http:// addressesRefused. Only https is imported.
Ports other than 443Refused.
An address with a user name or password in itRefused.
IP addresses in any notation (decimal, octal, hexadecimal, short forms)Refused. Use the site’s host name.
Private, internal and reserved addressesRefused: loopback, private, link-local, carrier-grade NAT, documentation, multicast and reserved ranges, cloud metadata endpoints, and IPv6 forms that carry them. Single-label names, and names ending in .localhost, .local, .internal, .intranet, .lan, .home, .corp, .private, .home.arpa, .test, .example or .invalid, are refused. The check is made again at every redirect and every new connection, and a name that resolves to a public and a private address together is refused.
Intranet wikisNot read as a website. A Confluence Data Center or Server wiki is added as a Confluence source. For any other intranet wiki, export the pages as HTML, Markdown or text, and add them as files.
Pages behind a sign-inNot indexed. A sign-in page where a page was expected is counted as a sign-in page, and a page the site refuses (401 or 403) as refused. Verbiqo does not sign in, send cookies or call an authenticated wiki API.
Pages that are empty until JavaScript runsNot indexed, and counted as such. Verbiqo runs no scripts and no browser.
Downloads (PDF, archives, images)Counted, not indexed. Download a PDF yourself and add it as a file.
GitHub and GitLab addressesRead as the web page they are. This is not a repository import: no files, branches or history are read. For Markdown or text in a repository, download them and add the folder as documents.
Pages disallowed by robots.txtNot fetched, and counted.

The whole feature can be switched off for a terminal with VERBIQO_KNOWLEDGE_WEBSITE=0. Sources already made keep working. For administrators

An on-premises Confluence wiki

Verbiqo reads chosen spaces, or a page tree, of a Confluence Data Center or Server wiki (7.9 or later) that needs a sign-in, and keeps the pages in a source of their own on your computer. Confluence Cloud is not supported. The wiki is read only when you press a button or run a command. A question never contacts it: an attached source is searched from the copy on your computer.

In the app

  1. Open Settings › Extensions › Knowledge, press Add Source… and choose Confluence wiki….
  2. Type a Name (for example team-wiki) and the Wiki address (for example https://wiki.example.internal/confluence).
  3. Choose the Sign-in: Personal access token (create one in the wiki under your profile, Personal Access Tokens) or User name and password, and type it. If the wiki uses your organization’s own certificate authority, give its certificate file in CA file.
  4. Press List Spaces and tick the spaces to read. To read only part of a space, set Read to a page tree instead and type the id or the address of its top page. Nothing is indexed yet.
  5. Optional: press Count Pages to see how many pages that is. Nothing is downloaded. On the Mac, Pages (at most) changes the page limit.
  6. Press Add and Index. The window shows the progress, and Stop ends the run. The result lists what was added, changed, removed or could not be read, the attachments, and any limit that was reached.
  7. If a limit or Stop left pages unread, press Continue. Pages already read are skipped.

Later, select the source and press Update… to read the wiki again (Refresh a Confluence source), or Test to check that the sign-in still works and each space or page tree is still visible.

The token or password is kept in the Keychain (Mac) or Credential Manager (Windows) under the name kbwiki/ and the source name. It is never shown, put in a command, or written to a file or a log. If this computer has none for a source (it was added in a terminal), Update… asks you to type it once.

In a terminal

verbiqo knowledge confluence spaces --url https://wiki.example.internal/confluence --token-stdin
verbiqo knowledge add team-wiki --confluence --url https://wiki.example.internal/confluence --space DOCS --space OPS --token-stdin
verbiqo knowledge confluence test team-wiki
verbiqo knowledge import team-wiki
verbiqo knowledge status team-wiki

Only part of a space, a page tree:

verbiqo knowledge confluence count --url https://wiki.example.internal/confluence --under 123456 --token-stdin
verbiqo knowledge add team-tree --confluence --url https://wiki.example.internal/confluence --under 123456 --token-stdin
  • The secret is piped in (--token-stdin), read from a variable (--token-env VAR) or prompted for without echo. It is never typed on the command line: --token VALUE is refused. For a user name and password use --auth password --user alice --password-stdin. A refresh reads the saved secret from the Keychain or Credential Manager. On Linux, where there is no secure store, each refresh needs --token-stdin again.
  • Spaces: confluence spaces lists the spaces the account can see. Personal and archived spaces appear only with --include-personal and --include-archived.
  • Page trees: --under takes a page id or a page address, can be repeated and combined with --space. confluence count sizes a space or a tree first and downloads nothing.
  • Large wikis: a run that is stopped or reaches a limit keeps the pages it finished and says how many are still not read. The next import continues with the rest.

What is read

  • Pages of the chosen spaces or trees, from their rendered text. Blog posts are not read. A page keeps its place in the wiki: space › parent pages › page › headings, and the title of each tab of a tabbed page.
  • Attachments in Word, PDF, Markdown, text and HTML are indexed as documents of their own, under the page they are attached to. Every other type is counted by type in the result and the status (for example “not read: 628 png, 20 xlsx”), never skipped silently. A file larger than the attachment limit is listed and not downloaded.
  • Answers say they come from wiki pages and link the page in the wiki.

Network and safety

  • https only. --allow-http is the one exception, and every result says the sign-in then crosses the network unencrypted.
  • The certificate is always verified. A wiki with its own certificate authority needs --ca-file ca.pem (in the app, CA file).
  • The sign-in goes only to the wiki’s own address. A redirect to another address is refused, and no cookie is kept.
  • The wiki may be on your intranet and on a private address. This computer itself, link-local addresses (where cloud metadata services live) and reserved ranges are refused.
  • Page text is read as text. It is never run, and instructions inside a page are only text.

Limits

Each limit is an option, is saved with the source and is named in the result when it is reached.

OptionDefaultCeilingMeaning
--max-pages5,000100,000Pages listed across the chosen spaces and trees. Pages beyond it are not listed; to read more, add the source again with a larger limit
--max-requests30,000500,000Requests of every kind: listings, pages, attachments and retries
--max-attachment-bytes52,428,800104,857,600Bytes of one attachment. A larger file is listed, not downloaded and never cut
--max-bytes-per-response5,242,88026,214,400Bytes of one response
--max-total-bytes1,073,741,8248,589,934,592Bytes downloaded in total, pages and attachments
--max-total-decoded-bytes2,147,483,64817,179,869,184Bytes in total once decoded
--max-redirects35Redirects within the wiki’s address for one request
--max-seconds7,20021,600Seconds for the whole run
--max-retries25Retries after a timeout, a server error or a rate limit
--request-timeout-seconds20120Seconds to connect and receive the response headers
--idle-timeout-seconds15120Seconds of silence while a response arrives
--max-retry-after-seconds60600The longest Retry-After waited for
--min-delay-ms25060,000Milliseconds between two requests. Requests are made one at a time

An administrator can switch Confluence off for a fleet by leaving knowledge-confluence out of the allowed extensions of the signed privacy policy, or for one terminal with VERBIQO_KNOWLEDGE_CONFLUENCE=0. For administrators

Official product documentation

How to make a source from a product’s own documentation, one product at a time. PostgreSQL has a built-in builder. MySQL and Kubernetes are read as website sources from their public documentation sites. More products will be added here as each one is checked.

ProductHowCommand
PostgreSQLBuilt in: downloaded from postgresql.org and checked against the published hashknowledge add postgresql-docs --postgresql 16,17
MySQL Community ServerWebsite source: the reference manual of one versionknowledge add mysql-8.4-docs --url https://dev.mysql.com/doc/refman/8.4/en/ …
KubernetesWebsite source: the documentation of the current releaseknowledge add kubernetes-docs --url https://kubernetes.io/docs/ …

PostgreSQL

The app does not carry the PostgreSQL documentation. You build it once, on your computer, from the source files the PostgreSQL project publishes.

verbiqo knowledge add postgresql-docs --postgresql 16,17
  • In the app: Add Source… › Official documentation (PostgreSQL)…. Choose the versions, press Build and watch the progress.
  • About 30 MB is downloaded per version, over https from ftp.postgresql.org only, and each file is checked against the hash the project publishes. When PostgreSQL publishes no hash, Verbiqo shows the file’s own hash, builds only after you confirm, and marks the source “not verified by Verbiqo”.
  • Stop ends the build and leaves nothing behind. Add or update versions later with verbiqo knowledge import postgresql-docs --postgresql 18; a version already at the newest release is skipped.
  • Once built, attaching a PostgreSQL connection attaches this source for you.
  • Given a PostgreSQL documentation bundle (a .sqlite file, or a .vqk file with its .sha256 beside it), add it instead of building, or merge its versions into the source you have:
verbiqo knowledge add postgresql-docs --bundle ./pg-docs.sqlite
verbiqo knowledge import postgresql-docs --bundle ./pg-docs-18.sqlite

More, including building behind a proxy and from files you downloaded: PostgreSQL documentation limits. Bundles in general: Bundles.

MySQL Community Server

Read the MySQL Reference Manual of your version as a website source. Each version has its own address: /doc/refman/8.4/en/ for 8.4, /doc/refman/8.0/en/ for 8.0. Make one source per version you run.

verbiqo knowledge website preview --url https://dev.mysql.com/doc/refman/8.4/en/ --max-pages 3000
verbiqo knowledge add mysql-8.4-docs --url https://dev.mysql.com/doc/refman/8.4/en/ \
  --max-pages 3000 --max-depth 6 --max-requests 4000 --max-seconds 21600
verbiqo knowledge status mysql-8.4-docs
  • The manual is large. A preview of the 8.4 manual on 15 November 2026 found about 2,350 pages, so the default limits (200 pages, 600 requests) would read only part of it. The limits above leave room for the whole manual.
  • Add it in a terminal. The app’s website window does not set the request and time limits. Once the source exists, Update… › Refresh in the app uses the limits saved with it.
  • It takes a while. Pages are read two at a time, spaced apart, and every section is embedded on your computer. If the run reaches its time limit, run verbiqo knowledge import mysql-8.4-docs: finished pages are kept and unchanged pages are skipped.
  • Only the reference manual is read. Other MySQL guides on the same site (MySQL Shell, Router, Connectors) are separate sections, and can be added as sources of their own.

Kubernetes

Read the documentation of the current Kubernetes release from kubernetes.io as a website source.

verbiqo knowledge website preview --url https://kubernetes.io/docs/ --max-pages 1500
verbiqo knowledge add kubernetes-docs --url https://kubernetes.io/docs/ \
  --max-pages 1500 --max-requests 2500 --max-seconds 21600
verbiqo knowledge status kubernetes-docs
  • Size: a preview on 15 November 2026 found about 1,060 pages under /docs/, listed by the site’s sitemap. Translations are under other paths (for example /zh-cn/docs/) and are not read.
  • Only part of it: name a section instead, for example https://kubernetes.io/docs/concepts/ or https://kubernetes.io/docs/tasks/. A smaller source is quicker to build and to refresh.
  • Add it in a terminal, for the same reason as MySQL, then refresh it from the app or with verbiqo knowledge import kubernetes-docs.
  • kubernetes.io/docs describes the current release. A cluster on an older release can differ, so check the version a page states against your cluster.

Bundles

A bundle is a documentation source someone else built, as a .sqlite file, or a .vqk file with its .sha256 file beside it. When the hash file is there it must match, or the bundle is refused.

verbiqo knowledge add vendor-docs --bundle ./vendor-docs.sqlite
verbiqo knowledge import vendor-docs --bundle ./vendor-docs-18.sqlite
  • Importing into a source of your own adds the versions the source lacks and replaces one only when the bundle’s documentation release is newer. Anything else is skipped with the reason.
  • A bundle made with another embedding model is refused (vectors from two models are never mixed). --replace replaces the whole source with it.
  • A bundle shipped with the app is read-only. Import into a source of your own instead.
  • A website source cannot be merged with a bundle, in either direction.

Central stores for a team

Keep one copy for everyone in a PostgreSQL server that has the pgvector extension.

verbiqo knowledge add team-docs --store postgres --host kb.example.internal --port 5432 \
  --database knowledge --user kb_admin --password-stdin --ssl-mode verify-full
verbiqo knowledge import team-docs --bundle ./vendor-docs.sqlite
  • The password goes to the Keychain (macOS) or Credential Manager (Windows), never to a file or the command line. --password-env VAR reads it from a variable.
  • The role that asks needs USAGE on the schema verbiqo_knowledge and SELECT on its tables. Importing needs INSERT, UPDATE and DELETE, and the first import also creates the schema (and the vector extension if the database has none).
  • A read that runs past the store’s query timeout is cancelled. Set it with --query-timeout-seconds (default 15; an organization limit can lower it).
  • A website source cannot go to a central store. A central store has no place for crawl state, so add --store postgres --url is refused with that reason, and so is moving a website source into one. Keep website sources on the computer that made them.

Next

Something missing or unclear? Email hello@verbiqo.app.