Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 

Repository files navigation

cf_ai_internship_assignment

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.


๐Ÿš€ Project Overview

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.

โš™๏ธ Setup Instructions

1. Install Dependencies

npm i -g wrangler
npm install

2. Login to Cloudflare

wrangler login

3. Create KV Namespace and Deploy

wrangler kv namespace create CHAT_HISTORY
wrangler deploy            
wrangler pages publish ./web

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors