UNPKG

@cognigy/rest-api-client

Version:

Cognigy REST-Client

52 lines 1.93 kB
export const trainGroupFeedbackFindingArrayType = [ "poorAccuracy", "fairAccuracy", "goodAccuracy" ]; export const 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: [...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