An AI-powered application built on Cloudflare Workers AI for the Cloudflare internship assignment.
This project demonstrates integration of an LLM, Workflows/Durable Objects, stateful memory (via KV), and a simple chat UI deployed with Cloudflare Pages.
This project shows how to:
- Run an LLM (e.g., Llama 3.3 on Workers AI).
- Handle workflow coordination with Workers, Workflows, or Durable Objects.
- Maintain chat memory using Cloudflare KV.
- Provide a user-facing interface (chat UI) deployed on Pages.
- Store and load chat history to simulate real conversational AI behavior.
npm i -g wrangler
npm installwrangler loginwrangler kv namespace create CHAT_HISTORY
wrangler deploy
wrangler pages publish ./web