Asyntai AI Search

AI search bar for your site. Visitors describe what they want in their own words and it finds the page, in place of the search box your templates already show.

Asyntai AI Search for ProcessWire

An AI search bar for your ProcessWire site. Visitors describe what they want, in their own words, and the bar finds the page they mean.

Somebody types "when are you open at the weekend" and the bar finds your Opening hours page, although not one of those words is in its title.

Visitors describe what they want, and the bar finds it

Takes the place of your search box

What it does


  • Finds pages, articles and products by meaning, not just by exact words
  • Takes the place of the search box your templates already show, or renders where you put it
  • Works on every ProcessWire site: a blog, a company site, a club, a shop built on Padloper
  • Falls back to your usual search page when a visitor presses Enter without picking a result
  • Shows nothing at all until Asyntai has read your site, so visitors never see a bar that cannot answer

Requirements


  • ProcessWire 3.0.165 or later
  • PHP 7.2 or later
  • A free Asyntai account, which you can create from inside the module

Installation


  1. Copy the AsyntaiSearch folder to /site/modules/.
  2. In the admin, go to Modules > Refresh.
  3. Press Install next to Asyntai AI Search. The admin screen installs with it.

Or in the admin, go to Modules > New, enter the class name AsyntaiSearch and press Download and Install.

Setup


  1. In the admin, open Setup > Asyntai AI Search.
  2. Press Connect Asyntai and sign in, or create a free account.
  3. Wait a few minutes while Asyntai reads your site. The bar switches on by itself.

There is nothing to paste and no key to copy.

Where the bar goes


In place of my search box (the default). The module finds the search form your templates already render and takes its place. Nothing changes on a site with no search box.

Only where my templates put it. Add this to a template where the bar should appear:

<?= $modules->get('AsyntaiSearch')->renderBar() ?>

It prints nothing while the bar is off, so your template is left exactly as it was.

Settings


On the same screen: where the bar goes, the search box to replace (a CSS selector, only if we pick the wrong one), the placeholder text and the accent colour. All of them are stored in the module's own table, never in a file, so nothing secret is ever committed.

Permission


The screen needs the asyntai-search permission, which the module creates. Superusers have it already.

Documentation


https://asyntai.com/documentation/processwire-ai-search/

More modules by Asyntai

  • Asyntai AI chatbot

    AI assistant / chatbot – Provides instant answers to your website visitors
  • Asyntai AI Search

    AI search bar for your site. Visitors describe what they want in their own words and it finds the page, in place of the search box your templates already show.

All modules by Asyntai

Install and use modules at your own risk. Always have a site and database backup before installing new modules.