Skip to content
프로젝트

sdan/vlite has 764 GitHub stars and 38 forks. GitHot measured -1 stars in 24 hours. Last checked 2026-11-15 11:07 UTC. Last push 2026-09-22.

이 수치를 측정하는 방법

What you can do

  • 🔥 Fastest vector db retrieval with binary embeddings, less than 1.1s to search 500k documents
  • 🔋 Made for RAG -- embeddings from mixedbread embed-xsmall baked in, run in plain numpy. numpy is the only dependency
  • 🍪 CTX (context) file format, a novel abstraction for storing user context similar to browser cookies
  • Long texts are chunked to the model's 512-token window automatically, metadata filtering built in

측정된 스타 증가

in 24h
-1
in 7 days
기록 수집 중
in 15 days
기록 수집 중
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

소개

fastest vector database made in numpy

데이터

README.md

Original

vlite

a simple and blazing fast vector database

there is no database you need to set up, no server to run, and no complex configuration. just install vlite and start using it. take the CTX file with you wherever you go. its like a browser cookie but with embeddings.

1a3e85a6-2a3f-4092-beea-8b9d69433e80

Features

  • 🔥 Fastest vector db retrieval with binary embeddings, less than 1.1s to search 500k documents
  • 🔋 Made for RAG -- embeddings from mixedbread embed-xsmall baked in, run in plain numpy. numpy is the only dependency
  • 🍪 CTX (context) file format, a novel abstraction for storing user context similar to browser cookies
  • Long texts are chunked to the model's 512-token window automatically, metadata filtering built in
  • >77.95% faster than Chroma on indexing, >422% faster on retrieval, and >3.6x smaller on disk

Installation

pip install vlite

Usage

from vlite import VLite

db = VLite("borges")
db.add(["a library of hexagonal rooms that holds every possible book",
        "a man who remembers every leaf of every tree he has ever seen",
        "a garden where time forks into every possible future"])

for _, text, _, distance in db.retrieve("parallel timelines", top_k=2):
    print(distance, text)

db.save()
148 a garden where time forks into every possible future
167 a man who remembers every leaf of every tree he has ever seen

each line is a borges story. each result is (id, text, metadata, distance), and lower distance means closer. save() writes everything to contexts/borges.ctx, and VLite("borges") picks it back up next time. the first run downloads the model (48 MB) to ~/.cache/vlite.

tag things with metadata, then filter on it:

db.add(["a point in a cellar that contains every other point in the universe",
        "a coin that, once seen, can never be put out of mind"],
       metadata={"book": "the aleph"})

db.retrieve("perfect memory", top_k=1)                               # the man who remembers everything
db.retrieve("perfect memory", top_k=1, where={"book": "the aleph"})  # the coin you can't forget

long texts get chunked for you. vlite only takes strings, so bring your own pdf reader.

About

vlite is a vector database built for agents, ChatGPT Plugins, and other AI apps that need a fast and simple database to store vectors. It was developed to support the billions of embeddings generated, indexed, and sorted with ChatWith+ ChatGPT Plugins, which run for millions of users. Most vector databases either repeatedly crashed on a daily basis or were too expensive for the high throughput required.

vlite introduces the CTX file format, which acts like a browser cookie for user embeddings, providing efficient storage, retrieval of embeddings, composability, portability, and user context.

converted copy

License

AGPL-3.0 License

Contributing

Thanks to Claude and Ray for their contributions to vlite. If you'd like to contribute, please open an issue or a pull request.