Optional
datasetID of the dataset run in Langfuse (only for experiments on Langfuse datasets).
Present only when running experiments on Langfuse datasets. Use this ID to access the dataset run via the Langfuse API or UI for detailed analysis and comparison with other runs.
Optional
datasetURL to the dataset run in the Langfuse UI (only for experiments on Langfuse datasets).
Direct link to view the complete dataset run in the Langfuse web interface, including all experiment results, traces, and analytics. Provides easy access to detailed analysis and visualization of the experiment.
Function to format experiment results in a human-readable format.
Generates a comprehensive, nicely formatted summary including individual results, aggregate statistics, evaluation scores, and links to traces and dataset runs.
Optional
options: { includeItemResults?: boolean }Formatting options
Optional
includeItemResults?: booleanWhether to include individual item details (default: false)
Promise resolving to formatted string representation
Results from processing each individual data item.
Contains the complete results for every item in your experiment data, including inputs, outputs, evaluations, and trace information. Use this for detailed analysis of individual item performance.
Results from run-level evaluators that assessed the entire experiment.
Contains aggregate evaluations that analyze the complete experiment, such as average scores, statistical measures, or overall quality assessments.
The experiment run name.
This is equal to the dataset run name if experiment was on Langfuse dataset. Either the provided runName parameter or generated name (experiment name + timestamp).
Complete result of an experiment execution.
Contains all results from processing the experiment data, including individual item results, run-level evaluations, and utilities for result visualization.
Example: Using experiment results