LangChain integration
You can integrate Rememberizer as a LangChain retriever to provide your LangChain application with access to powerful vector database search.
This notebook shows how to retrieve documents from Rememberizer the Document format that is used downstream.
Preparation
You will need an API key: you can get one after creating a common knowledge at https://rememberizer.ai. Once you have an API key, you must set it as an environment variable REMEMBERIZER_API_KEY or pass it as rememberizer_api_key when initializing RememberizerRetriever.
RememberizerRetriever has these arguments:
- optional top_k_results: default=10. Use it to limit number of returned documents.
- optional rememberizer_api_key: required if you don’t set the environment variable REMEMBERIZER_API_KEY.
get_relevant_documents() has one argument, query: free text which used to find documents in the common knowledge of Rememberizer.ai
Examples
Basic usage
Usage in a chain
Help us out by providing feedback on this documentation page:
Last updated