python-whatsapp-bot
python-whatsapp-bot copied to clipboard
Limit access?
Love this project! Though, before I dive in: any way to limit access to the bot? I'd like to set it up for personal use/testing and obviously don't want to bear the costs of the whole world chatting with it 😁 Also would be nice to set a threshold on costs, let's say if above 100 Dollar/month warn and above 150 disable access.
You can do this directly on the OpenAI Dashboard
How's that? OpenAI dashboard might limit openai access but not the access to the bot. So then you could limit the bit not to work for certain ips? Then still you don't limit WhatsApp users. Don't see how you would or even could limit WhatsApp phone numbers in OpenAI.