chore: format

This commit is contained in:
Timothy Jaeryang Baek
2026-01-09 22:27:53 +04:00
parent 3c986adeda
commit 5990c51ab5
13 changed files with 83 additions and 25 deletions

View File

@@ -69,7 +69,11 @@ class ChromaClient(VectorDBBase):
return self.client.delete_collection(name=collection_name)
def search(
self, collection_name: str, vectors: list[list[float | int]], filter: Optional[dict] = None, limit: int = 10
self,
collection_name: str,
vectors: list[list[float | int]],
filter: Optional[dict] = None,
limit: int = 10,
) -> Optional[SearchResult]:
# Search for the nearest neighbor items based on the vectors and return 'limit' number of results.
try: