let’s talk about structuring a complex wordpress/woocommerce plugin. It is called virtual sales person, a voice interactive assistant that uses ElevenLabs and OpenAI. The admin section users can add their APIs key and pick a personality and see/refresh their ai generated site description. On the back end we want our openai requests to use tool choice to return a response or query, if ai returns a query we are going to use it in the wordpress search system THEN do a subsequent ai request with that retrieved results to get the final response. so our initial request informs the ai it is a wordpress bot that can search for information only if it needs to, we need to seed the system prompt with details from about the website in fact on initial startup i want the plugin to check if this woocommerce or not then pull some content names and put together about this wordpress introduction post THAT to OpenAI requesting ai condense it into informative site description. Then save that site description for future initial queries. display it in the admin section.

Related posts:


Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *