Skip to content

treeverse/langchain-lakefs

Repository files navigation

langchain-lakefs

This package contains the LangChain integration with LakeFS

Installation

pip install -U langchain-lakefs

And you should configure credentials by setting the following environment variables:

  • TODO: fill this out

Chat Models

ChatLakeFS class exposes chat models from LakeFS.

from langchain_lakefs import ChatLakeFS

llm = ChatLakeFS()
llm.invoke("Sing a ballad of LangChain.")

Embeddings

LakeFSEmbeddings class exposes embeddings from LakeFS.

from langchain_lakefs import LakeFSEmbeddings

embeddings = LakeFSEmbeddings()
embeddings.embed_query("What is the meaning of life?")

LLMs

LakeFSLLM class exposes LLMs from LakeFS.

from langchain_lakefs import LakeFSLLM

llm = LakeFSLLM()
llm.invoke("The meaning of life is")

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published