UNPKG

@cognigy/rest-api-client

Version:

Cognigy REST-Client

64 lines 2.57 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.aiAgentSchema = exports.aiAgentDataSchema = exports.contactProfileOptions = void 0; /* Interfaces & Types */ const IEntityMeta_1 = require("./IEntityMeta"); exports.contactProfileOptions = ["none", "selectedProfileFields", "completeProfile", "profileMemoriesOnly"]; exports.aiAgentDataSchema = { title: "aiAgentDataSchema", type: "object", additionalProperties: false, required: ["name"], properties: { name: { type: "string", format: "resource-name" }, image: { type: "string" }, imageOptimizedFormat: { type: "boolean" }, knowledgeReferenceId: { type: ["string", "null"], format: "uuid" }, description: { type: "string", maxLength: 1000 }, speakingStyle: { type: "object", properties: { completeness: { type: "string" }, formality: { type: "string" } } }, voiceConfigs: { type: "object", properties: { ttsVoice: { type: "string" }, ttsLanguage: { type: "string" }, ttsVendor: { type: "string" }, ttsModel: { type: "string" }, ttsLabel: { type: "string" }, ttsDisableCache: { type: "boolean" } } }, enableVoiceConfigs: { type: "boolean" }, safetySettings: { type: "object", properties: { avoidHarmfulContent: { type: "boolean" }, avoidUngroundedContent: { type: "boolean" }, avoidCopyrightInfringements: { type: "boolean" }, preventJailbreakAndManipulation: { type: "boolean" } } }, instructions: { type: "string", maxLength: 1000 }, contactProfilesOption: { type: "string", enum: [...exports.contactProfileOptions] }, contactProfilesSelected: { type: "array", items: { type: "string" } } } }; exports.aiAgentSchema = { title: "aiAgentSchema", type: "object", additionalProperties: false, properties: Object.assign(Object.assign(Object.assign({}, IEntityMeta_1.entityMetaSchema.properties), exports.aiAgentDataSchema.properties), { referenceId: { type: "string", format: "uuid" }, projectReference: { type: "string", format: "mongo-id" }, organisationReference: { type: "string", format: "mongo-id" } }) }; //# sourceMappingURL=IAiAgent.js.map