- WorkersWorkersWorkersDeploy serverless code globally on the Cloudflare edge.
- AIWorkers AIWorkers AIRun AI models close to users with Workers AI.
Llama Guard on Workers AI
This is an exploration of the Llama Guard model using Workers AI.
Watch us build.
Llama Guard on Workers AI
This is an exploration of the Llama Guard model using Workers AI.
Dontcha hate it when AI doesn't know your favorite band? I'm obsessed with the band Cheekface. I self identify as a Cheekfreak.
That Conf Presentation 2024
This is the example code for my talk "AI Development 101 with Cloudflare AI" at That Conference Texas.
What is this code?
Example project built with Cloudflare Workers and Workers AI showing how to use the codellama-7b-instruct-awq model with Cloudflare's AI SDK.
Ollama + Mixtral + Langchain example (deployed to Cloudflare)
You can use Cloudflare Tunnel to open a secure HTTPS tunnel to a running Ollama instance on your local computer.
Example code showing how to use Langchain-js' recursive text splitter.
You can use this as an API -- though I'd recommend deploying it yourself.
A link shortener service built on Cloudflare Workers and KV
A live version of this application is deployed at https://shortlinks.megaconfidence.workers.dev/
Cloudy MadLib Game
Cloudy Madlibs is a fun, interactive game that revitalizes the classic word game experience with a tech-savvy twist. Aimed at both developers and word-game enthusiasts, this game invites players to craft hilarious and unexpected stories by filling in the blanks with their own words.
Build a ChatGPT Clone with Workers AI Workshop
retrieval-augmented-generation-langchain Example RAG project built using Langchain and Cloudflare's AI stack
Twilio Conversations + Cloudflare Worker AI exploration
This is a WIP to use the new Cloudflare Worker AI LLM and connecting it with Twilio Conversations which is an API that allows for omni-channel communications.
cloudflare-retrieval-augmented-generation-example
This repo shows how to build a Retrieval Augmented Generation (RAG) application using Cloudflare Workers AI. It uses Cloudflare Workflows, D1, and Vectorize to store notes that can be used to generate context for the RAG model. You can then use Cloudflare AI's Llama-based models, or Anthropic Claude to generate responses.
ChatGPT Ramen plugin
ChatGPT Plug-in that displays ramen images if the user is hungry or talking about ramen.
Ollama Embeddings + Langchain + Cloudflare Tunnel example
You can use Cloudflare Tunnel to open a secure HTTPS tunnel to a running Ollama instance on your local computer.
Example application showing how to use a Langchain chain with a Cloudflare D1-driven memory store.
The relevant code can be found in worker.js. Note that the Langchain integration will instantiate a new table and manage it for you -- all you need to do is set up your own D1 database with relevant database_id, as seen in wrangler.toml: