clean up todos from lancedb

This commit is contained in:
Daulet Amirkhanov 2025-09-07 20:48:58 +01:00
parent a79ca4a7a4
commit 6db69e635e

View file

@ -57,7 +57,7 @@ class LanceDBAdapter(VectorDBInterface):
def __init__(
self,
url: Optional[str], # TODO: consider if we want to make this required and/or api_key
url: Optional[str],
api_key: Optional[str],
embedding_engine: EmbeddingEngine,
):
@ -138,7 +138,7 @@ class LanceDBAdapter(VectorDBInterface):
id: UUID
vector: Vector[
vector_size
] # TODO: double check and consider raising this later in Pydantic
]
payload: Dict[str, Any]
if not await self.has_collection(collection_name):