Limits: Check Here
An AI chat bot powered by the Cloudflare Worker AI and running on vercel.
did any one know how to use some telegram bot api node packages on Cloudflare Pages? Need that!
-
TELEGRAM_TOKEN
(Required): Your Telegram Bot Access Token. -
CF_AccountID
(Required): Your Cloudflare Account ID, used to access the Cloudflare Worker AI's RESTful API. Check Cloudflare's Docs to get to know how to get it. -
CF_Auth
(Required): Your Cloudflare Auth Token, Permissions is Worker AI. used to access the Cloudflare Worker AI's RESTful API. Check Cloudflare's Docs to get to know how to get it. -
model
(Optional): Worker AI Model, by default it is "@cf/meta/llama-2-7b-chat-int8" -
USER_ALLOWED
(Optional, but set it is better): Telegram User ID who can access to this bot. if it is unset that means ANYONE can get access to this bot. Split it by,
. -
ADMIN
(Optional): Telegram User ID who can manage(?) this bot, like access some senstive data via this bot directly. Split it by,
.