Cloudfare WorkerAI
functionA Python wrapper for Cloudflare WorkersAI that enables seamless integration with their REST API, allowing direct access to AI models through a simplified manifold pipeline pattern.
@christiant 🇺🇸 v0.1.6
@christiant 🇺🇸 v0.1.6 cloudfare_workerai.py
Python · 131 lines20 class Valves(BaseModel):21 CF_ACCOUNT_ID: str = Field(default="")22 CF_API_KEY: str = Field(default="")23 CF_AI_Gateway: str = Field(default="")24 25 def __init__(self):26 self.type = "manifold"27 self.id = "cloudflare"28 self.name = "cloudflare/"29 self.valves = self.Valves(30 **{31 "CF_ACCOUNT_ID": os.getenv("CF_ACCOUNT_ID", ""), A Python wrapper for Cloudflare WorkersAI that enables seamless integration with their REST API, allowing direct access to AI models through a simplified manifold pipeline pattern.
0
0 A Python wrapper for Cloudflare WorkersAI that enables seamless integration with their REST API, allowing direct access to AI models through a simplified manifold pipeline pattern.
0
0 
