lgs / qdrant

Qdrant - vector similarity search engine with extended filtering support

Home Page:https://qdrant.tech

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Qdrant

Vector Similarity Search Engine with extended filtering support

Tests status OpenAPI Docs Apache 2.0 License Discord Roadmap v1.0

Qdrant (read: quadrant ) is a vector similarity search engine. It provides a production-ready service with a convenient API to store, search, and manage points - vectors with an additional payload. Qdrant is tailored to extended filtering support. It makes it useful for all sorts of neural-network or semantic-based matching, faceted search, and other applications.

Qdrant is written in Rust πŸ¦€, which makes it reliable even under high load.

With Qdrant, embeddings or neural network encoders can be turned into full-fledged applications for matching, searching, recommending, and much more!

Demo Projects

Semantic Text Search πŸ”

The neural search uses semantic embeddings instead of keywords and works best with short texts. With Qdrant and a pre-trained neural network, you can build and deploy semantic neural search on your data in minutes. Try it online!

Similar Image Search - Food Discovery πŸ•

There are multiple ways to discover things, text search is not the only one. In the case of food, people rely more on appearance than description and ingredients. So why not let people choose their next lunch by its appearance, even if they don’t know the name of the dish? Check it out!

Extreme classification - E-commerce Product Categorization πŸ“Ί

Extreme classification is a rapidly growing research area within machine learning focusing on multi-class and multi-label problems involving an extremely large number of labels. Sometimes it is millions and tens of millions classes. The most promising way to solve this problem is to use similarity learning models. We put together a demo example of how you could approach the problem with a pre-trained transformer model and Qdrant. So you can play with it online!

More solutions
Semantic Text Search Similar Image Search Recommendations
Chat Bots Matching Engines

API

Online OpenAPI 3.0 documentation is available here. OpenAPI makes it easy to generate a client for virtually any framework or programing language.

You can also download raw OpenAPI definitions.

Features

Filtering

Qdrant supports key-value payload associated with vectors. It does not only store payload but also allows filter results based on payload values. It allows any combinations of should, must, and must_not conditions, but unlike ElasticSearch post-filtering, Qdrant guarantees all relevant vectors are retrieved.

Rich data types

Vector payload supports a large variety of data types and query conditions, including string matching, numerical ranges, geo-locations, and more. Payload filtering conditions allow you to build almost any custom business logic that should work on top of similarity matching.

Query planning and payload indexes

Using the information about the stored key-value data, the query planner decides on the best way to execute the query. For example, if the search space limited by filters is small, it is more efficient to use a full brute force than an index.

SIMD Hardware Acceleration

Qdrant can take advantage of modern CPU x86-x64 architectures. It allows you to search even faster on modern hardware.

Write-ahead logging

Once the service confirmed an update - it won't lose data even in case of power shut down. All operations are stored in the update journal and the latest database state could be easily reconstructed at any moment.

Stand-alone

Qdrant does not rely on any external database or orchestration controller, which makes it very easy to configure.

Usage

Docker 🐳

Build your own from source

docker build . --tag=qdrant/qdrant

Or use latest pre-built image from DockerHub

docker pull qdrant/qdrant

To run container use command:

docker run -p 6333:6333 \
    -v $(pwd)/path/to/data:/qdrant/storage \
    -v $(pwd)/path/to/custom_config.yaml:/qdrant/config/production.yaml \
    qdrant/qdrant
  • /qdrant/storage - is a place where Qdrant persists all your data. Make sure to mount it as a volume, otherwise docker will drop it with the container.
  • /qdrant/config/production.yaml - is the file with engine configuration. You can override any value from the reference config

Now Qdrant should be accessible at localhost:6333

Docs πŸ““

Contacts

Contributors ✨

Thanks to the people who contributed to Qdrant:


Andrey Vasnetsov

πŸ’»

Andre Zayarni

πŸ“–

Joan Fontanals

πŸ’»

trean

πŸ’»

Konstantin

πŸ’»

Daniil Naumetc

πŸ’»

Viacheslav Poturaev

πŸ“–

Alexander Galibey

πŸ’»

HaiCheViet

πŸ’»

Marcin Puc

πŸ’»

Anton V.

πŸ’»

Arnaud Gourlay

πŸ’»

Egor Ivkov

πŸ’»

Ivan Pleshkov

πŸ’»

Daniil

πŸ’»

Anton Kaliaev

πŸ’»

Andre Julius

πŸ’»

Prokudin Alexander

πŸ’»

Tim Eggert

πŸ’»

Gabriel Velo

πŸ’»

License

Qdrant is licensed under the Apache License, Version 2.0. View a copy of the License file.

About

Qdrant - vector similarity search engine with extended filtering support

https://qdrant.tech

License:Apache License 2.0


Languages

Language:Rust 96.3%Language:Python 2.1%Language:Shell 1.1%Language:JavaScript 0.4%Language:Dockerfile 0.1%