mirror of
https://github.com/hwchase17/langchain
synced 2024-11-10 01:10:59 +00:00
2c3e3dc6b1
There are some incorrect declarations of variable `has_failure` in check_imports. The purpose of this PR is to uniformly fix these errors. |
||
---|---|---|
.. | ||
langchain_nomic | ||
scripts | ||
tests | ||
.gitignore | ||
LICENSE | ||
Makefile | ||
poetry.lock | ||
pyproject.toml | ||
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?")