Hi @kevinbkt10,
Yes, I have thought about this ?? So basically, I am going to add a new parameter to the shortcode. I am not sure how to call that parameter, but it might be “environment”.
There is already a filter (explained on my website) to set the parameters dynamically. Depending on who is logged in, you can set that environment to, let’s say “chatbot-support-{userId}”, where {userId} will be replaced by the ID of the current user.
AI Engine currently logs only the monthly usage per model, but I am going to create a new table in the DB that will keep logs about the usage depending on the date, environment, model, etc. It will be an option (not everyone wants an additional table), but it will be easy to analyze ??
Then, there is another filter for the chatbot, that I can add very soon (in 2-3 days) that will be able to limit its usage; you will be able to hook in this filter, and depending on who is logged, and the current usage of this user, you’ll be able to return an error (the chatbot will show something like System: Sorry, I am tired to talk with you, come back next month! – haha, rude!).
It’s actually very easy to implement on your end, it will be probably not more than 5-6 lines of code ?? I will provide an example.
That would work for you? What do you think?