jin
commited on
Commit
·
3d5f261
1
Parent(s):
786682f
Update oracle_impl.py
Browse files
lightrag/kg/oracle_impl.py
CHANGED
@@ -279,7 +279,7 @@ class OracleVectorDBStorage(BaseVectorStorage):
|
|
279 |
pass
|
280 |
|
281 |
|
282 |
-
#################### query method
|
283 |
async def query(self, query: str, top_k=5) -> Union[dict, list[dict]]:
|
284 |
"""从向量数据库中查询数据"""
|
285 |
embeddings = await self.embedding_func([query])
|
|
|
279 |
pass
|
280 |
|
281 |
|
282 |
+
#################### query method ###############
|
283 |
async def query(self, query: str, top_k=5) -> Union[dict, list[dict]]:
|
284 |
"""从向量数据库中查询数据"""
|
285 |
embeddings = await self.embedding_func([query])
|