ClassifyTextData
The classification result data
Example Usage
typescript
import { ClassifyTextData } from "@meetkai/mka1/models/operations";
let value: ClassifyTextData = {
label: "<value>",
};Fields
| Field | Type | Required | Description |
|---|---|---|---|
label | string | ✔️ | The label selected by the model from the provided options. This is the classification result. |
confidence | number | ➖ | Optional confidence score between 0 and 1 indicating how confident the model is in its classification decision. Higher values indicate higher confidence. |
reasoning | string | ➖ | Optional brief explanation from the model explaining why it chose this particular label. Provides transparency into the classification decision. |