langchain/libs/partners/nomic
ccurme 3450bfc806
infra: add UV_FROZEN to makefiles (#29642)
These are set in Github workflows, but forgot to add them to most
makefiles for convenience when developing locally.

`uv run` will automatically sync the lock file. Because many of our
development dependencies are local installs, it will pick up version
changes and update the lock file. Passing `--frozen` or setting this
environment variable disables the behavior.
2025-02-06 14:36:54 -05:00
..
langchain_nomic embeddings: nomic embed vision (#22482) 2024-06-05 09:47:17 -07:00
scripts multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
tests infra: migrate to uv (#29566) 2025-02-06 13:36:26 -05:00
.gitignore
LICENSE
Makefile infra: add UV_FROZEN to makefiles (#29642) 2025-02-06 14:36:54 -05:00
pyproject.toml infra: migrate to uv (#29566) 2025-02-06 13:36:26 -05:00
README.md
uv.lock infra: migrate to uv (#29566) 2025-02-06 13:36:26 -05:00

langchain-nomic

This package contains the LangChain integration with Nomic

Installation

pip install -U langchain-nomic

And you should configure credentials by setting the following environment variables:

  • NOMIC_API_KEY: your nomic API key

Embeddings

NomicEmbeddings class exposes embeddings from Nomic.

from langchain_nomic import NomicEmbeddings

embeddings = NomicEmbeddings()
embeddings.embed_query("What is the meaning of life?")