Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Vector length cleanup for Store confgis
Signed-off-by: jyejare <jyejare@redhat.com>
  • Loading branch information
jyejare committed Apr 23, 2025
commit 1e7ef9ad65e12e507e22c59127edac53422a253f
1 change: 0 additions & 1 deletion sdk/python/feast/infra/online_stores/sqlite.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ class SqliteOnlineStoreConfig(FeastConfigBaseModel, VectorStoreConfig):
""" (optional) Path to sqlite db """

vector_enabled: bool = False
vector_len: Optional[int] = None
text_search_enabled: bool = False


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1127,8 +1127,7 @@ def test_stored_writes_with_explode(self):
entity_key_serialization_version=3,
online_store=SqliteOnlineStoreConfig(
path=os.path.join(data_dir, "online.db"),
vector_enabled=True,
vector_len=5,
vector_enabled=True
),
)
)
Expand Down Expand Up @@ -1378,7 +1377,6 @@ def test_docling_transform(self):
online_store=SqliteOnlineStoreConfig(
path=os.path.join(data_dir, "online.db"),
vector_enabled=True,
vector_len=VECTOR_LEN,
),
)
)
Expand Down Expand Up @@ -1422,6 +1420,7 @@ def embed_chunk(input_string) -> dict[str, list[float]]:
name="vector",
dtype=Array(Float32),
vector_index=True,
vector_len=VECTOR_LEN,
vector_search_metric="L2",
),
],
Expand Down