Note: by default, no limits for anyone ( *) | * || MONTHLY_GUEST_BUDGET | $-amount as usage limit for all guest users. | Parameter | Description | Default value ||-|-|-|| MONTHLY_USER_BUDGETS | A comma-separated list of $-amounts per user from list ALLOWED_TELEGRAM_USER_IDS to set custom usage limit of OpenAI API costs for each. Note: by default, everyone is allowed ( *) | Optional configuration Note: by default, no admin ('-') || ALLOWED_TELEGRAM_USER_IDS | A comma-separated list of Telegram user IDs that are allowed to interact with the bot (use getidsbot to find your user ID). Admin IDs don't have to be added to ALLOWED_TELEGRAM_USER_IDS. These users have access to special admin commands, information and no budget restrictions. | Parameter | Description ||-|-|| OPENAI_API_KEY | Your OpenAI API key, you can get it from here || TELEGRAM_BOT_TOKEN | Your Telegram bot's token, obtained using BotFather (see tutorial) || ADMIN_USER_IDS | Telegram user IDs of admins. env, then editing the required parameters as desired:
0 Comments
Leave a Reply. |