WordPress.org

Plugin Directory

S2B AI Assistant – ChatBot, ChatGPT, OpenAI, Content & Image Generator

S2B AI Assistant – ChatBot, ChatGPT, OpenAI, Content & Image Generator

Description

Develop your own AI chatbot, including content aware chatbot using OpenAI Assistant API, produce/modify content and pictures, and compose programming codes utilizing ChatGPT API. API gives access to Large Language Models. These models are developed to comprehend and reply to user inquiries in an organic, dialogue-based approach. They exceed the capabilities of regular chatbots, acting as smart conversational counterparts that can interact, educate, and aid your visitors instantly. These models can enhance the user’s experience on your site, whether it’s by delivering comprehensive responses to intricate inquiries or partaking in chats.
With this plugin, you can not only edit and generate code, but also perform various content manipulations using OpenAI ChatGPT . You can use plugin for generate images using Dall-E2 and Dall-E3 AI systems. One of the standout features is the ability to create a database of instructions, which you can easily refer back to whenever needed. Moreover, you have the flexibility to choose from a wide range of models available in the OpenAI ChatBot API, ensuring that your requests are tailored to your specific needs.
S2B AI Assistant is plugin for WordPress powered by any model you can choose from OpenAI API platform https://platform.openai.com/docs/models .
You can log conversations between AI chatbot and visitors of your website. This feature works for bots create by Assistant API only.

Features

  • AI powered chatbot
  • Content aware AI chatbot using Assistant API
  • Generate images
  • Conversation Logging. Plugin records and stores chat interactions between users and the chatbot (only for Assistant API)
  • You have the option to choose if the chatbot is only visible to registered visitors or not.
  • You can select position, size of chatbot’s window.
  • You have the option to customize the color and size of the elements within the chatbot window.
  • Correct any grammatical errors
  • Rewrite sentences
  • Summarizing
  • Finish the sentence
  • Improve your writing skills
  • Engaging questions
  • Answering All Inquiries
  • Create product descriptions
  • Intent Recognition
  • Code Understanding
  • Select any model you want from ChatGpt
  • Create a blog intro for your next article
  • Create blog outlines
  • Change the tone of your sentences
  • Create brand names, startup ideas and slogans
  • Generate a list of marketing ideas
  • Brand story
  • Create ad copy for Adwords and Facebook
  • Create landing page content
  • Change access to different functions of plugin for different user roles

How to use plugin

-Open account at OpenAI
-Go to /wp-admin/admin.php?page=s2baia_settings page of this plugin. In the ChatGPT tab fill your open AI key in the ‘Open AI Key:’ field. You can pick up it from page
-Switch to Models tab. Click on the ‘Refresh from OpenAI’ button. It updates models from OpenAI server. Select Models which you want to use. See Installation section for details.
-To get the chatbot operational, first go to Chatbot configuration page and select preferred options. Then simply insert the shortcode [s2baia_chatbot] into any page or post.

-To add content aware feature using OpenAI Assistant API you need to go to Chatbot page, then click on Assistant API and follows 3 steps:
1.Upload file that will be used as knowledge base by ChatGPT.
2.Create new Assistant by filling instruction and selecting model. For details see below in Content aware feature section below.
3.Select assistant as chatbot provider.
Additionally, you can read article about how to better configure content aware chatbot.

For image generation open Image page in /wp-admin side.

For using content feature please open any type of post edit page, that is selected in the S2B AI Assistant configuration page. Then scroll down to the S2B AI Assistant metabox. There, you can enter text into the ‘Text to be changed’ input field. After that, you can manually input your instructions. Alternatively, you can select any previously stored instructions in the database. Additionally, you can select other parameters such as the model, temperature, and maximum length of the request and response text. Finally, click the Send button. If everything goes well, you will receive a response in the Result textarea.

For those who have deeper knowledge on how to use ChatGPT we provide ‘Expert’ tab.

For additional information regarding prompts see this page

Users access

It is possible to configure access to different parts of plugin. If you are admin then you can select which user roles have access to such functional parts: meta-boxes, plugin’s configuration page and access to delete instructions stored in the database.
You can also select which user role has access to the image generation feature. To do this, you need to select a user role from the middle select box in the ‘User Roles’ panel. It’s worth noting that even though the role selected in the middle box will have access to image generation, it does not guarantee that this role will have permission to write the generated images to the Media Library. For more details, please check page

Open AI

The S2B AI Assistant makes use of the API provided by [OpenAI](https://openai.com/blog/openai-api or https://platform.openai.com/docs/api-reference). This plugin does not collect any data from your OpenAI account apart from the number of tokens used. The information sent to the OpenAI servers mainly includes the content of your article and the specified context. The usage information displayed in the add-on’s settings is only for your reference. To obtain accurate information about your usage, it is important to check it on the OpenAI website. Additionally, please make sure to review their Privacy Policy and Terms of Service for more details.

Disclaimer

The S2B AI Assistant is a plugin that allows users to integrate their websites with AI services such as OpenAI’s ChatGPT. In order to use this plugin, users must have their own API key and adhere to the guidelines provided by the chosen AI service. When utilizing the S2B AI Assistant, users are required to monitor and oversee the content produced by the AI, as well as handle any potential issues or misuse. The developer of the S2B AI Assistant and other related parties cannot be held responsible for any problems or losses that may arise from the usage of the plugin or the content generated by the AI. Users are advised to consult with a legal expert and comply with the applicable laws in their jurisdiction.

Screenshots

  • General settings of the plugin.
  • Models settings
  • Instructions settings
  • Edit/Generate content in post/page metabox of edit screen
  • Expert tab allows to to customize request to Chat complection API
  • Chatbot minimized window
  • Chat bot maximized window

Installation

Quick setup:

-Open account at OpenAI
-Go to /wp-admin/admin.php?page=s2baia_settings page of this plugin. In the ChatGPT tab fill your open AI key in the ‘Open AI Key:’ field. You can pick up it from api keys page
-Switch to Models tab. Click on the ‘Refresh from OpenAI’ button. It updates models from OpenAI server. Select Models which you want to display on the Edit & Extend and/or on Expert tabs of metabox. After this click ‘Save’ button. Now you can use S2B AI Assistant plugin as metabox that is displayed at post, page or any other post type edit page.
-To get the chatbot operational, simply insert the shortcode [s2baia_chatbot] into any page or post.
-To add content aware feature using OpenAI Assistant API you need to go to Chatbot page, then click on Assistant API and follows 3 steps:
1.Upload file that will be used as knowledge base by ChatGPT.
2.Create new Assistant by filling instruction and selecting model. For details see below in Content aware feature section below.
3.Select assistant as chatbot provider.

Detailed setup and configuration:

General configuration.

  1. Go to /wp-admin/admin.php?page=s2baia_settings. In the ChatGPT tab fill your open AI key in the ‘Open AI Key:’ . You can generate API key on this page: https://platform.openai.com/account/api-keys
  2. You can fill other fields on this tab or leave them by default.
  3. By default plugin displays AI metabox on post and page edit pages. If you want to display this metabox in the edit pages under other post types then select them on the ‘Post Types’ section.

Chat GPT Models configuration.

4.Switch to Models tab. Click on the ‘Refresh from OpenAI’ button. It updates models from OpenAI server.
5.Select Models which you want to display and finally click ‘Save’ button. If you check ‘edit’ box then model will be displayed at the ‘Correct & Extend’ tab of text edit metabox. But if you check ‘expert’ box then model will bedisplayed on the ‘Expert’ tab of the metabox. Remember that not all models are chat completion ones. That means you can get error response like this one ‘This is not a chat model and thus not supported in the v1/chat/completions endpoint. Did you mean to use v1/completions?’ when you try to use them. As of today’s date (September 2023) we recommend to select gpt-3.5-turbo, gpt-3.5-turbo-16k-0613, gpt-4. You can play with selection and deselection models to find best that fit to your needs.
For more information about selecting models read

AI Chatbot setup.

Open Chatbot menu page in wp-admin. You can see two tabs:
General and Styles. There You can customize chatbot’s behavior, appearance and view. In particular you can select ChatBot position, ChatBot size, model, colors of chatbot’s elements etc.
To make the chatbot work, you just need to add the shortcode [s2baia_chatbot] to the content of any page or post.
Notice! Chatbot view parameters like position, size, colors are affected by caching. When you found that you have changed chatbot parameters, but view has not changed then try to clear cache then reload page.

Content aware feature for AI chatbot.

OpenAI introduced new Assistant API which allows it automatically to parse and chunk uploaded documents, to create and to store the embeddings, and use both vector and keyword search to retrieve relevant content to answer user queries. We implemented File Search API feature in our pugin. Before using this on your website, you should remember some important tips:
1.It is Beta feature and not yet tested carefully. Thus it can cause unpredicted behavior. Therefore, we cannot guarantee the chatbot’s responses.
2.OpenAI charges additionally besides used conversational tokens. At the moment of release version 1.4.1 of this plugin it costs $0.10 / GB of vector-storage per day (1 GB free) + used tokens during conversation. Please observe to be informed about pricing updates.
3.The effectiveness and accuracy of the bot’s responses depends on the system instructions provided and the models used in the prompts. For detailed information please read article
To setup content aware chatbot using Assistant API you need to open page Chatbot and select Tab “Assistant API”. After you need to perform 3 steps:
1.Upload file that will be used as knowledge base by ChatGPT.
2.Create new Assistant by filling instruction and selecting model.
3.Select assistant as chatbot provider.

Instruction setup.

Create an account at OpenAI

Create OpenAI secret key

Insert secret key into ‘Open AI Key’ field on configuration page of the S2B AI assistant plugin.

Select page types you want to display metabox of the S2B AI assistant plugin at the configuration page.
Select models you want to use in the S2B AI assistant plugin.
The S2B AI assistant plugin enables you to create and manage instructions for ChatGPT. You can store these instructions in a database and use them in your requests. To access the instructions, simply switch to the “Instructions” tab. From there, you can add, edit, delete, enable, or disable instructions. Additionally, you can search for specific instructions by entering text in the “Search Instructions” input box.
For additional instructions and ideas, please visit our page or OpenAI best practice page

Post types setup.

The S2B AI Assistant plugin is accessible by default in the metabox displayed beneath the edit area for two post and page types. However, if desired, you have the option to enable it on other post types’ edit pages. To do so, navigate to the General setup tab and select the desired post types.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“S2B AI Assistant – ChatBot, ChatGPT, OpenAI, Content & Image Generator” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.5.1

  • Conversation Logging feature added (for Assistant API)

1.4.2

  • Fix configuration

1.4.1

  • Added content aware AI chatbot using Assistant API

1.3.3

  • Small fixes

1.3.2

  • Small fixes

1.3.1

  • Added AI chatbot feature= 1.2.2 =
  • Adding fixes

1.2.1

  • Image generation feature added

1.1.2

  • Security fixes

1.1.1

  • Add feature that allows to change access to different parts and functions of plugin.

1.0.1

  • Some ui improvement.

1.0.0

  • Launch!