langchain/libs/partners/nomic
2024-06-05 17:06:58 +00:00
..
langchain_nomic embeddings: nomic embed vision (#22482) 2024-06-05 09:47:17 -07:00
scripts
tests
.gitignore
LICENSE
Makefile
poetry.lock embeddings: nomic embed vision (#22482) 2024-06-05 09:47:17 -07:00
pyproject.toml nomic[patch]: Release 0.1.2 (#22561) 2024-06-05 17:06:58 +00: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?")