This package contains the LangChain integration with LakeFS
pip install -U langchain-lakefsAnd you should configure credentials by setting the following environment variables:
- TODO: fill this out
ChatLakeFS class exposes chat models from LakeFS.
from langchain_lakefs import ChatLakeFS
llm = ChatLakeFS()
llm.invoke("Sing a ballad of LangChain.")LakeFSEmbeddings class exposes embeddings from LakeFS.
from langchain_lakefs import LakeFSEmbeddings
embeddings = LakeFSEmbeddings()
embeddings.embed_query("What is the meaning of life?")LakeFSLLM class exposes LLMs from LakeFS.
from langchain_lakefs import LakeFSLLM
llm = LakeFSLLM()
llm.invoke("The meaning of life is")