INNER CODE UNIT · Python
results
yifanfeng97/Hyper-Extract · hyperextract/cli/cli.py:1083
results = ka.search(query, top_k=top_k, **scope_kwargs)
hits = coerce_search_results(results)
logger.info("stage=search_complete results=%d", hits.count)
except Exception as e:
console.print(f"[red]Error:[/red] {e}")
raise typer.Exit(1)
console.print()
_print_search_hits(hits)
console.print("[dim]Continue:[/dim]")
console.print(
f'[dim] he talk {ka_path} -q "question about results" # Deep dive[/dim]'
)
console.print(
f"[dim] he talk {ka_path} -i # Interactive mode[/dim]"
)