There are two options to create Assistant API chatbots and use them in our plugin.
- Create automatically in our plugin on Assitant API tab
- Create manually on AI Assistants on OpenAI page and then add them to S2B AI Assistant wordpress plugin.
This article explains to to create manually AI assistant on AI Assistants on OpenAI page and then add them to S2B AI Assistant wordpress plugin. OpenAI Assistants API currently supports three types of tools : Code Interpreter, File Search, and Function calling. In theory, you can use any type of tool in our plugin, but the chatbots created in our plugin are designed to use the file search tool. File Search tool augments the Assistant with knowledge from outside its model, such as proprietary product information or documents provided by you. OpenAI automatically parses and chunks your documents, creates and stores the embeddings, and use both vector and keyword search to retrieve relevant content to answer user queries. This way you can create your own knowledge database and feed it into Chat GPT. It allows you to create a chatbot connected to your knowledge data.
Step 1. Prepare file that will be used as knowledge database by IA Assistant. See file types that are supported by Assitant API
Step 2. Go to AI Assistants on OpenAI page. On this page click on Create button.
Step 3. Fill Name, Model, Instruction fields.
Step 4. Scroll down and turn on ‘File Search’ radio button.
Step 5. Click +Files button
Step 6. Upload file, prepared in Step 1.
Step 7.Copy ID of assistant by clicking on its label. Store this copied value to some place like text document.
Step 8. Open Assistants tab on Chatbot page of S2BAI Assistant in the administrator side. After click ‘Clear&New’ button. It starts to create new AI Assistant.
Step 9. Paste copied Assistant ID value from OpenAI Assistant page to “Assistant ID:” field.
Step 10. Fill other fields and click Save button. It adds new Assistant.
You can add new assistants if needed. Also you can delete and modify them.