Our new LangChain Academy Course Deep Research with LangGraph is now live! Enroll for free.
OSS (v1-alpha)
LangChain and LangGraph
NomicEmbeddings
@langchain/nomic
npm install @langchain/nomic @langchain/core
import { NomicEmbeddings } from "@langchain/nomic"; /* Embed queries */ const nomicEmbeddings = new NomicEmbeddings(); const res = await nomicEmbeddings.embedQuery("Hello world"); console.log(res); /* Embed documents */ const documentRes = await nomicEmbeddings.embedDocuments([ "Hello world", "Bye bye", ]); console.log(documentRes);