• Resolved william604

    (@william604)


    Can the usage limit be set per instance (for each page), and per user (set credits for each logged in user, unreg’ed users)

    and license is per domain? how about users (on WPMU multisite)?

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Jordy Meow

    (@tigroumeow)

    Hi @william604,

    We can’t talk about the Pro Version here (per WordPress Forums rules). So don’t hesitate to contact me directly about it ??

    That said, yes, you can limit the usage per user, and also per something else called the session, or the env. The env could be “chatbot-music-page” for a page about music, and you will be able to filter and limit depending on this (as well as the user). License is per site, multisite is considered multi-sites.

    Thread Starter william604

    (@william604)

    I’m using memberships for one of the sites: https://www.ads-software.com/plugins/simple-membership/

    With different levels of membership. Can AI engine grant each member a set number of credit for usage per membership level and reset it with the membership monthly cycle?

    Plugin Author Jordy Meow

    (@tigroumeow)

    Totally, yes!

    I am currently adding a simple restriction system, but when using a certain plugin, you’ll need to add some code. But it will not be complicated, and I’ll be happy to try to help so that I have examples of various use cases with different membership plugins ??

    Here is how to do it: https://meowapps.com/ai-engine/tutorial/#usage-control

    Basically, there is this mwai_ai_allowed filter. You can query AI Engine for how much this user consumed (tokens, actual price, etc) for a given time frame, then depending on what’s this user is allowed to do, you will just return true if everything is fine, or a message explaining the issue and that will have the effect of stopping the AI query. It’s the easiest because you can do everything in only one function.

    You could manage some kind of quota credits on your side, reduce them every time there is a query made (it’s another filter in AI Engine), and check them again through the filter I mentioned before. But I believe it’s easier in one function.

    Thread Starter william604

    (@william604)

    Would it be able to display credits remaining for the period?

    Plugin Author Jordy Meow

    (@tigroumeow)

    I am improving all this every day, so almost every day, there is something new. Please have a look at this: https://meowapps.com/ai-engine/faq/#statistics. That’s very new ??

    Thread Starter william604

    (@william604)

    Another use case: use different OpenAI keys (maybe launch in different shortcodes?) as I have tiers in my offering and track usage/budget separately.

    Plugin Author Jordy Meow

    (@tigroumeow)

    I am adding this in the next 0.8.9 release. Basically, the statistics/limits will always consider the current api key (by default, the one set in the settings, otherwise the one you are using through the filters or shortcodes).

    Thread Starter william604

    (@william604)

    Got your biggest package YAY. I just realized all my requests are actually in the context of the FORMS feature, as I was building up the forms, it’s not getting the usage limits, define keys… perhaps they can be defined in the form container?

    Another request for FORMS… some kinda of “wait a moment” text or spinny wheel (put it where the output is)? the API takes its time and user don’t know if they click it right or not…

    Anyways, the form builder is awesome, total game changer!

    Plugin Author Jordy Meow

    (@tigroumeow)

    Wah, thank you so much!

    as I was building up the forms, it’s not getting the usage limits, define keys

    Actually, it does, but only from the very last version (0.9.6). There are logs and limits. However, what do you mean by “keys”? You mean, the OpenAI API key?

    Another request for FORMS… some kinda of “wait a moment” text or spinny wheel (put it where the output is)? the API takes its time and user don’t know if they click it right or not…

    Coming in version 0.9.7. However, you normally have a spinning button! I will just add a chronometer, like I did in the chatbot. Are you embedding the form in a Form Container? If you do (like in my tutorial), you’ll get a theme applied automatically, and that theme also add the spinning effect.

    Thread Starter william604

    (@william604)

    I gotta really clear with my requests (prompts) to you lol. Here goes…

    In the context of forms: I’m also looking for “character limits” on each text area. (as some users might just dump pages of text in my use case)

    and yes. I would very much like to specify an API key per Form container, usage limit would be the cherry on top.

    for the wait/loading status… i chose not to use the chatGPT theme as I’m not looking to send clients that way ?? I’m just sticking with the wordpress theme. would there be a quick way for you to implement a universal loading message in the output area or in the form container somewhere?

    Thank you, your plugin is helping a lot of us do some really incredible things!

    Plugin Author Jordy Meow

    (@tigroumeow)

    Haha, no problem! Well noted everything in my to do list. Overloaded with work now, I used to be able to reply with the implementations done, but not anymore, my list go too long. I am getting through it ??

    implement a universal loading message in the output area or in the form container somewhere?

    A bit less sure about that. I have seen other chatbots do that, more or less well; I am not a bit fan of being a copycat (oh, this chatbot does this, so I must do it too). I prefer to try to gather feedback, and based on the experience, implement something that will feel nice for the months and years to come. Also, I think the AI models will get faster and faster.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Pro features question: usage limit, user accounts’ is closed to new replies.