OutputChunkTimingStats
Namespace: Vercel.AI
public sealed class OutputChunkTimingStatsTiming statistics for the gaps between generated output chunks, in milliseconds.
Inheritance: object
Constructors
Section titled “Constructors”OutputChunkTimingStats(double, double, double, double, double, double)
Section titled “OutputChunkTimingStats(double, double, double, double, double, double)”public OutputChunkTimingStats(double min, double max, double avg, double median, double p10, double p90)Creates the statistics.
Parameters
| Name | Type | Description |
|---|---|---|
min |
double | |
max |
double | |
avg |
double | |
median |
double | |
p10 |
double | |
p90 |
double |
Properties
Section titled “Properties”public double Avg { get; }Average gap.
Value: double
public double Max { get; }Largest gap.
Value: double
Median
Section titled “Median”public double Median { get; }Median gap.
Value: double
public double Min { get; }Smallest gap.
Value: double
public double P10 { get; }10th percentile gap.
Value: double
public double P90 { get; }90th percentile gap.
Value: double
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product