AI Engine also allows you to override the default WordPress search with an AI-powered search based on keywords or embeddings.
The default WordPress search can be limited, especially if your posts are not properly indexed, tagged, or optimized, which can lead to missed results.
With AI Engine, you can use the same RAG mechanism as the chatbot does with your content via embeddings. Alternatively, if you don’t use embeddings, you can rely on AI-powered keyword search to surface relevant posts that might not appear with traditional search methods.
To get started, go to the Modules tab and enable Search (in the Frontend Extras section).

This will add a new tab called “Search”. There, you can select which type of search you want to use and test them directly inside the plugin.
Simply choose your preferred option in the “Search Method” section.

Depending on the method you choose, you may need to configure additional settings in the Settings section just below. Make sure to review and complete those as well.
Each method also includes a description to help you understand what it does.

Finally, you can simply click “Search” to try the selected method.

If you want to try another method, you can use the corresponding button under the search options.
You can also use “Multi Method” to compare results across different approaches before choosing the one that works best for you.
This way, you don’t need to create your own AI-powered widget or rely on a specific AI Engine shortcode to build a search bar. You can keep using your existing setup, and the search process (as long as you’re using the default WordPress search and not a third-party solution like Elastic) will automatically become AI-powered.
Good to know
- The Embeddings method returns any content you synced into your Knowledge environment: posts, pages, products and other custom post types.
- The AI Keywords method searches your posts.
- Each AI search costs a call to your AI provider, so AI Engine protects you a bit: searches made by bots and crawlers, and junk searches (one letter, a URL, very long text), get the regular WordPress search instead. And the same search is only paid for once a day, since its results are kept for 24 hours.