[WordPress] 外掛分享: Geweb AI Search

首頁外掛目錄 › Geweb AI Search
WordPress 外掛 Geweb AI Search 的封面圖片
全新外掛
安裝啟用
尚無評分
19 天前
最後更新
問題解決
WordPress 6.0+ PHP 7.2+ v2.1.4 上架:2026-02-23

內容簡介

Geweb AI Search 將您的 WordPress 搜尋轉變為一個由 Google Gemini AI 驅動的智能助手,提供直接且具上下文的答案,並附上來源頁面的連結,提升使用者搜尋體驗。

【主要功能】
• AI 驅動的答案
• 對話歷史保持
• 來源引用連結
• 即時自動完成建議
• 自動索引文章
• 多種 AI 模型選擇

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.1.4) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Geweb AI Search」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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

The plugin converts your WordPress posts to Markdown format (with URL and title in frontmatter)
Each document is uploaded to a Google Gemini File Search Store
When a user submits a search query, Gemini searches the indexed documents and generates an answer
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

延伸相關外掛

文章
Filter
Apply Filters
Mastodon