app.utils.reasoning_utils module

Utility functions for displaying LLM reasoning in the dashboard.

This module provides helper functions to render the language model’s reasoning process and explanations from experiment results.

app.utils.reasoning_utils.write_reasoning(experiment_results: ExperimentResults) None[source]

Display the LLM’s reasoning process for each iteration.

Writes the reasoning text and concept names for each iteration, with the final summary iteration highlighted separately.

Parameters:

experiment_results – The experiment results containing reasoning data.