This package contains the LangChain integration for the Isaacus legal API.
pip install -U langchain-isaacusAnd you should configure credentials by setting the following environment variables:
ISAACUS_API_KEY: Your Isaacus API key. You can get your API key by following the Isaacus API quickstart guide and, in particular, joining the Isaacus Platform.
IsaacusEmbeddings class exposes embeddings from Isaacus.
from langchain_isaacus import IsaacusEmbeddings
embeddings = IsaacusEmbeddings()
embeddings.embed_query("What is the meaning of life?")