You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/libs/partners/nomic
Erick Friis 17e886388b
nomic: init pkg (#16853)
Co-authored-by: Lance Martin <lance@langchain.dev>
7 months ago
..
langchain_nomic nomic: init pkg (#16853) 7 months ago
scripts nomic: init pkg (#16853) 7 months ago
tests nomic: init pkg (#16853) 7 months ago
.gitignore nomic: init pkg (#16853) 7 months ago
LICENSE nomic: init pkg (#16853) 7 months ago
Makefile nomic: init pkg (#16853) 7 months ago
README.md nomic: init pkg (#16853) 7 months ago
poetry.lock nomic: init pkg (#16853) 7 months ago
pyproject.toml nomic: init pkg (#16853) 7 months ago

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