mirror of
https://github.com/hwchase17/langchain.git
synced 2026-04-02 10:25:07 +00:00
0.2 is not a breaking release for core (but it is for langchain and community) To keep the core+langchain+community packages in sync at 0.2, we will relax deps throughout the ecosystem to tolerate `langchain-core` 0.2
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?")