Skip to content

Commit

Permalink
made changes to weaviate file
Browse files Browse the repository at this point in the history
  • Loading branch information
AmoghTantradi committed Jan 16, 2025
1 parent a76adb7 commit c3e0f0c
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 @@ -123,7 +123,7 @@ def __call__(self,
distances.append(1 - distance) # Convert distance to similarity
# Pad results if fewer than K matches
while len(indices) < K:
indices.append(uuid.UUID(0))
indices.append(uuid.UUID(int=0))
distances.append(0.0)

all_distances.append(distances)
Expand Down

0 comments on commit c3e0f0c

Please sign in to comment.