langchain/libs/partners/nomic
Mason Daugherty e7f1ceee67
nomic[patch]: ruff fixes and rules (#31922)
* bump ruff deps
* add more thorough ruff rules
* fix said rules
* fix makefile targets
2025-07-08 13:25:18 -04:00
..
langchain_nomic nomic[patch]: ruff fixes and rules (#31922) 2025-07-08 13:25:18 -04:00
scripts multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
tests nomic[patch]: ruff fixes and rules (#31922) 2025-07-08 13:25:18 -04:00
.gitignore
LICENSE
Makefile nomic[patch]: ruff fixes and rules (#31922) 2025-07-08 13:25:18 -04:00
pyproject.toml nomic[patch]: ruff fixes and rules (#31922) 2025-07-08 13:25:18 -04:00
README.md
uv.lock nomic[patch]: ruff fixes and rules (#31922) 2025-07-08 13:25:18 -04: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?")