Knowledge
LangChain Knowledge Base
The LangchainKnowledgeBase allows us to use a LangChain retriever or vector store as a knowledge base.
Usage
langchain_kb.py
Params
Parameter | Type | Default | Description |
---|---|---|---|
retriever | Any | None | LangChain retriever. |
vectorstore | Any | None | LangChain vector store used to create a retriever. |
search_kwargs | dict | None | Search kwargs when creating a retriever using the langchain vector store. |
Was this page helpful?