Modify a Query
If you want your chatbot to be aware of certain information that might change (such as time, events, last news, etc.) or that might differ...
Modify a Reply
You can do that by using the mwai_ai_reply filter. This filter is triggered every time before the chatbot sends a response to the user, giving you the...
Chatbot Takeover
If you need to completely bypass the AI query process and return your own message, you can use the mwai_chatbot_takeover filter. This will send the $takeover value as a...
Handle error messages
The error messages shown in red in the chat come 90% of the time directly from the AI providers you are using, not from the...
Dynamic Model Change
Seamlessly integrate and switch between language and vision models using the mwai_ai_query filter. The primary goal of this guide is to demonstrate the implementation of...
API Key Overwrite
If you have multiple API keys for the same service and would like to rotate between them (round robin), there is an addon specifically designed...
Parameters Overwrite
If you would like to set the parameters in the code instead of the shortcode or chatbot settings, you can use the mwai_chatbot_params filter. Here is...
Shortcode Overwrite
Display The Chatbot Under Conditions.