Skip to content

ClassificationResponseData ​

The classification result data

Example Usage ​

typescript
import { ClassificationResponseData } from "@meetkai/mka1/models/components";

let value: ClassificationResponseData = {
  label: "<value>",
};

Fields ​

FieldTypeRequiredDescription
labelstring✔️The label selected by the model from the provided options. This is the classification result.
confidencenumber➖Optional confidence score between 0 and 1 indicating how confident the model is in its classification decision. Higher values indicate higher confidence.
reasoningstring➖Optional brief explanation from the model explaining why it chose this particular label. Provides transparency into the classification decision.