LangChainKnowledge is a knowledge base class that allows you to load and query data from Langchain supported knowledge bases.

ParameterTypeDefaultDescription
loaderOptional[Callable]NoneOptional callable to load documents into the knowledge base
vectorstoreOptional[Any]NoneOptional vector store for document storage and retrieval
search_kwargsOptional[dict]NoneOptional search parameters for the vector store
retrieverOptional[Any]NoneOptional retriever for fetching relevant documents