Our new LangChain Academy Course Deep Research with LangGraph is now live! Enroll for free.
OSS frameworks
LangChain and LangGraph
npm i @langchain/openai
OPENAI_API_KEY=your-api-key
import { OpenAIEmbeddings } from "@langchain/openai"; const embeddings = new OpenAIEmbeddings({ model: "text-embedding-3-large" });
npm i langchain
import { MemoryVectorStore } from "langchain/vectorstores/memory"; const vectorStore = new MemoryVectorStore(embeddings);