ruff format
This commit is contained in:
parent
cd4e2e7063
commit
5c3a56a7fc
1 changed files with 2 additions and 2 deletions
|
|
@ -137,7 +137,7 @@ class LanceDBAdapter(VectorDBInterface):
|
||||||
"""
|
"""
|
||||||
|
|
||||||
id: str
|
id: str
|
||||||
vector: Vector(vector_size) # type: ignore
|
vector: Vector(vector_size) # type: ignore
|
||||||
payload: str # JSON string for LanceDB compatibility
|
payload: str # JSON string for LanceDB compatibility
|
||||||
|
|
||||||
if not await self.has_collection(collection_name):
|
if not await self.has_collection(collection_name):
|
||||||
|
|
@ -186,7 +186,7 @@ class LanceDBAdapter(VectorDBInterface):
|
||||||
"""
|
"""
|
||||||
|
|
||||||
id: str
|
id: str
|
||||||
vector: Vector(vector_size) # type: ignore
|
vector: Vector(vector_size) # type: ignore
|
||||||
payload: str # JSON string for LanceDB compatibility
|
payload: str # JSON string for LanceDB compatibility
|
||||||
|
|
||||||
def create_lance_data_point(data_point: DataPoint, vector: List[float]) -> Any:
|
def create_lance_data_point(data_point: DataPoint, vector: List[float]) -> Any:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue