Our new LangChain Academy Course Deep Research with LangGraph is now live! Enroll for free.
OSS (v1-alpha)
LangChain and LangGraph
npm create convex@latest
convex/langchain/db.ts
export * from "@langchain/community/utils/convex";
import { defineSchema, defineTable } from "convex/server"; import { v } from "convex/values"; export default defineSchema({ documents: defineTable({ embedding: v.array(v.number()), text: v.string(), metadata: v.any(), }).vectorIndex("byEmbedding", { vectorField: "embedding", dimensions: 1536, }), });
npm install @langchain/openai @langchain/community @langchain/core