TaskClassificationModel - Go SDK

TaskClassificationModel type definition

The Go SDK and docs are currently in beta. Report issues on GitHub.

Fields

FieldTypeRequiredDescriptionExample
IDstring✔️Model identifier (permaslug).openai/gpt-4.1-mini
TagTokenSharefloat64✔️Fraction of this classification’s sampled token volume attributed to this model (0–1). Sums to ≤1 across the returned models (only top-N are included and unattributed requests are excluded).0.75
TagUsageSharefloat64✔️Fraction of this classification’s sampled requests attributed to this model (0–1). Sums to ≤1 across the returned models (only top-N are included and unattributed requests are excluded).0.55