LangChain Support for Workers AI, Vectorize and D1
Jan 31, 2024Ricky Robinett, Kristian Freeman, Jacob Lee

Summary
This post details the integration of LangChain with five Cloudflare AI tools: Workers AI Chat Models, Workers AI Instruct Models, Workers AI Text Embeddings Models, Vectorize Vector Store, and Cloudflare D1-Backed Chat Memory. It provides examples and a template for building AI-powered applications using these components, including a retrieval augmented generation (RAG) chatbot that routes between multiple data sources.
More from the Artificial Intelligence Integration & Impact trail
- Introducing Clef-omni with full multimodality, plus a faster Clef and a cheaper Clef-flash
- Introducing Web Search API via AI Gateway
- Introducing Clef: our open-source decision models, and new RL fine-tuning platform
- One year later: Sovereign AI and the fight for choice
- AI Search is now generally available