Update oracle_impl.py

This commit is contained in:
jin 2024-11-11 15:24:31 +08:00
parent 40b532722c
commit f905305eed

View file

@ -279,7 +279,7 @@ class OracleVectorDBStorage(BaseVectorStorage):
pass
#################### query method ################
#################### query method ###############
async def query(self, query: str, top_k=5) -> Union[dict, list[dict]]:
"""从向量数据库中查询数据"""
embeddings = await self.embedding_func([query])