Skip to content

theashishmavii/Qdrant-API-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Qdrant Vector Search API with Flask

This project provides a simple REST API built with Flask for storing and retrieving string data using vector embeddings in a Qdrant vector database. It allows users to store textual data and retrieve the most relevant matches based on partial input queries using cosine similarity.


🚀 Features

  • Store strings with their vector embeddings
  • Retrieve original strings using partial matches
  • Uses Qdrant as the vector search backend
  • Embeddings generated using SentenceTransformer
  • Fully containerized using Docker and Docker Compose
  • Easy-to-use API endpoints

static image of web page:

web image of index.html page


Setup Instructions

1. Clone the Repository

git clone https://github.com/theashishmavii/Qdrant-API-project.git

2. Make sure docker is running

docker-compose up --build

📁 Project Structure

.
├── app/
│ ├── init.py
│ ├── main.py
| ├──qdrant_client.py
| ├──embedding.py
│ └── static/
│ └── index.html # (Optional UI for testing)
├── .env # Environment variables
├── requirements.txt # Python dependencies
├── Dockerfile # Image for Flask service
├── docker-compose.yml # Setup Flask + Qdrant services
└── README.md # You’re here!

---

About

Store and search string data using embeddings + Qdrant vector database via Flask. Fully containerized with Docker.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors