Skip to content

💡 A full-stack AI app that answers questions using Cloudflare Workers, Vectorize, D1, Workflows and Workers AI.

Notifications You must be signed in to change notification settings

lauragift21/cf-fullstack-ai-workshop

Repository files navigation

🧠 KnowledgeBase Assistant: Full-Stack AI App with Cloudflare

A hands-on workshop on building a Retrieval-Augmented Generation (RAG) application using Cloudflare Workers, Vectorize, D1, Workflows and Workers AI.


In this workshop, you’ll build a KnowledgeBase Assistant — a RAG-powered AI app that lets users upload content, ask questions about it, and receive context-aware answers grounded in their own documents.

In this hands-on project, you will:

  • Create and deploy a Cloudflare Worker
  • Add AI capabilities with Workers AI and AI Gateway
  • Embed and search documents using Vectorize
  • Store and retrieve metadata using D1
  • Use Cloudflare Workflows to handle document processing and embedding
  • Build a working Retrieval-Augmented Generation (RAG) app from scratch

🛠️ Prerequisites

npm install -g wrangler

🏗️ Project Setup

Clone the repo and install dependencies:

git clone https://github.com/lauragift21/cf-fullstack-ai-workshop.git
cd cf-fullstack-ai-workshop
npm install

🚀 Running Locally

Start the dev server:

wrangler dev

📦 Deployment

Deploy to Cloudflare:

wrangler deploy

📦 Workshop Contents


💡 Extra Credit

  • Add Workers KV to cache responses
  • Integrate external models (Anthropic/OpenAI)
  • Deploy to a production domain

🧭 Resources

About

💡 A full-stack AI app that answers questions using Cloudflare Workers, Vectorize, D1, Workflows and Workers AI.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •