mirror of
https://github.com/open-webui/open-webui.git
synced 2025-10-11 05:13:06 +02:00
refac: styling
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user