Skip to content

Conversation

@ofekshenawa
Copy link
Contributor

This PR adds comprehensive support for SVS-VAMANA vector search algorithm in redis-py, providing a high-performance approximate nearest neighbor search capability with advanced compression options.

Core Implementation

  • Vector Field Support: Added SVS-VAMANA algorithm support to VectorField class

Compression Support

  • LVQ8 Compression: Memory-efficient vector compression
  • Training Threshold: Configurable compression training parameters

Build Parameters

  • CONSTRUCTION_WINDOW_SIZE: Controls graph construction quality
  • GRAPH_MAX_DEGREE: Maximum connections per node
  • SEARCH_WINDOW_SIZE: Search beam width
  • EPSILON: Search accuracy vs speed tradeoff
  • TRAINING_THRESHOLD: Minimum vectors needed for compression training
@ofekshenawa ofekshenawa marked this pull request as ready for review July 8, 2025 12:53
@ofekshenawa ofekshenawa requested a review from petyaslavova July 8, 2025 12:59
@ofekshenawa ofekshenawa force-pushed the add-support-for-vamana-vector-type-in-ft-create branch from 5542b84 to 7f78eb0 Compare July 9, 2025 08:16
@petyaslavova
Copy link
Collaborator

Several RESP 3 tests are failing. Can you take a look? Also, can you please add a few tests for async client - I don't think we need all the tests to be duplicated there - but just 3-4 that will contain the new configurations...

@ofekshenawa ofekshenawa force-pushed the add-support-for-vamana-vector-type-in-ft-create branch from 040992e to 5044695 Compare July 10, 2025 08:52
@ofekshenawa ofekshenawa force-pushed the add-support-for-vamana-vector-type-in-ft-create branch from 2fb3633 to 1171e0e Compare July 10, 2025 18:39
@petyaslavova petyaslavova merged commit a757bad into master Jul 14, 2025
66 of 68 checks passed
@petyaslavova petyaslavova deleted the add-support-for-vamana-vector-type-in-ft-create branch July 14, 2025 07:31
@petyaslavova petyaslavova added the maintenance Maintenance (CI, Releases, etc) label Jul 17, 2025
petyaslavova pushed a commit that referenced this pull request Jul 25, 2025
* Support new vector type * Skip VAMANA tests is redis versin is not 8.2 * Add async tests * Fix resp 3 errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Maintenance (CI, Releases, etc)

3 participants