
AI Search Bar
by Vimal Kava on WordPress.org
Add a ChatGPT-style AI search bar via shortcode. Responds to prompts using OpenAI’s API (does not search site content).

The AI Search Bar plugin allows you to embed a ChatGPT-like search box into your website using a simple shortcode. When users type a prompt into the search bar, it communicates directly with OpenAI’s API to generate a response—just like ChatGPT.
⚠️ Important: This plugin does not search or display your website’s internal content. It is strictly used to allow ChatGPT-style prompt-based interaction via OpenAI’s service.
We use trusted third-party services to generate responses:
🔗 https://api.openai.com/v1/chat/completions
Key Features
- Embed a ChatGPT-style search bar using
[ai_search_bar]
- Uses OpenAI’s GPT model to answer prompts
- Works like ChatGPT—answers based on user input, not website content
- Easy to set up with no coding required
- Clean, lightweight, and fast
Install via WordPress Dashboard
- Log in to your WordPress admin area.
- Navigate to Plugins Add New.
- Search for “OpenAI : AI Search Bar“.
- Click Install Now, then Activate the plugin.
Install via FTP
- Download the
openai-search-bar.zip
file. - Extract the ZIP file on your computer.
- Upload the extracted folder to
/wp-content/plugins/
using FTP. - Go to Plugins in your WordPress dashboard and click Activate.
How to Use
- Go to the plugin settings page from the WordPress admin menu.
- Enter your OpenAI API key.
- Use the shortcode
[ai_search_bar]
in any post, page, or widget to display the search bar.
Support
If you require assistance, contact us at: kavavimal@gmail.com or info@infinitysoftech.co