Our new LangChain Academy Course Deep Research with LangGraph is now live! Enroll for free.
OSS (v1-alpha)
LangChain and LangGraph
MinimaxEmbeddings
import { MinimaxEmbeddings } from "langchain/embeddings/minimax"; export const run = async () => { /* Embed queries */ const embeddings = new MinimaxEmbeddings(); const res = await embeddings.embedQuery("Hello world"); console.log(res); /* Embed documents */ const documentRes = await embeddings.embedDocuments([ "Hello world", "Bye bye", ]); console.log({ documentRes }); };