refac: styling

This commit is contained in:
Timothy Jaeryang Baek
2024-12-19 20:56:16 -08:00
parent ef5a5be60d
commit 50f36a5262
2 changed files with 218 additions and 220 deletions

View File

@@ -70,7 +70,9 @@ def query_doc(
limit=k,
)
log.info(f"query_doc:result {result.ids} {result.metadatas}")
if result:
log.info(f"query_doc:result {result.ids} {result.metadatas}")
return result
except Exception as e:
print(e)