UNPKG

@cognigy/rest-api-client

Version:

Cognigy REST-Client

54 lines 2.16 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.sharedSettingsSchema = void 0; /* Interfaces & Types */ const IYesNoItem_1 = require("../yesNoIntent/IYesNoItem"); exports.sharedSettingsSchema = { title: "sharedSettingsSchema", type: "object", additionalProperties: false, properties: { /** * All fields can be set to null. This will * be done by the frontend to reset a shared field * so that the setting is inherited from the agent settings */ intentThreshold: { type: ["object", "null"], additionalProperties: false, properties: { lower: { type: "number" }, upper: { type: "number" } } }, learnNewExampleSentences: { type: ["boolean", "null"] }, learnNewExampleSentencesThreshold: { type: ["integer", "null"] }, negativeConfirmationWords: { type: ["array", "null"], items: { type: "string" } }, positiveConfirmationWords: { type: ["array", "null"], items: { type: "string" } }, systemSlots: { type: ["object", "null"], additionalProperties: false, properties: { useAgeSlots: { type: ["boolean", "null"] }, useDateSlots: { type: ["boolean", "null"] }, useDistanceSlots: { type: ["boolean", "null"] }, useDurationSlots: { type: ["boolean", "null"] }, useEmailSlots: { type: ["boolean", "null"] }, useMoneySlots: { type: ["boolean", "null"] }, useNumberSlots: { type: ["boolean", "null"] }, usePercentageSlots: { type: ["boolean", "null"] }, useTemperatureSlots: { type: ["boolean", "null"] }, useURLSlots: { type: ["boolean", "null"] } } }, yesNoLogic: { type: ["string", "null"], enum: [...IYesNoItem_1.yesNoLogic, null] }, yesNoIntentThreshold: { type: ["number", "null"] } } }; //# sourceMappingURL=ISharedSettings.js.map