Skip to main content


This page covers how to use vlite within LangChain. vlite is a simple and fast vector database for storing and retrieving embeddings.

Installation and Setup​

To install vlite, run the following command:

pip install vlite

For PDF OCR support, install the vlite[ocr] extra:

pip install vlite[ocr]


vlite provides a wrapper around its vector database, allowing you to use it as a vectorstore for semantic search and example selection.

To import the vlite vectorstore:

from langchain_community.vectorstores import vlite


For a more detailed walkthrough of the vlite wrapper, see this notebook.

Was this page helpful?

You can also leave detailed feedback on GitHub.