=== AI App Onsite ===
Contributors: aiapponsite
Tags: ai, gpt, ai-app, app-builder, form-builder
Requires at least: 4.7
Tested up to: 6.7.1
Stable tag: 1.2.8
Requires PHP: 7.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Add AI-powered apps to any site in minutes. Forget OpenAI “GPTs” or Claude “Projects”. The power of AI is now in your hands (and on your website)!

== Description ==

AI App Onsite enables you to add AI-powered applications to any page on your WordPress site quickly and easily. With no coding required, you can create and customize form-based AI apps with full control over fields, layout, styling, and functionality—all from within the WordPress back-end! AND you can do all this for FREE using your own API key. Learn more at [**AIappOnsite**](https://aiapponsite.com/). 

**Get Started Fast With AIappOnsite**
Installing and setting up the AIappOnstie basic version is quick, easy and free (forever). You can build useful and engaging AI apps using just your API key and some imagination. OR you can benefit from more powerful features by upgrading to a premium plan.
**Need More Support (or DFY Service)?**
We have a team of smart and creative rapid responders ready to provide you excellent support, whether you hit a snag or just have some simple questions. We can also help you build your AI app, from consultation and design to implementation and deployment. We are here to help!
[TUTORIAL VIDEO]

**Features:**

🚀 **Add App To Any Page On Your Site (And Promote To Your Audience)**: Leverage all the power and capabilities of the latest AI foundation model API options to create any kind of app. *If you can imagine it you can build it.*
🚀 **Build Your App Inside WordPress (In 6 Simple Steps)**:You can build your AI app from start to finish using an easy 6 step process, right in the WordPress backend. No other server-side dependencies and everything runs on your site.
🚀 **You Control Fields, Layout & Styling**: Make the look and feel of your app match the style of your site and provide a powerful user experience tailored to your visitor needs. *Great UX means more conversions and usage.*
🚀 **Customize AI Inputs, Prompts & Functionality**: AIappOnsite offers site owners full control over their app's use and purpose including data inputs and AI prompts, as well as model and parameter settings. This gives total control over app functionality. *If AI can do it, your app can do it.*
🚀 **Using Your API Key Means Lower Cost**: Get excellent value and low operational cost with a simple ‘bring your own key’ system. No paid credits or confusing tiers. Great, full-featured free plan and a simple flat rate premium package.

=== Some Major Benefits of Using AIappOnsite ===

🔥 **Create Powerful Lead Magnets**: Your AI-powered app drives new site visitors and offers personalized replies, setting you apart competitors. *Users get real time, custom feedback and answers to their specific inputs; no waiting or 'check your inbox'.*
📈 **Dramatically Grow Conversions**: Turn more of those site visitors into engaged prospects and increase customer data collection. *Your AI app can capture more and far better user data than a typical email/contact form.*
🕘  **Massively Increase Engagement**: Dynamic, interactive app experiences are WAY more engaging than traditional static forms or blog content. *We've see massive improvements -- as much as triple-digit increases -- in visitor dwell time.*
🔗  **Promote Unique Link Magnets**: Building and promoting a unique, business-relevant AI app distinguishes you in your industry or niche, and can become a powerful link magnet or centerpiece of a PR or link-building campaign.*

== Installation ==

1. Download the plugin files and upload them to the `/wp-content/plugins/ai-app-onsite` directory.
2. In the WordPress admin panel, go to **Plugins** > **Installed Plugins** and click **Activate** next to "AI App Onsite."
3. Configure your settings by navigating to **AI App Onsite** in the WordPress admin sidebar.

== Frequently Asked Questions ==

= How do I set up my first AI app using AI App Onsite? =

After activating the plugin, go to the **AI App Onsite** menu in the WordPress dashboard and follow the six-step process to create your app.

= Can I customize the AI prompts and model settings? =

Yes, AI App Onsite allows full customization of AI prompts, model parameters, and field settings to align with your specific use case and audience.

= Do I need an API key to use this plugin? =

Yes, we don't like opaque and expensive credit systems. So, AI App Onsite lets you to bring your own AI model API key. This gives you full visibility of usage and lets you stay in control of costs.

== Screenshots ==

1. **Plugin Settings Screen** - Configure basic settings for your app (AIappOnsite-PluginSettings.png).
2. **Model Settings Screen** - Select and configure the AI model for your app (AIappOnsite-ModelSettings.png).
3. **Field Selector** - Set up app fields and properties for visitor interactions (AIappOnsite-FieldSelector.png).
4. **Prompt Editor** - Enter and refine the AI prompt for your app (AIappOnsite-PromptEditor.png).

== Changelog ==

= 1.0.0 =
* Initial release.

= 1.2.0 =
* First release of AI App Onsite, offering AI-powered app creation and customization within WordPress.

= 1.2.3 =
* Premium features added, including advanced model settings and field customization options.

= 1.2.4 =
* Bug Fixes and performance improvements. Plugin Urgent Update: Resolved a critical issue regarding access key validation.

= 1.2.4.2 =
* Fixed bugs affecting app preview rendering and live app behavior.
* Improved database handler consistency for better reliability.

= 1.2.4.3 =
* Resolved an issue where plugin activation failed due to $wpdb being undefined inside a schema update closure.

= 1.2.5 =
* Improved UI for Terms & Conditions acceptance. 
* New prompt editor with better UX.   
* Fixed Bug affecting token counter in prompt editor.
* Post Response Message UI added to app details.

= 1.2.6 =
* Added Webhook Support.
* Added Ability to Define Anchor Text and Embed Links in AI Results Output.
* Improved UI for App Settings & App Details.
* Added User Stats Capture, Retention and Reporting Features.
* Added 'Download PDF' Feature to Output/Results Page.
* Added OpenAI Model Support List.
* Added Local Logging of Useful Info (version change for troubleshooting).
* Added AI Output to user email.
* Fixed Prompt Formatting.
* Bug Fixes & performance improvements.

= 1.2.7 =
* UI Improvements.
* Bug Fixes & performance improvements.
* Improved App Response Window Style.

= 1.2.8 =
* Improvements and fixes as per Sprint 7 scope
* Subsequent app creations no longer require repeated API key validation
* Added gradient style option for app background customization
* Enabled export of app templates for cross-site usage
* Introduced "Today" filter in User Stats dropdown
* Optimized PDF export template (layout and structure improvements)
* Fixed field selector widget reorder flow for better UX consistency
* Added reference content module to expose LLM to website data (RAG support)
* Implemented auto-save on app selection

== Upgrade Notice ==



== External Services ==

This plugin connects to your choice of external AI model API for generating AI-powered responses. You configure which user inputs will be included with your prompt (and any additional contextual data), and it is sent to the external API followed by the response content which is displayed on the web page for user consumption.
This AI foundation models currently supported include:
"OpenAI": [Terms of Service](https://openai.com/policies/terms-of-use), [Privacy Policy](https://openai.com/policies/privacy-policy).
