railyard/apps/relay/crates/tensorzero-node/lib/bindings/TopKEvaluationVisualization.ts

23 lines
739 B
TypeScript

// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { VariantSummary } from "./VariantSummary";
/**
* Visualization data for a top-k evaluation.
*/
export type TopKEvaluationVisualization = {
/**
* Map of variant names to their summary statistics.
*/
variant_summaries: { [key in string]: VariantSummary };
/**
* Sizes k where we can confidently identify a top-k set.
* For example, [2, 5] means there's statistical separation after the 2nd
* and 5th ranked variants (sorted by lower confidence bound descending).
*/
confident_top_k_sizes: Array<number>;
/**
* Explanation of the results for the user.
*/
summary_text?: string;
};