Skip to content

Commit

Permalink
VEC-224: Add support for sparse and hybrid indexes
Browse files Browse the repository at this point in the history
Added support for sparse and hybrid vectors to upsert, query, resumable query,
fetch, update, and range apis. Also, added new query options for
sparse and hybrid indexes; namely the weighting strategy and
fusion algorithm.
  • Loading branch information
mdumandag committed Dec 12, 2024
1 parent 7f3d779 commit 07bb812
Show file tree
Hide file tree
Showing 22 changed files with 2,485 additions and 374 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.8

Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.8

Expand All @@ -40,6 +40,9 @@ jobs:
export TOKEN="${{secrets.TOKEN}}"
export EMBEDDING_URL="${{secrets.EMBEDDING_URL}}"
export EMBEDDING_TOKEN="${{secrets.EMBEDDING_TOKEN}}"
poetry add --dev pytest
export SPARSE_URL="${{secrets.SPARSE_URL}}"
export SPARSE_TOKEN="${{secrets.SPARSE_TOKEN}}"
export HYBRID_URL="${{secrets.HYBRID_URL}}"
export HYBRID_TOKEN="${{secrets.HYBRID_TOKEN}}"
poetry install
poetry run pytest
Loading

0 comments on commit 07bb812

Please sign in to comment.