ClassificationResponse
Response from the text classification endpoint containing the classification result, confidence, and metadata.
Example Usage
typescript
import { ClassificationResponse } from "@meetkai/mka1/models/components";
let value: ClassificationResponse = {
success: true,
data: {
label: "<value>",
},
metadata: {
model: "Impala",
labels: [],
classifiedAt: "<value>",
},
};Fields
| Field | Type | Required | Description |
|---|---|---|---|
success | boolean | ✔️ | Indicates whether the classification request was successful |
data | components.ClassificationResponseData | ✔️ | The classification result data |
metadata | components.Metadata | ✔️ | Metadata about the classification request and execution |