S2B AI Assistant

plugin banner

AI power for WordPress. You can edit, generate texts, write programming codes using GPT. Plugin allows to create a database of instructions, which you …

Author:Oleh Chorn... (profile at wordpress.org)
WordPress version required:5.6
WordPress version tested:6.7.1
Plugin version:1.6.6
Added to WordPress repository:03-01-2024
Last updated:03-01-2025
Rating, %:100
Rated by:1
Plugin URI:
Total downloads:2 100
Active installs:10+
plugin download
Click to start download

Develop multiple AI chatbots with different styles and behaviors on different pages of your website, including using content-aware functionality OpenAI Assistant API and RAG. You can personalize the appearance of the chatbot: colors, styles, text; Personalize its position on the screen, window size, chatbot behavior by choosing: model, instruction, temperature, tokens, etc. You have the option to choose whether the chatbot will be visible only to registered visitors or not. The plugin allows you to update models directly from OpenAI and independently choose the model to use. You can record and save chat conversations between users and the chatbot. Additionally, it allows you to create/modify content and images as well as generate code using the ChatGPT API. The API provides access to large language models.
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 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.

Features

  • AI powered chatbot
  • Multiple different chatbots with different style and behavior for different website pages
  • Content aware AI chatbot using Assistant API, better use gpt-4-turbo-preview, gpt-4
  • Content aware AI chatbot using RAG via embedding content
  • Conversation Logging. Recording and saving chat interactions between users and the chatbot
  • Personalize the appearance of the chatbot: colors, styles, text
  • Personalize view of chatbot using custom css (additional feature for each chatbot)
  • Personalize behavior of the chatbot: model, instruction, temperature, tokens, etc.
  • O1 series model support: o1-mini, o1-preview.
  • Option to choose if the chatbot is only visible to registered visitors or not
  • Is possible to select position, size of chatbot’s window
  • Dynamic update of models directly from OpenAI
  • Select any model which to use in plugin
  • Plugin can generate images
  • 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

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.5.8 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

Additionally you can create many assistants manually in the Assistants OpenAI dashboard and link them to our plugin. For this you need to go to Assistants OpenAI dashboard and create assistants there. Then copy ID of created assistant. After that, you need to create a new assistant in the plugin Assistants tab.Finally, paste the ID in the Assistant ID field.

Alternatively you can use Completion API to create content aware chatbot along with RAG by embedding website content.

Starting from version 1.6.4 we added Retrieval-augmented generation (RAG) support to chatbot. So you can use external vector database API and use it in pair with Embedding API and with Chat Completion API endpoint to build content aware chatbot. With the right configuration you can have such powerful chatbot like Assistants but with cheaper price. How RAG feature works? Plugin allows to upload content of selected posts or pages from your website into external vector database using their API and generate search database. This vector database is able to do semantic search inside uploaded content. You can attach vector database to chatbot. When visitors ask questions, this chatbot sends a query to the vector database instead of sending it directly to ChatGPT. The vector database returns content that matches the user’s query back to your site. The content found by the vector database is then sent to ChatGPT along with the user’s query. If the vector database does not find any information that is related to the user’s request, you have the option to stop sending the request to ChatGPT and return a message informing the client about the missing content. This way, you can achieve 2 goals:
1. Limit sending any requests to ChatGPT that are not related to website content.
2. Only send ChatGPT content from your website that is relevant to the user’s request. This allows you to reduce the cost of using the Chat Completion API.

For more details of how RAG works see this article. Also you can read this page to get idea on how plugin’s RAG feature works.

How to use plugin

-Open account at OpenAI and get API key
-Go to Settings page YOUR_WEBSITE_URL/wp-admin/admin.php?page=s2baia_settings page of this plugin. Paste API key in the ‘Open AI Key:’ field of the ChatGPT tab.
-Switch to Models tab. Click on the ‘Refresh from OpenAI’ button. It updates models from OpenAI server. Select Models which you want to use. Select the Edit checkbox for models that will be used with chatbots and text manipulation. Select the Expert checkbox for models to be used in the Expert playground. Finally click the Save button. Now you can now the S2B AI Assistant plugin.
-You can create many chatbots on the Chatbot page YOUR_WEBSITE_URL/wp-admin/admin.php?page=s2baia_chatbot page of this plugin.
-To get the chatbot operational, insert the shortcode in one of the following formats [s2baia_chatbot], [s2baia_chatbot bot_id=automatically_generated_hashcode] (where automatic_generated_hashcode is the chatbot hashcode that is automatically assigned when the chatbot is created) or [s2baia_chatbot bot_id=assistant] into any page or post. First format allows to exploit chatbot that uses Chat Completion API. This is default chatbot type. The second format allows for both types of chatbots using the Chat Completion API and the Assistant API. Third format of shortcode allows to use the automatically generated AI Assistant directly from our plugin. You can use all 3 types of chatbots on different pages or posts. You can create as many different chatbots as you like with the format [s2baia_chatbot bot_id=automatically_generated_hashcode]. You can also place a chatbot with the same shortcode on different pages and/or posts.

-To create a content-aware chatbot using OpenAI Assistant API you have two options. First option is to generate AI Assistnt directly from our plugin. For doing this you need to click on Assistant API tab 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 article.
3.Add shortcode [s2baia_chatbot bot_id=”assistant”] to any page you want
Additionally, you can read article about how to better configure content aware chatbot.

The second option to create an AI Assistant is to do it through the OpenI Assistants page and then link to our plugin. Read this article for more details.

-For image generation open Image page in /wp-admin side. There you can generate images, using Dall-e-2 or Dall-e-3 models and store them into Media library.

-For using content feature please open any type of post edition 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. Additionally, you can select any previously saved instructions in the database. Also 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 with more in-depth knowledge of using ChatGPT, we offer the Expert tab.

For additional information regarding prompts see this page

Chatbot view modifications

Besides of styling chatbot in configuration pages you also can use some predefined views or view modifications. In version 1.6.1 we introduce modalless view which allows you to put chatbot as part of web page without showing modal window. To use this function you can add shortcode [s2baia_chatbot bot_id=BOT_HASH_CODE view=embedded] where BOT_HASH_CODE is hashcode generated automatically when you create new Assistant or Chat Bot. This hash code is displayed in hash column of table with chat bot or assistants list. Also it is possible to use such simple form of shortcode [s2baia_chatbot view=embedded] In such case plugin displays default chat bot as modalles in the web page. You can also use the same chatbot with different views as modal or modalles in other webpages. When you want to use chat bot without modal then make sure that you selected pixels as units of measurement for chatbot height in the bot configuration!
We also introduced view_mode attribute in shortcode. When you add such shortcode [s2baia_chatbot bot_id=BOT_HASH_CODE view_mode=fullscreen1 ] then chat bot will be displayed in full screen immediately after page loads. If you want to hide close button for full screen chat bot then you need to use hideclose=1 attribute. For ecxample [s2baia_chatbot bot_id=BOT_HASH_CODE view_mode=fullscreen1 hideclose=1]

Apply custom CSS rules to any chatbot

In version 1.6.3, we added the “Deep Customization” feature. This allows you to create a unique view for each chatbot using custom css rules. To do this, you need to find the ‘Deep customization’ section on the “Chatbots” or “Assistants” tabs, add the unique html id of the closed and opened chatbot. You can then add CSS rules to each closed and open view of any chatbot. Separate css rules can be applied to different chatbots.

Users access

It is possible to configure user access to different parts of plugin. If you are admin then you can select which user roles have access to next functional parts: meta-boxes, plugin’s configuration page, access to delete instructions and access to configure chatbot.
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 is worth noting that even if the role selected in the middle field has access to create images, this does not guarantee that this role will have permission to write created images to the Media Library. For more details, please check page
As an administrator, you can also select user roles that can configure chatbots. Also, when creating chatbots, you can choose whether they will be available to unregistered visitors or only to registered ones.

Open AI

The S2B AI Assistant makes use of the API provided by [OpenAI](https://openai.com/blog/openai-api or [Reference]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 and Pinecone vector database https://www.pinecone.io/ . 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 plugin 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. OpenAI, ChatGPT, and related marks are registered trademarks of OpenAI. Author of this plugin is not a partner of, endorsed by, or sponsored by OpenAI or sponsored by Pinecone Systems, Inc.


Screenshots
FAQ
ChangeLog