Documentation menu

Docs Knowledge

Ask with Knowledge

Attach a source, ask, and read what the answer cites. Sources are made on Set up Knowledge sources.

Attach a source

/knowledge team-notes

Type it in a conversation in the app or in verbiqo chat. Verbiqo confirms the source and what it holds, then looks documentation up from it while it answers. From the command line you can name the source when you start:

verbiqo chat --knowledge team-notes "how do we rotate the on-call pager"
verbiqo chat --pg prod --knowledge team-docs "what does LWLock:BufferMapping mean"
  • Only attached sources are searched. A source that is saved but not attached is never read, and neither is anything outside the sources you attached.
  • With a PostgreSQL connection attached (/pg prod), the PostgreSQL documentation source is attached for you, and /sources shows it as attached automatically.
  • With no system attached, a question is answered from the attached documentation alone, and the answer says so. Verbiqo reads nothing from any server.
  • Documentation sources are kept apart from the systems you attach (up to three at once). The desktop app uses at most 8 documentation sources for one question.

Several sources, switching and stopping

TypeWhat happens
/knowledge a bAttaches exactly these two. Use it to search your own notes and a website together.
/knowledge bReplaces every attached documentation source with b. What the replaced sources returned is no longer used, and earlier questions are not carried over to the new source. Your systems (/pg prod) are not affected.
/knowledge off bStops one source for this conversation. Its earlier results leave the evidence.
/knowledge offStops all of them.
/sourcesLists the systems, then the documentation, with (attached automatically) where that applies.
  • Sources made with different embedding models can be attached together. Each is searched with its own model, and a source is never searched with another one. More
  • In the app, once you have used /knowledge, the app sends exactly your list, so /knowledge x replaces the automatically attached PostgreSQL documentation too.
  • Naming a source that is not attached to off changes nothing and says which sources are attached.
  • Stopping a source for a conversation does not delete it. To delete it, remove it (below).
  • An Ask window that is already open keeps up with Settings. When a source finishes indexing, is updated, refreshed or removed in Settings › Knowledge, the open Ask window reads the list of sources again at once, without being reopened, so a new source can be named in /knowledge and shows in its completions. What you attached stays attached, a new source is not attached for you, and your question and the conversation are untouched. If you remove a source that is attached, it is detached and Ask says so; what it returned stays in the conversation. A run that fails changes nothing.

Remove a source

verbiqo knowledge remove team-notes

In the app, select the source and press Remove; it asks first. Removing deletes the source and its index file from your computer. It never touches the files or the website it was made from. A central store’s password is removed from the Keychain or Credential Manager with it.

Update and refresh

Nothing refreshes by itself. A refresh runs only when you press Update… or run import. In every case, a source that is being added and is stopped is not kept, and a source that is being refreshed keeps what it had.

Files and folders

verbiqo knowledge import team-notes --folder ~/Documents/team-notes
verbiqo knowledge import team-notes --file ./new-policy.docx
verbiqo knowledge import team-notes --folder ~/Documents/team-notes --sync
  • Each document is known by its path and the hash of its content. A document that has not changed is skipped, a changed one is replaced, and a new one is added.
  • A document that is gone from the folder stays in the source until you import with --sync (in the app, tick Remove files that are gone). --sync needs --folder.
  • --reindex reads and cuts every document again, for a source made before sections were cut to fit the model (status says “Chunking: by words only”).
  • The app remembers where a source’s files are. It asks again for a source made in a terminal.

Websites

verbiqo knowledge import example-guide
verbiqo knowledge status example-guide

A refresh uses the scope and limits saved with the source. To change them, use verbiqo knowledge website settings NAME … first, then refresh. In the app, select the website source and press Update…. The window shows the saved address, which cannot be changed there, and the saved Read choice, path prefix, Pages (at most), Link depth and Requests at once. Save Settings keeps changes to those and fetches nothing. Refresh contacts the site and reads the pages again under the saved settings. Tick Remove pages that are gone to remove pages the site no longer has (each is checked first). The other limits (bytes, requests in all, time, retries) are changed only in a terminal with verbiqo knowledge website settings. The source keeps the embedding model it was made with, so the window offers no embedding choice.

  • Unchanged pages are skipped. A page the site says is unchanged (its ETag or Last-Modified validator), or whose content hash or extracted text is the same, is not embedded again. A changed page is replaced whole, and a new page is added. --force reads and embeds every page again.
  • The source people are asking is not touched until the refresh has an outcome. The refresh works on a copy and puts it in place as complete, partial (something was not read), stopped (you stopped it) or failed (no page could be used).
  • A page that cannot be read is kept as stale. After a timeout, a server error, a rate limit, a refusal or a sign-in page where a page was, the old content stays, marked with the reason and the time of the last success. A page the site answers 404 or 410 for is marked missing and also kept.
  • An incomplete crawl never deletes. A page that the walk did not reach, because a limit was hit, discovery was incomplete or you pressed Stop, is not evidence that the page is gone. The result lists how many pages were held but not reached.
  • Removal is a separate, explicit step.
verbiqo knowledge import example-guide --prune
verbiqo knowledge import example-guide --prune-out-of-scope
  • --prune removes pages the site itself reports gone (404 or 410, asked again), and only when the walk was complete. A refusal, a server error, or a page that is still served is kept and reported.
  • --prune-out-of-scope removes pages the saved scope no longer includes, after you narrowed it with website settings.
  • A refresh uses the embedding model the source was made with. If that is not the model this refresh would use, the refresh stops before fetching anything and tells you to rebuild instead. Rebuild

Confluence wikis

verbiqo knowledge import team-wiki
verbiqo knowledge status team-wiki

In the app, select the Confluence source, press Update…, then Refresh. If this computer keeps no sign-in for the source, the window asks for it once.

  • Only what changed is read. The pages are listed first. A page or attachment at the same version is skipped, a newer one is read again, and a new one is added. --force reads every page again (a page moved to another parent without a new version is noticed only then).
  • Removal needs evidence. A page deleted from the wiki, moved out of the chosen spaces or trees, or no longer visible to the account is removed, and the result says which. That happens only when the listing was read to its end, never on a stopped or limited run.
  • A page that cannot be read is listed with the reason, and its earlier copy is kept.
  • Continue: after a Stop or a limit, the window shows Continue, and the result says how many pages are still not read. In a terminal, run the same import again.
  • A new token: type it in the window, or pipe it to import --token-stdin. It replaces the saved one.

Read the status

verbiqo knowledge status NAME shows, for a website source, the address and scope, the pages by state, the last refresh and its outcome, any limit that was reached, and each stale or missing page with its reason and the time it was last read.

Page stateMeaning
indexedRead, and current as of the last refresh.
staleKept. The last attempt to read it failed, for the reason shown.
missingKept. The site said 404 or 410.
not-indexedNever documentation or never read: a sign-in page, an empty page, a download, a page robots.txt disallows.

A text status lists the first 20 stale or missing pages. verbiqo knowledge status NAME --json lists all of them.

Sections that are not searchable

If a section cannot be embedded because its heading path or text is longer than the embedding model reads, Verbiqo stores it in full and does not search it. The app says so where you would look: the result of an import or refresh reads Not searchable: 2 sections in 1 document, stored in full (“page” for a website) and lists every one with its whole heading path, the file or page and the reason. The source’s details show the same list, and its row in the list ends with “N not searchable”. A file or page whose new version could not be searched keeps the version that was indexed before, and is listed as Kept the version indexed before; a page that could not be refreshed is listed as Not refreshed with the time of its last success. Nothing is shown for a source that has none. In a terminal, verbiqo knowledge status NAME prints the same.

Stop

Press Stop in the app, or Ctrl-C in a terminal. The page or document in hand is finished or abandoned whole, never half-written, and then the run ends. A wait does not hold it up: a name lookup that never answers, the spacing between requests and a Retry-After all end at once on Stop, and at the run’s time limit; the result says whether the run was stopped or the limit was reached. The byte limits (--max-total-bytes, --max-total-decoded-bytes) are counted as bytes arrive, across every transfer in flight; when one is reached the transfers in flight stop, the result names the limit and the walk counts as incomplete, so nothing is removed. On the Mac, the website window then shows what the stopped run did, and keeps everything you typed.

On Windows, Stop ends the engine process at once. There is no “stopped” result line and no list of what was finished. Pages and documents already added stay, nothing is removed, and the next refresh skips what is unchanged. A new website source with no finished page is not created. For a Confluence source, press Update… › Refresh to read what the stopped run did not finish.

  • Files: the documents already read stay, nothing is removed (a stopped --sync removes nothing), and the message says how many files were not read. Run the same import again to continue; documents already read are unchanged and skipped.
  • A new website source: pages already finished are kept and the result says it was stopped. Stopped before any page was finished, nothing is added.
  • A website refresh: finished pages are kept, nothing is removed, and the stopped refresh is recorded as such. In a terminal it ends with an error exit code after printing its result.

Ask for a whole list

A question such as which exporters are supported, list all widgets or what databases are there asks for every item, so Verbiqo does not answer it from the few sections that match best. It finds the heading in the source that the question is about, reads every section under it, and says under the answer how much it read.

  • Coverage of this list means every section under that heading was read. The block names the heading, how many sections there are, each section by name and the page address.
  • Partial coverage of this list means it was not. The block names the sections that were read and every section under the same heading that was not, with the reason and the page address. Ask about one of those sections by name to read it.
  • A list too large for one request to your AI service is read in parts, up to 300,000 characters. Where the evidence cannot be divided (a terminal session), the list is sized to what the model’s window holds, so what the block says was read is what the model is given, and the rest is named.
  • Only the lists the question matches are read. Other headings about the same words that did not match are named as not read, and a word that is in the titles of more than 12 lists (a large manual) is not read as one list.
  • When no heading in the source names what you asked for, the usual lookup answers. If more sections matched than it showed, the block names the ones that were not read.
  • Verbiqo writes this block itself. The model’s wording is never the statement of coverage, and nothing later removes the block.

Follow-up questions

Ask the way you would ask a colleague. A question that only makes sense after the previous one, such as what are the standards? or does it need a restart?, is read with the turn before it.

  • The AI model reads the question on its own first. Only when it does not stand on its own is it read again with the previous question, and written as one full question (What are the naming convention standards?).
  • The lookup and the answer use that full question. The evidence says how it was read: Verbiqo read it as “…”.
  • A question that names its own subject is looked up as you asked it, as a new subject.
  • If the model cannot be reached, Verbiqo decides by its own rules, as before, and the evidence says so.

How the sections are chosen

For a wiki, a website or your own documents, the search finds candidate pages, and the AI model picks the sections that answer the question from their titles and numbered headings.

  • Each chosen section is given whole: every part under its heading, every tab of a tabbed page, and the steps that come before it on a how-to page (its prerequisites before its procedure).
  • What does not fit in the model’s input is named, never cut.
  • When the answer says the documentation does not cover the question, it ends with Also looked up and not used in this answer: and the pages Verbiqo found, so a page that was found is never hidden.
  • Versioned product documentation (PostgreSQL) is searched by version, as before.

Read the citations

A sentence taken from documentation ends with a link. What the link opens depends on the kind of source.

SourceThe link opens
WebsiteThe page’s own address, with the heading’s anchor (#flags) only when the page really has that anchor. Different pages, and different documentation versions of a page, are different pages with their own addresses. Pages with identical text are all kept, each with its own address.
Confluence wikiThe page in the wiki, with the heading’s anchor when the page has one. A section of an attachment opens the attachment’s own address in the wiki (a PDF at its page).
HTML fileThe file, at the heading when the file has one (file://…#heading-id).
PDF fileThe file, at the page (#page=12).
Word, Markdown and text fileThe file itself. No viewer opens a heading or a line, so the heading path in the citation is the location.
PostgreSQL documentationThe page on postgresql.org, labelled with the version it is from (PostgreSQL 17 docs), or the versions when the section reads the same in several.
  • A file:// link opens in your viewer only for a file inside a source you added. Any other file link stays as text.
  • A website citation never points at a temporary file on your computer.
  • A source of your own is shown under the name you gave it, with no version.
  • Citations are checked. When a sentence states an exact value (a name, a command, a quoted phrase) and cites a section that does not hold it, Verbiqo moves the citation to the section that does and says so: Verbiqo corrected a citation …. When no section it looked up holds the value, it says that too, so you can check the statement on the page. No citation is removed.
  • In the app, citations are numbered, with a Sources list under the answer.
  • Open the cited page to check a sentence. The answer is written by the AI model from the sections it was given and can restate them inexactly.

Documentation is not a reading of your system

  • “What was read” in an answer lists each documentation lookup with its source name, beside the reads from your systems, and marks it as documentation.
  • Documentation says how a product is meant to work, and for which version. It does not say how your server is set up now. When a system is attached, Verbiqo reads the system for that, and the answer keeps the two apart.
  • The note “the reads above show the state now; none recorded the change” appears only when a system was read.
  • Text from a document or a web page is evidence, never an instruction. Verbiqo does not run it, follow it or let it change what it reads.
  • When nothing in the attached sources is relevant, the answer says The attached documentation does not cover this. A question about a product the attached documentation does not cover (MongoDB asked of a PostgreSQL manual) is answered that way without a lookup. How answers are found
  • Questions about the knowledge itself are answered by Verbiqo from what the source records, without asking the model: what knowledge is attached, which versions, what is in example-guide.

Next

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