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

18 lines
551 B
TypeScript

// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { VariantStatisticsRow } from "./VariantStatisticsRow";
/**
* Response type for the variant statistics endpoint.
*/
export type GetVariantStatisticsResponse = {
/**
* The quantile inputs (e.g. [0.001, 0.005, ..., 0.999]) — populated when ClickHouse
* is the backend, None on Postgres.
*/
quantiles?: Array<number>;
/**
* The aggregated variant statistics rows.
*/
data: Array<VariantStatisticsRow>;
};