Build an AI Chatbot with Cloudflare Workers AI | Cloudflare AI Models Tutorial
AI Ops Hub
0:00 / 0:00
Build an AI Chatbot with Cloudflare Workers AI | Cloudflare AI Models Tutorial
765 просмотров · 3 мес. назад
AI Ops Hub
60 подписчиков
765 просмотров · 3 мес. назад
Learn how to build and deploy an AI chatbot using Cloudflare Workers AI, Cloudflare AI models, and AI Gateway.
In this tutorial, we create a Worker project, connect it to Workers AI, run inference tasks, explore custom provider limitations, route requests through AI Gateway, deploy to Cloudflare, and consume the API from a frontend using the AG-UI protocol.
Perfect if you're building serverless AI applications or exploring Cloudflare’s AI ecosystem
Use directly AG-UI Protocol based endpoints in storybook of https://ai-cdk.com/
📌 What you'll learn:
• Create a Cloudflare Worker project
• Connect Workers with Workers AI
• Run inference tasks inside Workers
• Understand custom provider limitations
• Use AI Gateway as an alternative integration path
• Deploy and test your Worker
• Enable observability with OTEL
• Consume APIs using AG-UI Protocol
00:00 Intro
07:52 creating an Worker Project
10:19 Connect to Worker AI
13:33 Run inference task in worker
16:20 Adding custom provider
17:40 Custom provider in Worker AI - Not Supported
17:58 Custom provider through API Gateway
19:56 Deploy worker
21:17 OTEL Option
22:08 Consume API (Ag-UI Protocol) from frontend
25:20 AG-UI Protocol Call Debug
#Cloudflare #WorkersAI #AIGateway #AIChatbot #LLM #Serverless #CloudflareWorkers #WebDevelopment #AGUI