Skip to main content
The NomicEmbeddings class uses the Nomic AI API to generate embeddings for a given text.

Setup

In order to use the Nomic API you’ll need to sign up for a Nomic account and create an API key. You’ll first need to install the @langchain/nomic package:
npm

Usage