Skip to content

Support new VAMANA vector type #3702

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

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
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