[ad_1]
Hey @jamesc91 ! 👋
Just a heads up, this forum is only for the regular version of AI Engine. If you have any questions about pro features, please contact us through MeowApps support.
That being said, the WooCommerce Product Generator is included in the regular plan and does not require an upgrade for usage with the pro version. If you want to modify the prompt being used, you would have to look for filters.
You cannot actually change this value dynamically through options as it’s hard-coded. 😕 But what you can do is use filters to change the value used by this query. Here, I’ve provided you with an example. It will be executed for every request, so you might use it only when needed or add some conditions. 😉
add_filter('mwai_ai_query', function($args) {
$args->setPrompt(str_replace('(between 120 and 240 words)', '(minimum 150 words)', $args->prompt));
$args->setMaxTokens(1024);
return $args;
}, 10, 999);
