🎉 Use coupon MYXERO to enjoy 20% recurring discount on any plan. View Pricing
Geweb AI Search
Geweb AI Search

Geweb AI Search

0/5 (0 ratings) — active installs Updated Mar 24, 2026
Screenshot 1

Live demo: https://aisearch.mygeweb.com/

Geweb AI Search transforms your WordPress search into an intelligent assistant powered by Google Gemini AI. Instead of returning a plain list of matching posts, it understands the user’s question and provides a direct, contextual answer — along with links to the source pages.

The plugin intercepts the standard WordPress search form and opens a modal with two modes: instant autocomplete suggestions (via WP_Query) and a full AI chat powered by Google Gemini File Search.

Key Features

  • AI-Powered Answers — Uses Google Gemini File Search to find relevant content and generate natural-language answers
  • Conversation History — Users can ask follow-up questions; the context is maintained across the session
  • Source Attribution — Every AI answer includes links to the pages it was based on
  • Instant Autocomplete — Traditional keyword search with live suggestions while typing
  • Automatic Indexing — Posts are automatically uploaded to Gemini when published or updated
  • Bulk Library Generation — Index all existing content with one click and a live progress indicator
  • Multiple AI Models — Choose between Gemini 2.5 Flash, 2.5 Pro, and Gemini 3 models
  • Multiple Post Types — Index any public post type: posts, pages, or custom post types
  • Secure API Key Storage — API key is encrypted with libsodium before being stored in the database

How It Works

  1. The plugin converts your WordPress posts to Markdown format (with URL and title in frontmatter)
  2. Each document is uploaded to a Google Gemini File Search Store
  3. When a user submits a search query, Gemini searches the indexed documents and generates an answer
  4. The answer is displayed in a chat modal along with source links

Third-Party Services

This plugin connects to the Google Gemini API to index your content and answer user queries.

  • API endpoint: https://generativelanguage.googleapis.com/
  • Terms of Service: https://ai.google.dev/gemini-api/terms
  • Privacy Policy: https://policies.google.com/privacy

Data sent to Google:

  • Your post content (title and body), converted to Markdown, is uploaded to Gemini for indexing
  • User search queries are sent to Gemini to generate answers

By using this plugin you agree to Google’s Terms of Service and Privacy Policy. You are responsible for the content you index.

Requirements

  • PHP 7.2 or higher (libsodium is bundled with PHP 7.2+)
  • WordPress 6.0 or higher
  • Google Gemini API key (free tier available at https://aistudio.google.com/app/apikey)

Customization

How do I customize the AI behavior?

You can modify the AI system instruction and available models:

// Customize AI system instruction
add_filter('geweb_aisearch_gemini_system_instruction', function($instruction) {
    return $instruction . "\nAlways respond in a friendly, conversational tone.";
});

// Limit available models in settings
add_filter('geweb_aisearch_gemini_models', function($models) {
    return ['gemini-2.5-flash', 'gemini-2.5-pro'];
});

Available filters:
* geweb_aisearch_gemini_system_instruction – Modify AI prompt/behavior
* geweb_aisearch_gemini_models – Customize available model list in settings

How do I translate the interface texts?

You can customize all search interface labels using filters in your theme’s functions.php:

// Customize search placeholder
add_filter('geweb_aisearch_search_placeholder', function($text) {
    return 'What would you like to know?';
});

// Customize "Ask AI" button text
add_filter('geweb_aisearch_ask_ai_button_text', function($text) {
    return 'Ask Pythia';
});

// Customize AI modal title
add_filter('geweb_aisearch_ai_modal_title', function($text) {
    return 'Oracle Pythia';
});

// Customize AI textarea placeholder
add_filter('geweb_aisearch_ai_textarea_placeholder', function($text) {
    return 'Write your detailed question to Pythia';
});

Available filters:
* geweb_aisearch_search_placeholder – Main search input placeholder
* geweb_aisearch_ask_ai_button_text – “Ask AI” button label
* geweb_aisearch_ai_modal_title – AI chat modal header
* geweb_aisearch_ai_textarea_placeholder – AI question textarea placeholder

Third-Party Libraries

This plugin bundles the following open-source library:

league/html-to-markdown
* Version: 5.x
* Author: The League of Extraordinary Packages
* License: MIT License
* Repository: https://github.com/thephpleague/html-to-markdown
* Purpose: Converts WordPress post HTML content to Markdown for AI indexing

Support

  • GitHub: https://github.com/mygeweb/geweb-ai-search