langchain/libs/partners/nomic
Erick Friis a99c667c22
partners: version constraints (#17492)
Core should be ^0.1 by default

Careful about 0.x.y and 0.0.z packages
2024-02-14 08:57:46 -08:00
..
langchain_nomic nomic[patch]: release 0.0.2, dimensionality (#17534) 2024-02-14 08:38:07 -08:00
scripts infra: add print rule to ruff (#16221) 2024-02-09 16:13:30 -08:00
tests nomic[patch]: release 0.0.2, dimensionality (#17534) 2024-02-14 08:38:07 -08:00
.gitignore
LICENSE
Makefile
poetry.lock partners: version constraints (#17492) 2024-02-14 08:57:46 -08:00
pyproject.toml partners: version constraints (#17492) 2024-02-14 08:57:46 -08:00
README.md

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?")