Files
confident-ai--deepeval/deepeval/inspect/__init__.py
T
2026-07-13 13:32:05 +08:00

12 lines
441 B
Python

"""TUI for inspecting `test_run_*.json` files. CLI entry: `deepeval inspect [PATH]`."""
def run_inspect(path: str) -> None:
# Lazy imports keep `import deepeval.inspect` free of Textual /
# pyperclip until the user actually invokes the TUI.
from deepeval.inspect.app import InspectApp
from deepeval.inspect.loader import load_test_run
traces = load_test_run(path)
InspectApp(traces=traces, source_path=path).run()