Skip to content

feat: add Qdrant pkg#4

Merged
Shinu95J merged 11 commits into
mainfrom
feat/add_qdrant_pkg
Nov 10, 2025
Merged

feat: add Qdrant pkg#4
Shinu95J merged 11 commits into
mainfrom
feat/add_qdrant_pkg

Conversation

@Shinu95J
Copy link
Copy Markdown
Contributor

@Shinu95J Shinu95J commented Nov 6, 2025

  • Adds a new qdrant package that integrates the Qdrant vector database client into the Fx application.

Includes:

  • Config struct with environment/YAML support and builder-style helpers
  • FXModule with lifecycle-managed client and embeddings store
  • NewQdrantClient for connection setup and health checks
  • NewEmbeddingsStore abstraction for vector operations

Purpose:
Establishes a clean, testable foundation for interacting with Qdrant in a modular and dependency-injected way.

Comment thread pkg/qdrant/setup.go Outdated
Comment thread pkg/qdrant/setup.go Outdated
Comment thread pkg/qdrant/utils.go Outdated
Comment thread pkg/qdrant/setup.go Outdated
Comment thread pkg/qdrant/utils.go
Shinu95J and others added 6 commits November 7, 2025 16:38
Add integration test suite for qdrant package with testcontainers support.
Tests cover FX module integration, CRUD operations, batch inserts (up to 500
embeddings), error handling, and lifecycle management.

- Add testcontainer infrastructure (setup, port management, readiness checks)
- Add Config.Port field (separate from Endpoint) to align with Qdrant SDK
- Update NewQdrantClient to pass Host and Port separately
- Add tests: FX module, CRUD ops, batch insert, search with topK/metadata, error scenarios
Comment thread pkg/qdrant/operations.go Outdated
@Shinu95J Shinu95J merged commit f75c8fc into main Nov 10, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants