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