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.
- WorkersWorkersWorkersDeploy serverless code globally on the Cloudflare edge.
- KVKVKVServe globally distributed key-value data with low latency.
A link shortener service built on Cloudflare Workers and KV
A live version of this application is deployed at https://shortlinks.megaconfidence.workers.dev/
- WorkersWorkersWorkersDeploy serverless code globally on the Cloudflare edge.
- PagesPagesPagesDeploy full-stack apps and static sites on Cloudflare Pages.
- D1D1D1Use Cloudflare's serverless SQL database at the edge.
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.
- WorkersWorkersWorkersDeploy serverless code globally on the Cloudflare edge.
- AIWorkers AIWorkers AIRun AI models close to users with Workers AI.
Build a ChatGPT Clone with Workers AI Workshop
- WorkersWorkersWorkersDeploy serverless code globally on the Cloudflare edge.
- D1D1D1Use Cloudflare's serverless SQL database at the edge.
- QueuesQueuesQueuesMove async work through managed message queues.
- VectorVectorizeVectorizeSearch vector embeddings with Cloudflare Vectorize.
- AIWorkers AIWorkers AIRun AI models close to users with Workers AI.
- WorkersWorkersWorkersDeploy serverless code globally on the Cloudflare edge.
- VectorVectorizeVectorizeSearch vector embeddings with Cloudflare Vectorize.
- AIWorkers AIWorkers AIRun AI models close to users with Workers AI.
retrieval-augmented-generation-langchain Example RAG project built using Langchain and Cloudflare's AI stack
- WorkersWorkersWorkersDeploy serverless code globally on the Cloudflare edge.
- AIWorkers AIWorkers AIRun AI models close to users with Workers AI.
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.
- WorkersWorkersWorkersDeploy serverless code globally on the Cloudflare edge.
- D1D1D1Use Cloudflare's serverless SQL database at the edge.
- FlowsWorkflowsWorkflowsOrchestrate durable multi-step jobs with Workflows.
- VectorVectorizeVectorizeSearch vector embeddings with Cloudflare Vectorize.
- AIWorkers AIWorkers AIRun AI models close to users with Workers AI.
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.
- WorkersWorkersWorkersDeploy serverless code globally on the Cloudflare edge.
- D1D1D1Use Cloudflare's serverless SQL database at the edge.
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:
Notion + Pinecone + ChatGPT + Cloudflare Workers Example
fauna-workers
This project presents an example application using Cloudflare Workers with the Fauna API. The application serves as a REST API backend, underpinned by Fauna's document-based database.
npm install
npm run dev
npm run deploy