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
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.
- 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
- You can fill other fields on this tab or leave them by default.
- 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.