Update oracle_impl.py
This commit is contained in:
parent
0b6b0064d6
commit
10e4c595c5
1 changed files with 1 additions and 1 deletions
|
|
@ -279,7 +279,7 @@ class OracleVectorDBStorage(BaseVectorStorage):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
#################### query method ################
|
#################### query method ###############
|
||||||
async def query(self, query: str, top_k=5) -> Union[dict, list[dict]]:
|
async def query(self, query: str, top_k=5) -> Union[dict, list[dict]]:
|
||||||
"""从向量数据库中查询数据"""
|
"""从向量数据库中查询数据"""
|
||||||
embeddings = await self.embedding_func([query])
|
embeddings = await self.embedding_func([query])
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue