_display_aggregate_results() — langchain Function Reference
Architecture documentation for the _display_aggregate_results() function in runner_utils.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 9f2d07d1_c1f1_bf7e_d690_30c9e25f4004["_display_aggregate_results()"] 8253c602_7d0c_9195_a7e1_3e9b19304131["runner_utils.py"] 9f2d07d1_c1f1_bf7e_d690_30c9e25f4004 -->|defined in| 8253c602_7d0c_9195_a7e1_3e9b19304131 f2fb82ef_40a0_07e3_1d8e_3a52a5a502ce["finish()"] f2fb82ef_40a0_07e3_1d8e_3a52a5a502ce -->|calls| 9f2d07d1_c1f1_bf7e_d690_30c9e25f4004 8d744069_e975_7da0_ccb1_c99580663aed["_is_jupyter_environment()"] 9f2d07d1_c1f1_bf7e_d690_30c9e25f4004 -->|calls| 8d744069_e975_7da0_ccb1_c99580663aed style 9f2d07d1_c1f1_bf7e_d690_30c9e25f4004 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/langchain/langchain_classic/smith/evaluation/runner_utils.py lines 1306–1318
def _display_aggregate_results(aggregate_results: pd.DataFrame) -> None:
if _is_jupyter_environment():
from IPython.display import HTML, display
display(HTML("<h3>Experiment Results:</h3>")) # type: ignore[no-untyped-call]
display(aggregate_results) # type: ignore[no-untyped-call]
else:
formatted_string = aggregate_results.to_string(
float_format=lambda x: f"{x:.2f}",
justify="right",
)
print("\n Experiment Results:") # noqa: T201
print(formatted_string) # noqa: T201
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does _display_aggregate_results() do?
_display_aggregate_results() is a function in the langchain codebase, defined in libs/langchain/langchain_classic/smith/evaluation/runner_utils.py.
Where is _display_aggregate_results() defined?
_display_aggregate_results() is defined in libs/langchain/langchain_classic/smith/evaluation/runner_utils.py at line 1306.
What does _display_aggregate_results() call?
_display_aggregate_results() calls 1 function(s): _is_jupyter_environment.
What calls _display_aggregate_results()?
_display_aggregate_results() is called by 1 function(s): finish.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free