Supported Types
PercentileThroughputCutoffs
Union Discrimination
Use theType field to determine which variant is active, then access the corresponding field:
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
preferredMinThroughput := components.CreatePreferredMinThroughputNumber(float64{/* values here */})
preferredMinThroughput := components.CreatePreferredMinThroughputPercentileThroughputCutoffs(components.PercentileThroughputCutoffs{/* values here */})
Type field to determine which variant is active, then access the corresponding field:
switch preferredMinThroughput.Type {
case components.PreferredMinThroughputTypeNumber:
// preferredMinThroughput.Number is populated
case components.PreferredMinThroughputTypePercentileThroughputCutoffs:
// preferredMinThroughput.PercentileThroughputCutoffs is populated
}