8000
Skip to content

lauragift21/cf-fullstack-ai-workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

38 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

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

 
 
 

Contributors

0