Skip to content

Commit

Permalink
edit uuid type
Browse files Browse the repository at this point in the history
  • Loading branch information
AmoghTantradi committed Jan 15, 2025
1 parent 1357fb3 commit c76b658
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lotus/vector_store/weaviate_vs.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def __call__(self,
indices=np.array(all_indices, dtype=np.int64).tolist()
)

def get_vectors_from_index(self, collection_name: str, ids: list[int]) -> NDArray[np.float64]:
def get_vectors_from_index(self, collection_name: str, ids: list[uuid4]) -> NDArray[np.float64]:
"""Retrieve vectors for specific document IDs"""
collection = self.client.collections.get(collection_name)

Expand Down

0 comments on commit c76b658

Please sign in to comment.