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
- 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
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
Contributors & Developers
“AI Search Bar” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “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.