langchain/libs/partners/nomic
2024-11-04 20:19:50 +00: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 nomic[patch]: release 0.0.2, dimensionality (#17534) 2024-02-14 08:38:07 -08:00
.gitignore nomic: init pkg (#16853) 2024-01-31 16:46:35 -08:00
LICENSE nomic: init pkg (#16853) 2024-01-31 16:46:35 -08:00
Makefile standard-tests[patch]: add Ser/Des test 2024-09-04 10:24:06 -07:00
poetry.lock qdrant,nomic[minor]: bump core deps (#27849) 2024-11-04 20:19:50 +00:00
pyproject.toml qdrant,nomic[minor]: bump core deps (#27849) 2024-11-04 20:19:50 +00:00
README.md nomic: init pkg (#16853) 2024-01-31 16:46:35 -08: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?")