Skip to content

Commit

Permalink
Adds not implemented for from_dict; fixes sqlite-vss install in workf…
Browse files Browse the repository at this point in the history
…low.
  • Loading branch information
alanmeeson committed Mar 31, 2024
1 parent 81a1df1 commit 115a66c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ jobs:
python-version: ['3.9', '3.10']

steps:
- name: Install sqlite-vss on linux
if: matrix.os == 'ubuntu-latest'
run: pip install sqlite-vss
- name: Support longpaths
if: matrix.os == 'windows-latest'
run: git config --system core.longpaths true
Expand All @@ -41,6 +38,10 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Install sqlite-vss on linux
if: matrix.os == 'ubuntu-latest'
run: pip install sqlite-vss

- name: Install Hatch
run: pip install --upgrade hatch

Expand Down
4 changes: 4 additions & 0 deletions src/sqlite_haystack/embedding_retriever.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,3 +230,7 @@ def _create_vss_index(self):
class SQLiteVSSEmbeddingRetriever: # type: ignore
def __init__(self, *args, **kwargs):
raise NotImplementedError

@classmethod
def from_dict(cls, *args, **kwargs):
raise NotImplementedError

0 comments on commit 115a66c

Please sign in to comment.