Develop multiple AI chatbots with different styles and behaviors on different pages of your website, including using content-aware functionality
OpenAI Assistant API. You can record and save chat conversations between users and the chatbot. 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. 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
- 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.
- 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
Quick setup:
-Open account at
OpenAI and get API key
-Go to /wp-admin/admin.php?page=s2baia_settings page of this plugin. Input copied API key in the 'Open AI Key:' field of the ChatGPT tab. You can copy API key on
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 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. You can now use the S2B AI Assistant plugin.
-You can customize the position, appearance, behavior of the chatbot on the ChatBot configuration page /wp-admin/admin.php?page=s2baia_chatbot. On this page, you can create many chatbots that differ in their appearance, position and behavior.
-To get the chatbot operational, simply insert the shortcode [s2baia_chatbot] to any post or page
-If you want to use different chatbots on different pages, add a shortcode in the format [s2baia_chatbot bot_id=generated_hashcode] to 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.Add shortcode [s2baia_chatbot bot_id=assistant] to any page, to display Assistant. We tested this feature with different models and found that the best result are when using gpt-4-turbo-preview, gpt-4 and gpt-4-turbo models. Please read
this and
this articles for detailed information.
-Additionally you can create many Assistants inside OpenAI Assistant dashboard and link them with our plugin. Read this
article on how to do it.
Detailed setup and configuration:
Initial configuration.
- Go to Settings page /wp-admin/admin.php?page=s2baia_settings. In the ChatGPT tab fill your API key in the 'Open AI Key:' . You can generate API key on this page: https://platform.openai.com/account/api-keys
- You can fill other fields on this tab or leave them by default.
Chat GPT Models configuration.
3.Switch to Models tab. Click on the 'Refresh from OpenAI' button. It updates models from OpenAI server.
4.Select Models which you want to use in different functions of our plugin. Finally click 'Save' button. 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. Remember that not all models are suitable for chatbots and word processing. 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 (July 2024) we recommend to select gpt-3.5-turbo, gpt-3.5-turbo-16k-0613, gpt-4 versions, gpt-4-turbo-preview and gpt-4-turbo versions. 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 such tabs:
General, Styles, Chatbots,Assitant API, Assistants, Logs and Support. On General, Styles You can customize default behavior, appearance and view of chatbots. In particular you can select ChatBot position, ChatBot size, model, colors of chatbot's elements etc.
If you want to use different chatbots on different pages then create bot in Chatbots tab and then put shortcode in format [s2baia_chatbot bot_id=automatically_generated_hashcode] into any page or post. In addition, the plugin allows you to create AI Assistants using the
Assistants API. You can create Assistants in Assistant API and or in Assitants tabs. Read below on how to do this.
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.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
To setup content aware chatbot using Assistant API you need to open page Chatbot and select Tab "Assistant API". Then 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, selecting model and timeout.
3.Add the shortcode [s2baia_chatbot bot_id="assistant"] to any page you want.
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. This approach is better if you have a small amount of text that can be used as context. For medium to large amounts of text, the Assistant API is preferable.
Image generation setup.
Image generation feature requires only API key. It is ready to use by default. You can configure generation options on the Image Generation tab. On the same tab you can generate and store new images using Dall-e-2 and Dall-e-3 models.
Instruction setup.
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.