
Qdrant Has a Free Vector Database API for AI and Semantic Search
Qdrant is a vector database built for AI applications — semantic search, recommendation systems, and RAG pipelines. REST and gRPC APIs with filtering and payload storage. Setup docker run -p 6333:6333 qdrant/qdrant Create Collection const response = await fetch ( ' http://localhost:6333/collections/products ' , { method : ' PUT ' , headers : { ' Content-Type ' : ' application/json ' }, body : JSON . stringify ({ vectors : { size : 384 , distance : ' Cosine ' } }) }); Index Documents with Embeddings import { QdrantClient } from ' @qdrant/js-client-rest ' ; const client = new QdrantClient ({ url : ' http://localhost:6333 ' }); // Upsert points with vectors and payload await client . upsert ( ' products ' , { points : [ { id : 1 , vector : await getEmbedding ( ' Wireless bluetooth headphones with noise cancellation ' ), payload : { name : ' Headphones ' , price : 89.99 , category : ' audio ' } }, { id : 2 , vector : await getEmbedding ( ' Mechanical keyboard with Cherry MX switches ' ), p
Continue reading on Dev.to
Opens in a new tab



