UNPKG

@cognigy/rest-api-client

Version:

Cognigy REST-Client

55 lines 2.1 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.trainGroupFeedbackReportDataSchema = exports.trainGroupFeedbackFindingArrayType = void 0; exports.trainGroupFeedbackFindingArrayType = [ "poorAccuracy", "fairAccuracy", "goodAccuracy" ]; exports.trainGroupFeedbackReportDataSchema = { title: "trainGroupFeedbackReportDataSchema", type: "object", additionalProperties: false, properties: { info: { type: "object", additionalProperties: false, properties: { accuracy: { type: "number" }, fScore: { type: "number" } } }, findings: { type: "array", additionalItems: false, items: { type: "object", additionalProperties: false, required: ["type"], properties: { type: { type: "string", enum: [...exports.trainGroupFeedbackFindingArrayType, "lowDataIntents"] }, intents: { type: "array", additionalItems: false, items: { type: "object", additionalProperties: false, properties: { // The referenceId can also equal 'Reject', hence cannot have a format intentReferenceId: { type: ["string", "null"] }, intentName: { type: ["string", "null"] }, flowId: { type: ["string", "null"], format: "mongo-id" }, flowName: { type: ["string", "null"] }, intentId: { type: ["string", "null"], format: "mongo-id" } } } } } } }, } }; //# sourceMappingURL=ITrainGroupFeedbackReport.js.map