=== Open AI Search Bar === Contributors: vimakava Tags: ChatGPT, AI Search Bar, AI, GPT, Chat Requires at least: 5.7 Tested up to: 7.0 Requires PHP: 7.4 Stable tag: 2.2 License: GPL-3.0-or-later License URI: https://www.gnu.org/licenses/gpl-3.0.html Add a ChatGPT-style AI search bar via shortcode. Responds to prompts using OpenAI’s API (does not search site content). == 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 == Installation == === 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. == Frequently Asked Questions == = 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 == Changelog == = Version 2.2 = * Improved: Enhanced response formatting for better readability. * Updated: Refined prompt handling to provide more accurate ChatGPT-like replies. * Updated: Compatible with the latest version of WordPress. * Fixed: Minor styling issues on some WordPress themes. = 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. == Support == If you require assistance, contact us at: kavavimal@gmail.com