Skip to content

Commit

Permalink
Fix databricks vector search metadata (run-llama#12999)
Browse files Browse the repository at this point in the history
  • Loading branch information
Data-drone authored and mattf committed Apr 25, 2024
1 parent 28813c1 commit 77f22d3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,8 @@ def add(
metadata_columns = self.columns or []

# explicitly record doc_id as metadata (for delete)
metadata_columns.append("doc_id")
if "doc_id" not in metadata_columns:
metadata_columns.append("doc_id")

entry = {
self._primary_key: node_id,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ description = "llama-index vector_stores databricks vector search integration"
license = "MIT"
name = "llama-index-vector-stores-databricks"
readme = "README.md"
version = "0.1.1"
version = "0.1.2"

[tool.poetry.dependencies]
python = ">=3.8.1,<3.12"
Expand Down

0 comments on commit 77f22d3

Please sign in to comment.