AI Search Bar

Description

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

  1. Log in to your WordPress admin area.
  2. Navigate to Plugins Add New.
  3. Search for “OpenAI : AI Search Bar“.
  4. Click Install Now, then Activate the plugin.

Install via FTP

  1. Download the openai-search-bar.zip file.
  2. Extract the ZIP file on your computer.
  3. Upload the extracted folder to /wp-content/plugins/ using FTP.
  4. Go to Plugins in your WordPress dashboard and click Activate.

How to Use

  1. Go to the plugin settings page from the WordPress admin menu.
  2. Enter your OpenAI API key.
  3. 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

Screenshots

FAQ

Does this plugin search my WordPress website content?

No. The AI Search Bar plugin does not search or display your website’s internal content. It interacts with OpenAI’s API to generate answers based on the user’s prompt—similar to ChatGPT.

Is an OpenAI API key required?

Yes. You must enter your OpenAI API key in the plugin settings for the search bar to function correctly. You can get your API key from https://platform.openai.com/account/api-keys

How do I display the AI Search Bar on my site?

Use the shortcode [ai_search_bar] in any post, page, or widget where shortcodes are supported.

Can I customize the appearance of the search bar?

Yes. The plugin comes with default styling, but you can customize it using custom CSS or by overriding the plugin’s CSS in your theme.

Will this plugin impact my site speed?

No. The plugin is lightweight and does not load any large libraries. Responses are fetched asynchronously from OpenAI, so your site speed remains unaffected.

Is the plugin compatible with all WordPress themes?

Yes, the plugin is designed to be compatible with all modern WordPress themes. If you encounter any styling issues, you can adjust the appearance with custom CSS.

Is this plugin free to use?

The plugin itself is free, but usage of OpenAI’s API is paid and subject to their pricing at https://openai.com/pricing

Reviews

July 29, 2024
First, you can only use this if you have free credits, or purchase credits, with OpenAI. Just an FYI for anyone looking for a free solution – this won’t be it. Second, it absolutely is not a site search. It just inserts a text box that allows you to chat with OpenAI. I’m sure there’s a place for this, but if you’re looking for a site search, you’ll be just as disappointed as me. I’m leaving one more star than it probably deserves because hey, at least y’all made a shortcode that inserts an OpenAI chatbot. It just doesn’t do what you said it would do.
April 18, 2024 2 replies
This is not an AI Search Bar. It is simply an OpenAI prompt on the website that has nothing to do with your own website. Do not use it at all with this plugin.
August 5, 2023 2 replies
Useful for searching OpenAI only. Not intended as a site search for your own website. Works great to search OpenAI.
Read all 4 reviews

Contributors & Developers

“AI Search Bar” is open source software. The following people have contributed to this plugin.

Contributors

Translate “AI Search Bar” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

Version 2.1

  • Improved: Enhanced response formatting for better readability.
  • Updated: Refined prompt handling to provide more accurate ChatGPT-like replies.
  • Fixed: Minor styling issues on some WordPress themes.

Version 1.3

  • Updated: Compatible with the latest version of WordPress.

Version 1.2

  • Fixed: Improved search prompt behavior.

Version 1.1

  • Fixed: Page refresh issue resolved.

Version 1.0

  • Initial release.