This package contains the LangChain integrations for using Vectorize.
Installation of this package:
pip install langchain-vectorize
See the LangChain Retriever documentation for more information.
from langchain_vectorize import VectorizeRetriever
retriever = VectorizeRetriever(
api_token="...",
organization="...",
pipeline_id="...",
)
retriever.invoke("query")
See an example notebook here.