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 an API key. You can sign up for a Nomic account and create an API key here. You’ll first need to install the @langchain/nomic package:
npm

Usage