AI Engine

Description

Create your own chatbot, craft content and images, coordinate AI-related work using templates, enjoy swift title and excerpt recommendations, play with AI Copilot in the editor for faster work, track statistic and usage, and more! The AI Playground offers a range of AI tools, including translation, correction, SEO, suggestions, and others. There is also an internal API so other plugins can tap into its capabilities. We’ll be adding even more AI tools and features to the AI Engine based on your feedback.

It support a huge range of models via OpenAI, Anthropic, Google, OpenRouter, Replicate and Hugging Face. Ollama is also supported via an add-on. Of course, all the famous models are supported, such as GPT-4, GPT-4o, Claude, DALL-E, Flux, Gemini, and many more.

Please make sure you read the disclaimer. For more tutorial and information, check the official website: AI Engine. Thank you!

Features

  • Chatbot: Create a highly engaging, powerful, fun, and customizable chatbot. From customer support to home automation, the possibilities are endless. Go wild!
  • Generate: Create content better and faster. AI Engine helps you to brainstorm, write and optimize your content. It also helps you to create images.
  • Copilot: Boost your efficiency with the AI Copilot, seamlessly integrated into the editor. Simply hit ‘space’ for instant assistance, or use the wand buttons to execute various actions.
  • Translate: Break the language barriers. The “Translate” button instantly transforms your content into another language.
  • Playground: Your dynamic space for experimentation. Create custom templates to streamline your AI-driven workflows.
  • Finetuning: Tailor models to your specific requirements.
  • Internal APIs: Integrate AI seamlessly into your WordPress with the internal APIs, REST API, and versatile filters. The possibilities are virtually limitless! You can transform your WordPress into a powerful SaaS, an AI-driven game, a dystopian never-ending story, or whatever you can dream up.

🥰 Remember, any model can be used, included self-hosted LLMs.

And that’s just the beginning! The Free Version offers incredible value, but the Pro Version adds features such as advanced metrics, AI forms, embeddings, assistants, and more. Check the Pro Version.

Beyond the Features

Since AI Engine has its own internal APIs, this allows you and others to integrate AI features to your WordPress. It has been officially integrated with many plugins to enhance their functionality. Here are a few examples:

My Dream for AI

I am thrilled about the endless opportunities that AI brings. But, at the same time, I can’t help but hope for a world where AI is used for good, and not just to dominate the web with generated content. My dream is to see AI being utilized to enhance our productivity, empower new voices to be heard (because let’s be real, not everyone is a native speaker or may have challenges when it comes to writing), and help us save time on tedious tasks so we can spend more precious moments with our loved ones and the world around us.

I will always advocate this, and I hope you do too 💕

Disclaimer

AI Engine is a plugin that helps you to connect your websites to AI services. You need your own API keys and must follow the rules set by the AI service you choose. For OpenAI, check their Terms of Service and Privacy Policy. It is also important to check your usage on the OpenAI website for accurate information. Please do so with other services as well.

The developer of AI Engine and related parties are not responsible for any issues or losses caused by using the plugin or AI-generated content. You should talk to a legal expert and follow the laws and regulations of your country. AI Engine does only store data on your own server, and it is your responsibility to keep it safe. AI Engine’s full disclaimer is here.

Compatibility

Please be aware that there may be conflicts with certain caching or performance plugins, such as SiteGround Optimizer and Ninja Firewall. To prevent any issues, ensure that the AI Engine is excluded from these plugins.

Usage

  1. Create an account at OpenAI.
  2. Create an API key and insert in the plugin settings (Meow Apps -> AI Engine).
  3. Enjoy the features of AI Engine!
  4. … and always keep an eye on your OpenAI usage!

Screenshots

Reviews

Ọ̀wàrà 23, 2024
I like the free version, especially the chat function. The Pro version can be very interesting by content awareness and embeddings.
Ọ̀wàrà 15, 2024
I have been looking into ai engine and many other “ai” plugins for a few months now. The simplest solution is to use openai assistant. Chatgpt assistant is still in beta but if the instructions and data are good, it gives good answers.That’s why I buy the PRO version. Actually ai engine ports the openai interface to wp, that’s enough for me. I also noticed that other plugins are not updated as much as ai engine. While trying out assistants, I also tried Pinecone assistant but there is no plugin that can port it to wp. I hope ai engine will take this into consideration, it can be an alternative to openai assistant (very successful indeed) and I think a more affordable solution. Good job, congrats!
Ọ̀wàrà 14, 2024
I was looking for a tool that would do this:- Create an AI-based chat/copilot baed on my own (pdf) content- That would make it possible to scale up to support 20-30 copilots wit a growing ‘user’base- Based on OpenAII tried and tested various tools availabe, including paid versions. Most did not do what they promosed, and AI Engine seemed to offer it all. (For me)So after some addional testing I have chosen AI Engine.
Ọ̀wàrà 14, 2024 1 reply
Құпия кілт алу үшін өз телефон нөмірін бердім. Соған қарамастан, ешқандай тәуір қызмет көрмедім. Олар бірден қақсап тұр: “Сізге үлестірілген квота шегіне жетті”.
Ọ̀wàrà 13, 2024
It’s very interesting to be able to integrate the use of LLM into WordPress. This is one of the best options I’ve found, where the developer actually seems committed to keeping the plugin up-to-date.
Read all 644 reviews

Contributors & Developers

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

Contributors

“AI Engine” has been translated into 12 locales. Thank you to the translators for their contributions.

Translate “AI Engine” into your language.

Interested in development?

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

Changelog

2.6.3 (2024/10/13)

  • Add: Support for Assistants via Azure.
  • Fix: Site-wide chatbot was considered an override.
  • Fix: Fullscreen for chatbot should force the max-width and max-height.
  • Update: Gets the models via Replicate much faster.
  • Update: Set Replicate to use JPG.
  • Update: Architectural improvements for OpenAI Assistants.
  • 🎵 Discuss with others about AI Engine on the Discord.
  • 🌴 Keep us motivated with a little review here. Thank you!
  • 🥰 If you want to help us, we started a Patreon. Thank you!
  • 🚀 Click here to vote for the features you want the most.

2.6.2 (2024/09/18)

  • Add: Support for the new o1 models from OpenAI (preview and mini).
  • Fix: A few minor fixes for developers.

2.6.1 (2024/08/31)

  • Add: Vision for more Google models.
  • Add: Chatbot Block now supports params directly.
  • Add: Icon support in shortcuts.
  • Update: Max Tokens and Temperature are now unset by default. That avoids many little issues.
  • Fix: Better handling of the custom chatbot.
  • Fix: Random fixes and improvements.

2.6.0 (2024/08/28)

  • Add: For those with many chatbots! You can now pick a new way to display the chatbots in the admin, it can be either tabs (default), or a filterable dropdown.
  • Fix: Google Gemini was not working properly.
  • Fix: There was a fixed max length defined for messages.

2.5.9 (2024/08/24)

  • Fix: Avoid crashes while rendering odd markdown in the chatbot.
  • Update: Enhanced the core so that add-on like Ollama can be used with models such as the Llava model. You can now use Image Vision for free, it works amazingly!
  • Update: Fullscreen moved to Appareance.
  • Fix: Better handling of the resolutions handled by AI models; that avoids the crash many of you experienced in the Chatbots section.
  • Fix: Removed a few warnings and notices.
  • Add: AI Forms can be used with any text-to-image model (I know you want to use Flux!).
  • Add: gpt-4o can now be fine-tuned.

2.5.6 (2024/08/21)

  • Add: Support for Replicate. Play with Flux, it’s awesome! 🍀
  • Update: Better copilot. It now uses the whole post as the context for your copilot queries.
  • Add: The copilot can also create images. The actual prompt to create the image is generated through AI, by using the context of the post, and the instructions you provide.
  • Add: Logger in the DevTools.
  • Update: Better handling of the pricing related to images.
  • Update: The template system has been improved and redesigned a bit, so that it can be used in other parts of AI Engine or WordPress at a later point.
  • Update: Added middle-out transformer for OpenRouter.

2.5.5 (2024/08/05)

  • Add: More efficient and complete translation feature. Check the “Translate Post” button!
  • Fix: Avoid using emoji by default in the options related GDPR because it crashes on some installs.
  • Fix: Make sure the streaming temporary files are removed.
  • Update: Avoid the GDPR to be asked every time.
  • Update: Simplified parts of the code, removed potential warnings.

2.5.4 (2024/08/02)

  • Add: You can now manually enter the model you would like to use for finetuning.
  • Update: Finetuning features in AI Engine has been improved, like the way they are handled, displayed, calculated, etc.
  • Fix: Max Messages was missing in the custom shortcode.

2.5.3 (2024/08/01)

  • Fix: The prices were not calculated properly. This was entirely reviewed.
  • Fix: Avoid errors when context is provided without embeddings.
  • Fix: A much better experience when AI Engine is installed for the first time.
  • Update: Removed a lot of code and checks which became unnecessary.
  • Update: Added customId in the ai.reply filter.

2.5.2 (2024/07/29)

  • Add: New settings related to GDPR. The user will now have to accept conditions before using the chatbot.
  • Update: Retrieve content from remote vectors, if needed and if the local ones are not available.
  • Fix: Insert the System Message when a new entry is created in the Dataset Generator.
  • Fix: Avoid an issue with empty but existing argument with tools.
  • Fix: Issues related to buttons/shortcuts and their CSS.
  • Fix: Allow having AI Forms without inputs.
  • Fix: The Reset Limits issue.

2.5.1 (2024/07/25)

  • Add: Option to enable or disable the Virtual Keyboard Fix.
  • Update: Much better Default CSS for Custom Theme.
  • Fix: Issues related to the Virtual Keyboard Fix.
  • Fix: Force the log file to have the .log extension, to avoid security issues.
  • Fix: Shortcuts were not pushed by the server-side.
  • Fix: The expiration ‘Never’ was crashing when used with Assistants Upload.
  • Update: If DevTools is disabled, all the related debug options are disabled as well.

2.5.0 (2024/07/23)

  • Update: A better and enhanced copy button, that also now works in forms.
  • Update: Improved drag n’ drop for chatbot files.
  • Update: Forms now use the same CSS as chatbots (you can try Timeless with them).
  • Update: New unnecessary icon with Nyao, just for fun!
  • Fix: TTS functionality on Android.
  • Fix: Some features related to the Magic Wand were broken.
  • Fix: The chatbot tabs were a bit clunky.
  • Fix: Virtual keyboard hack for a better mobile experience.
  • Fix: Various CSS-related issues and additional mobile CSS fixes.

2.4.9 (2024/07/19)

  • Add: Support for GPT-4o mini.
  • Add: Support for HTML Blocks and Shortcuts (Quick Actions) via MwaiAPI in JS and PHP filters.
  • Fix: Better handling of documents, annotations and images created via the OpenAI Assistants.
  • Fix: Better CSS for the buttons and the scroll in the chatbot.
  • Fix: The MwaiAPI was registering the chatbots twice, and now works in the admin as well.
  • Fix: Input Max Length was not handled properly in the chatbot (UTF-8 related).

2.4.8 (2024/07/17)

  • Add: A first implementation of actions and blocks for the chatbot. Actions in JS are also handled. Please note that documentation will come later, this is for internal testing for now.
  • Update: The chatId is now returned by simpleChatbotQuery.
  • Update: Streamlined the naming of a few functions and filters related to the Statistics Module.
  • Fix: Minor fixes, such as the button in Timeless.
  • Fix: Three minor security issues (simpleVisionQuery SSRF, logs file as a PHP file, SQL injection via sort parameter). Those attacks could only be performed by, actually, an admin.

2.4.7 (2024/07/07)

  • Update: New system for the avatars used in the chatbot. You can set different avatars for the icon, the AI, the guest. Emoticons are also supported.
  • Update: Improved the Timeless theme.
  • Update: Improved the way the nonce is handled.
  • Update: Streamlined the way function calling works.
  • Update: Modified default avatars.
  • Update: The JS filter ai.reply now returns the chatId and botId as well.
  • Fix: Minor issues.

2.4.6 (2024/07/03)

  • Update: Anonymized file uploads.
  • Update: Enhancement on the Timeless Theme.
  • Update: Optimized the way the session is started.
  • Fix: Various issues related to avatars, user names, etc.
  • Fix: Other minor issues.

2.4.5 (2024/06/28)

  • Fix: Resolved the function calling issue with non-streamed assistants.
  • Add: Included vision for OpenRouter’s GPT-4o and Gemini-Flash.
  • Fix: Matched label IDs with inputs in AI Forms.
  • Update: Major refactoring of the chatbot codebase. This will allow for more flexibility and features in the future. It will be rolled out progressively. Let us know if you encounter any issues.

2.4.4 (2024/06/23)

  • Fix: Improve nonce handling to eliminate the ‘Cookie check failed’ error in the chatbot.

2.4.3 (2024/06/21)

  • Add: Claude-3.5 Sonnet (Anthropic).
  • Fix: Issues related to envId in AI environments.
  • Fix: Issues related to Anthropic + function calling + streaming.
  • Fix: Avoid the Selected Discussion to break the Discussions tab.
  • Fix: Minor fixes related to the Advisor.
  • Fix: The Discussion shortcode was not working properly with themes.
  • Fix: Issues related to embeddings sync, and how they are displayed in the admin.

2.4.0 (2024/06/15)

  • Update: The chatbot bundle size has been reduced.
  • Update: The CSS (and themes) used by the chatbot has been improved, simplified. It works better on mobile, it is more customizable, and the icons are handled via SVG sprites, for better performance and flexibility.
  • Update: Moved to a more dynamic way to handle the engines and models.
  • Update: Add-ons are now in a tab instead of a submenu
  • Update: Intense code cleanup and enhancements in how the options are handled.
  • Fix: There were a few issues related to Azure (streaming, in particular).
  • Fix: Chatbot rejects files (based on the settings) in a more logical way.
  • Fix: Removed issues related to URL building in the chatbot.
  • Add: Chatbot can now be displayed in a colored bubble.
  • Add: Chatbot’s icon message can now be delayed by x seconds.
  • Add: Page selector for Queries, Embeddings and Discussions.
  • Add: Released a new add-on for “Ollama”, a local LLM. More about it here.
  • 🚀 Please backup your website before making this update, as it includes a lot of changes.

2.3.8 (2024/06/08)

  • Add: The AI Engine Advisor! Once activated, this module will help you optimize your WordPress based on your plugins, your theme, and your server.
  • Add: Support for Add-ons. They will be developed by Meow Apps or third-party developers. The first one is called “Notifications”.
  • Add: OpenAI usage data is retrieved when streaming is used.
  • Fix: Improved browser-native speech recognition.
  • Update: Reduce the size of the bundles.

2.3.7 (2024/06/03)

  • Add: New chart in the dashboard. I hope you’ll like it!
  • Update: Longer conversation can now be kept in the DB.
  • Update: Sanitize Pinecone URL.
  • Update: Refreshed Neko UI.

2.3.6 (2024/05/29)

  • Update: Streamlined the way uploaded files are handled.
  • Add: Allow using Vision without the need of writing a query.
  • Fix: Handle better the way(s!) the links are displayed in the chatbot.
  • Update: Code cleanup and enhancements.

2.3.5 (2024/05/24)

  • Update: New icons and better upload states.
  • Add: Logs for developers.
  • Fix: CSS on mobile, Messages Theme, ChatGPT Theme.
  • Fix: Repetitive characters with speech recognition.
  • Update: Strengthened the shortcode component and included mandatory classes.

2.3.4 (2024/05/21)

  • Fix: The “current” issue in the dashboard.
  • Fix: The OpenAI errors received while streaming are now displayed in the chatbot.
  • Add: The Environment ID is now visible in the “Environments for AI”.

2.3.3 (2024/05/19)

  • Add: Support for Vision in Assistants v2.
  • Add: Support for Function Calls with OpenAI’s Assistants v2.
  • Add: Support for Functions Calls via Streaming with Anthropic.
  • Update: Enhanced the way uploads are handled and displayed in the chatbot.
  • Fix: Issue with finetuned models when used in chatbots.
  • Fix: Many little fixes that troubled some of you on Discord! 😬 I am always checking!

2.3.0 (2024/05/14)

  • Add: Support for GPT-4o (OpenAI).
  • Fix: Improved (and fixed) the finetuning process.
  • Update: Many enhancements and fixes in the code.

2.2.95 (2024/04/25)

  • Add: Support for File Search and Vector Stores with Assistants v2.
  • Fix: Create the default chatbot if it’s missing.
  • Fix: Unicode support for banned words.
  • Fix: Discussions do not need to be enabled for assistants to work.

2.2.94 (2024/04/25)

  • Add: Streaming with Assistants.
  • Update: Support for Assistants v2.
  • Fix: In some cases, ‘Rewrite Content’ was ignored.
  • Info: Please remember that the Assistants API is a beta feature of OpenAI. Expect changes, issues, etc.

2.2.92 (2024/04/21)

  • Add: ‘Chatbot’ column in the ‘Discussions’ table.
  • Add: Categories for Embeddings Auto-Sync.
  • Update: TextArea for Start Sentence.
  • Fix: Issue with the Forms REST API.
  • Fix: Keep the line returns in the ‘Instructions’.
  • Fix: When replying with Function Calling, keep the content and context of the messages.
  • Fix: Issue related to typing spaces within Gutenberg.
  • Fix: Avoid iframe to be executed in the Discussions tab.
  • Fix: And a few other minor issues.
  • Fix: Avoid issues with nonce.

2.2.81 (2024/04/17)

  • Fix: Issue with Content Aware. Besides {CONTENT}, it now also supports {TITLE}, {EXCERPT} and {URL}.
  • Add: New GPT-4 Turbo model (GPT-4 Turbo) which supports Vision, Function Calling, JSON.

2.2.70 (2024/04/15)

  • Add: Support for Function and Tools Calls with OpenAI and Claude, with back-and-forth feedback loop. Models can now get values to functions in you WordPress. The Pro Version of AI Engine also connects to Snippet Vault to make this much easier.
  • Update: The WooCommerce Assistant has been moved to SEO Engine. We shouldn’t bloat AI Engine with features related to SEO.
  • Fix: Copilot wasn’t working with the latest version of WP.
  • Fix: Arbitrary File Upload security issue.
  • Fix: Fixes and enhancements in the AI Forms.

2.2.63 (2024/03/25)

  • Add: The chatbot displays the uploaded images.
  • Update: More elegant refresh of the embeddings.
  • Update: If functions are added to query, but the models don’t support it, they will be removed rather than causing an error on the API side (an error will be logged).
  • Fix: Issues related to the arguments order in chat_submit.

2.2.62 (2024/03/19)

  • Update: Cleaner handling of tokens and prices.
  • Update: Enhanced the way mime types are handled, that fixes issues with Claude Vision.
  • Fix: There was an issue with Max Messages with Claude.

2.2.61 (2024/03/16)

  • Fix: Embeddings should be synchronized one by one when handled by WP-Cron.
  • Fix: Dimensions should not be used in the API when using Embeddings prior to v3 with OpenAI.
  • Info: Please check the previous changelog as the previous updates were quite important.

2.2.60 (2024/03/15)

  • Add: Support for the new Claude Haiku model from Anthropic.

2.2.57 (2024/03/14)

  • Note: Please backup your website before making this update.
  • Fix: Rewrite Content in Embeddings was not working properly.
  • Fix: Avoid weird error about the model not being the same when empty.
  • Fix: Improved the embeddings system upgrade process.
  • Update: Extra sanitization of the replies from OpenAI Assistants.
  • Add: Handle (multi) function calls with OpenAI assistants (via mwai_ai_function filter).
  • Add: Export Discussions to JSON.
  • Fix: Minor issues.

2.2.4 (2024/03/12)

  • Update: Huge overhaul of the embeddings system. It’s now much more powerful, flexible and reliable.

2.2.3 (2024/03/07)

  • Add: Support for Anthropic, its latest models of Claude with Vision.
  • Add: The chatId is now available in the Chatbot JS API.
  • Fix: Tokens with a zero as a string were not handled properly.
  • Fix: The wrong expiration option was used with generated images.
  • Fix: The Organization ID was not properly handled in some cases.
  • Fix: Banned words were not properly handled in some cases.
  • Fix: Audio to Text was not working properly.
  • Fix: Embeddings Auto-Sync was not triggered properly in some cases.

2.2.2 (2024/03/02)

  • Add: Support for Hugging Face.
  • Add: Automatically update the outdated embeddings in background.
  • Fix: A few lightweight security issues were handled.

2.2.0 (2024/02/24)

  • Add: Support for Google Gemini.
  • Add: Support for OpenAI’s Organization ID.
  • Fix: Avoid issues related to low limits related to embeddings searches.
  • Fix: A few other minor issues fixed.
  • Fix: Retrieve all assistants, without any limit.

2.1.9 (2024/02/08)

  • Fix: Resolved an issue with additional_instructions.
  • Add: Support for set_instructions in queries used by assistants.
  • Update: Reviewed and updated default parameters for embeddings search.

2.1.7 (2024/02/04)

  • Add: Enhanced embeddings handling, including fixes, automatic EnvID mismatch resolution, and support for new models.
  • Add: Implemented additional_instructions for contextual guidance in assistants and memory for default EnvID.
  • Fix: Corrected issues with image downloading from URLs and Local Download functionality.
  • Update: Streamlined embeddings environment with support for context and updates to models and vectors table.

2.1.6 (2024/01/20)

  • Update: Pinecone servers.
  • Update: Simple API was refactored to be more consistent, and to work with such services as Make.com.
  • Fix: Remove the mwai_files_cleanup event on uninstall.

2.1.5 (2024/01/14)

  • Fix: Avoid a few PHP notices and warnings.
  • Fix: Avoid a few security issues.
  • Add: Files for vision, DALL-E, Assistants (and others) are stored gracefully along with their metadata.
  • Add: Support for charts, images, or files generated by Assistants.
  • Add: Support for adding files to Assistants from the chatbot.