Qdrant DevContainer for File Embeddings logo

Qdrant DevContainer for File Embeddings

by questmapping

This project provides a development container setup for running Qdrant with file embeddings. It includes everything needed to index and search text documents using vector similarity search.

View on GitHub

Last updated: N/A

What is Qdrant DevContainer for File Embeddings?

This is a development container that sets up Qdrant, a vector database, for indexing and searching text documents using vector similarity search. It provides a pre-configured environment with all the necessary dependencies for working with file embeddings.

How to use Qdrant DevContainer for File Embeddings?

  1. Ensure Docker Desktop is running. 2. Open the project folder in VS Code. 3. Reopen the project in the Dev Container. 4. Place your text files in the data/ directory. 5. Run the ingestion script (python ingest.py) from within the container.

Key features of Qdrant DevContainer for File Embeddings

  • Qdrant vector database running in the background

  • Automatic file indexing using sentence-transformers

  • Python environment with all necessary dependencies

  • VS Code Python extension pre-installed

Use cases of Qdrant DevContainer for File Embeddings

  • Indexing and searching text documents

  • Building RAG (Retrieval-Augmented Generation) applications

  • Similarity search on text data

  • Developing and testing Qdrant-based applications

FAQ from Qdrant DevContainer for File Embeddings

How do I access Qdrant?

After the container is built, you should be able to access Qdrant at http://localhost:6333.

What files are supported?

The container supports text files (.txt), markdown files (.md), and PDF files (.pdf) in the data directory.

What embedding model is used?

The container uses all-MiniLM-L6-v2 for text embeddings.

What if the container fails to start?

Ensure Docker Desktop is running, check that no other process is using the dynamically assigned port, and verify all dependencies are properly installed.

What if files aren't being indexed?

Check that files are in the data/ directory, verify file extensions are supported, and ensure files are readable by the container.