All pages

Docs / Build

Help content and procedures

The assistant answers from your help content: the help text you write on the Assistant page, and the pages and sitemaps you add on the Knowledge page. Procedures tell it how to handle a topic in your own words.

What gets crawled

Our crawler calls itself DezziBot in its User-Agent (Mozilla/5.0 (compatible; DezziBot/1.0; help-content crawler)). It reads only the addresses you add, and doesn't read robots.txt, so add only pages you're allowed to use.

Limits

How search works

Once an app has crawled pages or published help text, the assistant gets a search_knowledge tool. It searches with a few keywords and gets back up to 5 excerpts, each with its page's title and address. A part matches when it has every word searched for; when none has them all, parts with any of them are shown, those with the most words close together first. Words match exactly as written, so refund doesn't find refunds; the assistant is told to search with a few keywords. What search returns is information for the assistant to answer from, never instructions to it.

Your help text on the Assistant page becomes searchable when it is published. Help text of up to 30,000 characters also goes into the assistant's instructions whole; longer help text is searched instead. Search covers only your own app's content.

Test a search on the Knowledge page runs the same search the assistant does, so you can see what it would find.

Procedures

A procedure is a topic and what to do about it, in plain language: "Refunds: look up the order first, propose the refund only for orders under 30 days old, and never promise a date." The assistant follows the procedure whose topic matches what the person asks. They come after your instructions in what the assistant is told, and like your instructions they can't change the service's own rules: the assistant still only proposes what changes money or data, and hands over what it can't do.

Keep hard limits in your app's actions, not in a procedure alone: the check of a propose action is what decides whether something may happen. Up to 50 procedures, each up to 5,000 characters. Like instructions and help text, they change in a draft, which you can run simulations on before you publish it.