Qdrant

Qdrant - Vector Database for the next generation of AI applications. Also available in the cloud https://cloud.qdrant.io/

Stars
14.8K
Forks
844
Open issues
196
Closed issues
657
Last release
7 months ago
Last commit
5 months ago
Watchers
14.8K
Total releases
57
Total commits
2.14K
Open PRs
32
Closed PRs
1.91K
Repo URL
Platform
License
apache-2.0
Category
Offers premium version?
NO
Proprietary?
NO
About

Vector Search Engine for the next generation of AI applications

Qdrant (read: quadrant) is a vector similarity search engine and vector database. 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 fast and reliable even under high load. See benchmarks.

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

Qdrant is also available as a fully managed Qdrant Cloud โ›… including a free tier.

Quick Start โ€ข Client Libraries โ€ข Demo Projects โ€ข Integrations โ€ข Contact

Getting Started Python

pip install qdrant-client

The python client offers a convenient way to start with Qdrant locally:

from qdrant_client import QdrantClient
qdrant = QdrantClient(":memory:") # Create in-memory Qdrant instance, for testing, CI/CD

OR

client = QdrantClient(path="path/to/db") # Persists changes to disk, fast prototyping

Client-Server

This is the recommended method for production usage. To run the container, use the command:

docker run -p 6333:6333 qdrant/qdrant

Now you can connect to this with any client, including Python:

qdrant = QdrantClient("http://localhost:6333") # Connect to existing Qdrant instance, for production
Clients

Qdrant offers the following client libraries to help you integrate it into your application stack with ease:

Where do I go from here?

Demo Projects Discover Semantic Text Search ๐Ÿ”

Unlock the power of semantic embeddings with Qdrant, transcending keyword-based search to find meaningful connections in short texts. Deploy a neural search in minutes using a pre-trained neural network, and experience the future of text search. Try it online!

Explore Similar Image Search - Food Discovery ๐Ÿ•

There's more to discovery than text search, especially when it comes to food. People often choose meals based on appearance rather than descriptions and ingredients. Let Qdrant help your users find their next delicious meal using visual search, even if they don't know the dish's name. Check it out!

Master Extreme Classification - E-commerce Product Categorization ๐Ÿ“บ

Enter the cutting-edge realm of extreme classification, an emerging machine learning field tackling multi-class and multi-label problems with millions of labels. Harness the potential of similarity learning models, and see how a pre-trained transformer model and Qdrant can revolutionize e-commerce product categorization. Play with it online!

More solutions

        <a href="https://camo.githubusercontent.com/2c68ea8e5b4869b3d872f40f6e4e97a962d0debecf49f77f1c833643bd684d14/68747470733a2f2f716472616e742e746563682f636f6e74656e742f696d616765732f746578745f7365617263682e706e67" rel="nofollow"></a>


        <a href="https://camo.githubusercontent.com/f2fd4fc96032a031b0fb4ea35f990c27a3076bab875c51e3ea255ac756634806/68747470733a2f2f716472616e742e746563682f636f6e74656e742f696d616765732f696d6167655f7365617263682e706e67" rel="nofollow"></a>


        <a href="https://camo.githubusercontent.com/6f90dd6e2ef5244dddcd10d8d6cc82c8ee63b196fc89865e63af0b0e7b2a6224/68747470733a2f2f716472616e742e746563682f636f6e74656e742f696d616765732f7265636f6d6d656e646174696f6e732e706e67" rel="nofollow"></a>




        Semantic Text Search


        Similar Image Search


        Recommendations








        <a href="https://camo.githubusercontent.com/65e043a5455f40493455b6a7b514bdca4e483d3f05357981a8488be949a4946a/68747470733a2f2f716472616e742e746563682f636f6e74656e742f696d616765732f636861745f626f74732e706e67" rel="nofollow"></a>


        <a href="https://camo.githubusercontent.com/2269490b8b552c41f15cb6a8cc9b0e4b2c3e18c590467be6788d819b94c61580/68747470733a2f2f716472616e742e746563682f636f6e74656e742f696d616765732f6d61746368696e675f656e67696e65732e706e67" rel="nofollow"></a>


        <a href="https://camo.githubusercontent.com/f7480cbdc8e146f33b09e4a66fc52379f2a4a2a9e6f5e7131be6504b7ed9af2d/68747470733a2f2f716472616e742e746563682f636f6e74656e742f696d616765732f616e6f6d616c6965735f646574656374696f6e2e706e67" rel="nofollow"></a>




        Chat Bots


        Matching Engines


        Anomaly Detection

API REST

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

You can also download raw OpenAPI definitions.

gRPC

For faster production-tier searches, Qdrant also provides a gRPC interface. You can find gRPC documentation here.

Features Filtering and Payload

Qdrant enables JSON payloads to be associated with vectors, providing both storage and filtering based on payload values. It supports various combinations of should, must, and must_not conditions, ensuring retrieval of all relevant vectors unlike ElasticSearch post-filtering.

Rich Data Types

The vector payload accommodates diverse data types and query conditions, including string matching, numerical ranges, geo-locations, and more. These filtering conditions empower you to create custom business logic on top of similarity matching.

Query Planning and Payload Indexes

The query planner leverages stored payload information to optimize query execution. For instance, smaller search spaces limited by filters might benefit from full brute force over an index.

SIMD Hardware Acceleration

Utilizing modern CPU x86-x64 architectures, Qdrant delivers faster search performance on modern hardware.

Write-Ahead Logging

Qdrant ensures data persistence with update confirmation, even during power outages. The update journal stores all operations, enabling effortless reconstruction of the latest database state.

Distributed Deployment

As of v0.8.0, Qdrant supports distributed deployment. Multiple Qdrant machines form a cluster for horizontal scaling, coordinated through the Raft protocol.

Stand-alone

Qdrant operates independently, without reliance on external databases or orchestration controllers, simplifying configuration.

Integrations

Examples and/or documentation of Qdrant integrations:

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

๐Ÿ’ป


Boqin Qin(็งฆ ไผฏ้’ฆ)

๐Ÿ›


Russ Cam

๐Ÿ’ป


erare-humanum

๐Ÿ’ป


Roman Titov

๐Ÿ’ป


Hozan

๐Ÿ’ป


George

๐Ÿ’ป


Kornรฉl Csernai

๐Ÿ’ป


Luis Cossรญo

๐Ÿ’ป


Tim Visรฉe

๐Ÿ’ป


Timon Vonk

๐Ÿ’ป


Yiping Deng

๐Ÿ’ป


Alex Huang

๐Ÿ’ป


Ibrahim M. Akrab

๐Ÿ’ป


stencillogic

๐Ÿ’ป


Moaz bin Mokhtar

๐Ÿ“–

License

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

Alternative Projects

Subscribe to Open Source Businees Newsletter

Twice a month we will interview people behind open source businesses. We will talk about how they are building a business on top of open source projects.

We'll never share your email with anyone else.