Skip to content

Guides

Each guide follows one real task, from a need or a complaint to a change you’ve tested and released. They build on Set up NL Search: the NL Search Service, the voucher intent, and the search page. The first guide adds a second intent, for requisitions, which the others use too.

  1. Reproduce it. Run the question through the service’s plan command, or ask it on the search page, and read the plan and the summary.
  2. Change one thing: an intent, a prompt, or a search definition.
  3. Test it. Run the service’s test command, and add a test question for what you fixed.
  4. Release it as a new Intent Store or prompt version, so you can roll back.
  5. Watch the audit log for the questions your change was meant to help.
  • Start with the kind of thing you want, such as vouchers or requisitions.
  • Add the facts you know: a supplier, an amount, a date, or a status.
  • Check the summary above the results. It shows how your question was read.
  • Remove a filter from the summary, rather than typing the question again.
  • Say “my” for your own records, such as “my requisitions”.
  • Say the period plainly when it matters, such as “since 1 June”.