Add logging for empty naive query results in vector context
This commit is contained in:
parent
f1ff5cf93f
commit
b6aedba7ae
1 changed files with 1 additions and 0 deletions
|
|
@ -2057,6 +2057,7 @@ async def _get_vector_context(
|
||||||
|
|
||||||
results = await chunks_vdb.query(query, top_k=search_top_k, ids=query_param.ids)
|
results = await chunks_vdb.query(query, top_k=search_top_k, ids=query_param.ids)
|
||||||
if not results:
|
if not results:
|
||||||
|
logger.info(f"Naive query: 0 chunks (chunk_top_k: {search_top_k})")
|
||||||
return []
|
return []
|
||||||
|
|
||||||
valid_chunks = []
|
valid_chunks = []
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue