@cognigy/rest-api-client 0.20.0 → 4.93.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/build/GenericUploadFn.js +5 -3
- package/build/authentication/AuthenticationAPI.js +15 -0
- package/build/authentication/BasicAuthentication/BasicAuthentication.js +2 -1
- package/build/authentication/OAuth2/OAuth2Authentication.js +2 -4
- package/build/shared/charts/descriptors/index.js +1 -0
- package/build/shared/charts/descriptors/nlu/utils/patternMatcher.js +1 -0
- package/build/shared/charts/descriptors/service/aiAgent/aiAgentJob.js +45 -20
- package/build/shared/charts/descriptors/service/aiAgent/{helper.js → helpers/createSystemMessage.js} +2 -31
- package/build/shared/charts/descriptors/service/aiAgent/helpers/generateSearchPrompt.js +81 -0
- package/build/shared/charts/descriptors/service/aiAgent/helpers/getUserMemory.js +53 -0
- package/build/shared/charts/descriptors/service/handoverV2.js +39 -0
- package/build/shared/charts/descriptors/service/index.js +3 -1
- package/build/shared/charts/descriptors/service/jwtSecret.js +10 -0
- package/build/shared/charts/descriptors/voice/mappers/setSessionConfig.mapper.js +190 -130
- package/build/shared/charts/descriptors/voicegateway2/utils/strip-nulls.js +30 -20
- package/build/shared/helper/nlu/dicts/dicts.js +15 -1
- package/build/shared/helper/nlu/textCleaner.js +15 -5
- package/build/shared/interfaces/generativeAI/IGenerativeAIModels.js +1 -0
- package/build/shared/interfaces/license.js.map +1 -0
- package/build/shared/interfaces/restAPI/administration/user/v2.0/IExchangeOneTimeTokenForRefreshTokenRest_2_0.js +3 -0
- package/build/shared/interfaces/security/index.js +1 -3
- package/build/test.js +1 -0
- package/dist/esm/GenericAPIFn.js +15 -0
- package/dist/esm/GenericTusFn.js +66 -0
- package/dist/esm/GenericUploadFn.js +35 -0
- package/dist/esm/IRestApiClientConfig.js +2 -0
- package/dist/esm/PluginBase.js +30 -0
- package/dist/esm/RestAPIClient.js +125 -0
- package/dist/esm/apigroups/AdministrationAPIGroup_2_0.js +113 -0
- package/dist/esm/apigroups/AdministrationAPIGroup_2_1.js +9 -0
- package/dist/esm/apigroups/AnalyticsAPIGroup_2_0.js +8 -0
- package/dist/esm/apigroups/ExternalAPIGroup_2_0.js +16 -0
- package/dist/esm/apigroups/IAPIGroupVersionConfiguration.js +2 -0
- package/dist/esm/apigroups/InsightsAPIGroup_2_0.js +44 -0
- package/dist/esm/apigroups/JWTAuthAPIGroup_2_0.js +8 -0
- package/dist/esm/apigroups/ManagementAPIGroup_2_0.js +34 -0
- package/dist/esm/apigroups/MetricsAPIGroup_2_0.js +70 -0
- package/dist/esm/apigroups/ResourcesAPIGroup_2_0.js +610 -0
- package/dist/esm/apigroups/SessionsAPIGroup_2_0.js +26 -0
- package/dist/esm/apigroups/TRestAPIGroupsTypeByConfiguration.js +2 -0
- package/dist/esm/apigroups/TRestAPIOperation.js +2 -0
- package/dist/esm/apigroups/TTusAPIOperation.js +2 -0
- package/dist/esm/apigroups/index.js +13 -0
- package/dist/esm/authentication/ApiKey/ApiKeyAuthentication.js +21 -0
- package/dist/esm/authentication/ApiKey/IApiKeyAuthentication.js +2 -0
- package/dist/esm/authentication/AuthenticationAPI.js +56 -0
- package/dist/esm/authentication/BasicAuthentication/BasicAuthentication.js +30 -0
- package/dist/esm/authentication/BasicAuthentication/IBasicAuthentication.js +2 -0
- package/dist/esm/authentication/OAuth2/IGetAuthorizationCodeParameters.js +2 -0
- package/dist/esm/authentication/OAuth2/ILoginByAuthorizationCodeParameters.js +2 -0
- package/dist/esm/authentication/OAuth2/ILoginByClientCredentialsParameters.js +2 -0
- package/dist/esm/authentication/OAuth2/ILoginByPasswordParameters.js +2 -0
- package/dist/esm/authentication/OAuth2/ILoginByRefreshTokenParameters.js +2 -0
- package/dist/esm/authentication/OAuth2/IOAuth2Authentication.js +2 -0
- package/dist/esm/authentication/OAuth2/IOAuth2AuthorizationCodeGrantRequest.js +10 -0
- package/dist/esm/authentication/OAuth2/IOAuth2ClientCredentialsGrantAccessTokenRequest.js +10 -0
- package/dist/esm/authentication/OAuth2/IOAuth2ClientPassword.js +2 -0
- package/dist/esm/authentication/OAuth2/IOAuth2ErrorResponse.js +38 -0
- package/dist/esm/authentication/OAuth2/IOAuth2GetAuthorizationCodeRequest.js +10 -0
- package/dist/esm/authentication/OAuth2/IOAuth2PasswordGrantAccessTokenRequest.js +10 -0
- package/dist/esm/authentication/OAuth2/IOAuth2RefreshAccessTokenRequest.js +11 -0
- package/dist/esm/authentication/OAuth2/IOAuth2SuccessResponse.js +2 -0
- package/dist/esm/authentication/OAuth2/OAuth2Authentication.js +241 -0
- package/dist/esm/authentication/OAuth2/OAuth2Error.js +6 -0
- package/dist/esm/authentication/OAuth2/TOAuth2AccessTokenType.js +2 -0
- package/dist/esm/authentication/interfaces/IAuthenticationAdapter.js +2 -0
- package/dist/esm/authentication/interfaces/IAuthenticationConstructor.js +2 -0
- package/dist/esm/authentication/interfaces/TAuthenticationParameter.js +2 -0
- package/dist/esm/connector/AxiosAdapter.js +191 -0
- package/dist/esm/connector/IHttpAdapter.js +2 -0
- package/dist/esm/connector/IHttpProgressEvent.js +2 -0
- package/dist/esm/connector/IHttpRequest.js +2 -0
- package/dist/esm/connector/IHttpResponse.js +2 -0
- package/dist/esm/connector/THttpLib.js +2 -0
- package/dist/esm/connector/TMethod.js +2 -0
- package/dist/esm/connector/exponentialDelay.js +18 -0
- package/dist/esm/connector/index.js +6 -0
- package/dist/esm/connector/isRetryAllowed.js +55 -0
- package/dist/esm/connector/isRetryableStatus.js +10 -0
- package/dist/esm/connector/retryAfterDelay.js +30 -0
- package/dist/esm/index.js +11 -0
- package/dist/esm/shared/api/eightByEight/eightByEightInterfaces.js +2 -0
- package/dist/esm/shared/api/liveAgent/liveAgentInterfaces.js +2 -0
- package/dist/esm/shared/cache/index.js +2 -0
- package/dist/esm/shared/charts/createNodeDescriptor.js +33 -0
- package/dist/esm/shared/charts/descriptors/agentAssist/constants/constants.js +19 -0
- package/dist/esm/shared/charts/descriptors/agentAssist/helpers/agentAssistTranslator.helper.js +15 -0
- package/dist/esm/shared/charts/descriptors/agentAssist/helpers/determineMetadata.js +11 -0
- package/dist/esm/shared/charts/descriptors/agentAssist/helpers/getFontSizeFieldOptions.js +81 -0
- package/dist/esm/shared/charts/descriptors/agentAssist/helpers/getLanguageName.helper.js +29 -0
- package/dist/esm/shared/charts/descriptors/agentAssist/helpers/knowledgeSearch/answerExtraction.helper.js +58 -0
- package/dist/esm/shared/charts/descriptors/agentAssist/helpers/knowledgeSearch/configValidator.helper.js +16 -0
- package/dist/esm/shared/charts/descriptors/agentAssist/helpers/knowledgeSearch/errorHandler.helper.js +60 -0
- package/dist/esm/shared/charts/descriptors/agentAssist/helpers/knowledgeSearch/followUpDetection.helper.js +71 -0
- package/dist/esm/shared/charts/descriptors/agentAssist/helpers/knowledgeSearch/knowledgeSearch.helper.js +57 -0
- package/dist/esm/shared/charts/descriptors/agentAssist/helpers/sentiment.helper.js +32 -0
- package/dist/esm/shared/charts/descriptors/agentAssist/htmlTemplates/identityAssistTemplate.js +51 -0
- package/dist/esm/shared/charts/descriptors/agentAssist/htmlTemplates/knowledgeAssistTemplate.js +376 -0
- package/dist/esm/shared/charts/descriptors/agentAssist/htmlTemplates/nextActionWidgetTemplate.js +223 -0
- package/dist/esm/shared/charts/descriptors/agentAssist/htmlTemplates/secureForms/stage0.js +79 -0
- package/dist/esm/shared/charts/descriptors/agentAssist/htmlTemplates/secureForms/stage1.js +82 -0
- package/dist/esm/shared/charts/descriptors/agentAssist/htmlTemplates/secureForms/stage2.js +95 -0
- package/dist/esm/shared/charts/descriptors/agentAssist/htmlTemplates/secureForms/stageError.js +83 -0
- package/dist/esm/shared/charts/descriptors/agentAssist/htmlTemplates/sentimentAnalysisTemplate.js +44 -0
- package/dist/esm/shared/charts/descriptors/agentAssist/htmlTemplates/stylesPartial.js +13 -0
- package/dist/esm/shared/charts/descriptors/agentAssist/htmlTemplates/transcriptAssistTemplate.js +53 -0
- package/dist/esm/shared/charts/descriptors/agentAssist/identityAssist.js +206 -0
- package/dist/esm/shared/charts/descriptors/agentAssist/index.js +12 -0
- package/dist/esm/shared/charts/descriptors/agentAssist/knowledgeAssist.js +488 -0
- package/dist/esm/shared/charts/descriptors/agentAssist/locales/cs.locale.js +9 -0
- package/dist/esm/shared/charts/descriptors/agentAssist/locales/de.locale.js +9 -0
- package/dist/esm/shared/charts/descriptors/agentAssist/locales/en.locale.js +9 -0
- package/dist/esm/shared/charts/descriptors/agentAssist/locales/es.locale.js +9 -0
- package/dist/esm/shared/charts/descriptors/agentAssist/locales/fr.locale.js +9 -0
- package/dist/esm/shared/charts/descriptors/agentAssist/locales/index.js +19 -0
- package/dist/esm/shared/charts/descriptors/agentAssist/locales/ja.locale.js +9 -0
- package/dist/esm/shared/charts/descriptors/agentAssist/locales/ko.locale.js +9 -0
- package/dist/esm/shared/charts/descriptors/agentAssist/locales/pt.locale.js +9 -0
- package/dist/esm/shared/charts/descriptors/agentAssist/nextActionAssist.js +549 -0
- package/dist/esm/shared/charts/descriptors/agentAssist/sendData.js +72 -0
- package/dist/esm/shared/charts/descriptors/agentAssist/sentimentAssist.js +107 -0
- package/dist/esm/shared/charts/descriptors/agentAssist/setAdaptiveCardTile.js +74 -0
- package/dist/esm/shared/charts/descriptors/agentAssist/setAgentAssistGrid.js +119 -0
- package/dist/esm/shared/charts/descriptors/agentAssist/setHtmlTile.js +98 -0
- package/dist/esm/shared/charts/descriptors/agentAssist/setIframeTile.js +86 -0
- package/dist/esm/shared/charts/descriptors/agentAssist/setSecureFormsTile.js +169 -0
- package/dist/esm/shared/charts/descriptors/agentAssist/transcriptAssist.js +109 -0
- package/dist/esm/shared/charts/descriptors/allFields.js +242 -0
- package/dist/esm/shared/charts/descriptors/analytics/activateProfile.js +25 -0
- package/dist/esm/shared/charts/descriptors/analytics/addMemory.js +49 -0
- package/dist/esm/shared/charts/descriptors/analytics/blindMode.js +57 -0
- package/dist/esm/shared/charts/descriptors/analytics/completeGoal.js +44 -0
- package/dist/esm/shared/charts/descriptors/analytics/deactivateProfile.js +32 -0
- package/dist/esm/shared/charts/descriptors/analytics/deleteProfile.js +25 -0
- package/dist/esm/shared/charts/descriptors/analytics/helper.js +16 -0
- package/dist/esm/shared/charts/descriptors/analytics/index.js +13 -0
- package/dist/esm/shared/charts/descriptors/analytics/mergeProfile.js +35 -0
- package/dist/esm/shared/charts/descriptors/analytics/overwriteAnalytics.js +240 -0
- package/dist/esm/shared/charts/descriptors/analytics/requestRating.js +109 -0
- package/dist/esm/shared/charts/descriptors/analytics/setRating.js +39 -0
- package/dist/esm/shared/charts/descriptors/analytics/trackGoal.js +100 -0
- package/dist/esm/shared/charts/descriptors/analytics/updateProfile.js +44 -0
- package/dist/esm/shared/charts/descriptors/apps/getAppSessionPin.js +37 -0
- package/dist/esm/shared/charts/descriptors/apps/index.js +6 -0
- package/dist/esm/shared/charts/descriptors/apps/initAppSession.js +482 -0
- package/dist/esm/shared/charts/descriptors/apps/setAdaptiveCardAppState.js +170 -0
- package/dist/esm/shared/charts/descriptors/apps/setAppState.js +42 -0
- package/dist/esm/shared/charts/descriptors/apps/setHtmlAppState.js +240 -0
- package/dist/esm/shared/charts/descriptors/apps/utils/buildAppUrl.js +4 -0
- package/dist/esm/shared/charts/descriptors/apps/utils/getXAppsOverlaySettings.js +49 -0
- package/dist/esm/shared/charts/descriptors/connectionNodes/documentParserProviders/azureAIDocumentIntelligenceConnection.js +9 -0
- package/dist/esm/shared/charts/descriptors/connectionNodes/documentParserProviders/index.js +10 -0
- package/dist/esm/shared/charts/descriptors/connectionNodes/generativeAIProviders/TGenerativeAIConnectionFields.js +2 -0
- package/dist/esm/shared/charts/descriptors/connectionNodes/generativeAIProviders/alephAlphaProviderConnection.js +8 -0
- package/dist/esm/shared/charts/descriptors/connectionNodes/generativeAIProviders/anthropicProviderConnection.js +8 -0
- package/dist/esm/shared/charts/descriptors/connectionNodes/generativeAIProviders/awsBedrockProviderConnection.js +9 -0
- package/dist/esm/shared/charts/descriptors/connectionNodes/generativeAIProviders/azureOpenAIProviderConnection.js +15 -0
- package/dist/esm/shared/charts/descriptors/connectionNodes/generativeAIProviders/azureOpenAIProviderConnectionV2.js +8 -0
- package/dist/esm/shared/charts/descriptors/connectionNodes/generativeAIProviders/azureOpenAIProviderOauth2Connection.js +11 -0
- package/dist/esm/shared/charts/descriptors/connectionNodes/generativeAIProviders/googleVertexAIProviderConnection.js +13 -0
- package/dist/esm/shared/charts/descriptors/connectionNodes/generativeAIProviders/index.js +32 -0
- package/dist/esm/shared/charts/descriptors/connectionNodes/generativeAIProviders/openAIProviderConnection.js +8 -0
- package/dist/esm/shared/charts/descriptors/connectionNodes/internalStorageProviders/amazonStorageProviderConnection.js +11 -0
- package/dist/esm/shared/charts/descriptors/connectionNodes/internalStorageProviders/azureBlobStorageProviderConnection.js +10 -0
- package/dist/esm/shared/charts/descriptors/connectionNodes/internalStorageProviders/googleCloudStorageProviderConnection.js +10 -0
- package/dist/esm/shared/charts/descriptors/connectionNodes/internalStorageProviders/index.js +17 -0
- package/dist/esm/shared/charts/descriptors/connectionNodes/mongoDB/aggregate.js +159 -0
- package/dist/esm/shared/charts/descriptors/connectionNodes/mongoDB/find.js +203 -0
- package/dist/esm/shared/charts/descriptors/connectionNodes/mongoDB/findOne.js +192 -0
- package/dist/esm/shared/charts/descriptors/connectionNodes/mongoDB/index.js +23 -0
- package/dist/esm/shared/charts/descriptors/connectionNodes/mongoDB/insert.js +163 -0
- package/dist/esm/shared/charts/descriptors/connectionNodes/mongoDB/mongoDBConnection.js +8 -0
- package/dist/esm/shared/charts/descriptors/connectionNodes/mongoDB/remove.js +159 -0
- package/dist/esm/shared/charts/descriptors/connectionNodes/mongoDB/updateMany.js +173 -0
- package/dist/esm/shared/charts/descriptors/connectionNodes/mongoDB/updateOne.js +173 -0
- package/dist/esm/shared/charts/descriptors/connectionNodes/smtp/emailNotification.js +219 -0
- package/dist/esm/shared/charts/descriptors/connectionNodes/smtp/index.js +19 -0
- package/dist/esm/shared/charts/descriptors/connectionNodes/smtp/oAuth2Connection.js +15 -0
- package/dist/esm/shared/charts/descriptors/connectionNodes/smtp/sendEmail.js +526 -0
- package/dist/esm/shared/charts/descriptors/connectionNodes/smtp/serviceConnection.js +9 -0
- package/dist/esm/shared/charts/descriptors/connectionNodes/smtp/smtpConnection.js +12 -0
- package/dist/esm/shared/charts/descriptors/connectionNodes/speechProviders/awsSpeechProviderConnection.js +11 -0
- package/dist/esm/shared/charts/descriptors/connectionNodes/speechProviders/googleSpeechProviderConnection.js +13 -0
- package/dist/esm/shared/charts/descriptors/connectionNodes/speechProviders/index.js +17 -0
- package/dist/esm/shared/charts/descriptors/connectionNodes/speechProviders/microsoftSpeechProviderConnection.js +9 -0
- package/dist/esm/shared/charts/descriptors/connectionNodes/sql/index.js +15 -0
- package/dist/esm/shared/charts/descriptors/connectionNodes/sql/runQuery.js +141 -0
- package/dist/esm/shared/charts/descriptors/connectionNodes/sql/runStoredProcedure.js +158 -0
- package/dist/esm/shared/charts/descriptors/connectionNodes/sql/runTransaction.js +141 -0
- package/dist/esm/shared/charts/descriptors/connectionNodes/sql/sqlConnection.js +12 -0
- package/dist/esm/shared/charts/descriptors/connectionNodes/translationProviders/deeplTranslationProviderConnection.js +12 -0
- package/dist/esm/shared/charts/descriptors/connectionNodes/translationProviders/googleTranslationProviderConnection.js +12 -0
- package/dist/esm/shared/charts/descriptors/connectionNodes/translationProviders/index.js +17 -0
- package/dist/esm/shared/charts/descriptors/connectionNodes/translationProviders/microsoftTranslationProviderConnection.js +18 -0
- package/dist/esm/shared/charts/descriptors/data/addToContext.js +86 -0
- package/dist/esm/shared/charts/descriptors/data/code.js +33 -0
- package/dist/esm/shared/charts/descriptors/data/copyDataToContext.js +29 -0
- package/dist/esm/shared/charts/descriptors/data/copySlotsToContext.js +100 -0
- package/dist/esm/shared/charts/descriptors/data/debugMessage.js +71 -0
- package/dist/esm/shared/charts/descriptors/data/index.js +9 -0
- package/dist/esm/shared/charts/descriptors/data/log.js +60 -0
- package/dist/esm/shared/charts/descriptors/data/removeFromContext.js +78 -0
- package/dist/esm/shared/charts/descriptors/data/resetContext.js +25 -0
- package/dist/esm/shared/charts/descriptors/end.js +24 -0
- package/dist/esm/shared/charts/descriptors/index.js +169 -0
- package/dist/esm/shared/charts/descriptors/knowledgeSearch/constants/constants.js +3 -0
- package/dist/esm/shared/charts/descriptors/knowledgeSearch/index.js +4 -0
- package/dist/esm/shared/charts/descriptors/knowledgeSearch/knowledgeSearch.js +152 -0
- package/dist/esm/shared/charts/descriptors/knowledgeSearch/knowledgeSearchV2.js +149 -0
- package/dist/esm/shared/charts/descriptors/knowledgeSearch/searchExtractOutput.js +1018 -0
- package/dist/esm/shared/charts/descriptors/liveAgent/assistInfo.js +193 -0
- package/dist/esm/shared/charts/descriptors/liveAgent/index.js +2 -0
- package/dist/esm/shared/charts/descriptors/liveAgent/utils/buildCognigyWhisperAssistResponse.js +131 -0
- package/dist/esm/shared/charts/descriptors/liveAgent/utils/index.js +2 -0
- package/dist/esm/shared/charts/descriptors/logic/disableSlotFillers.js +50 -0
- package/dist/esm/shared/charts/descriptors/logic/enableSlotFillers.js +44 -0
- package/dist/esm/shared/charts/descriptors/logic/executeFlow.js +87 -0
- package/dist/esm/shared/charts/descriptors/logic/goTo.js +168 -0
- package/dist/esm/shared/charts/descriptors/logic/if/else.js +24 -0
- package/dist/esm/shared/charts/descriptors/logic/if/if.js +73 -0
- package/dist/esm/shared/charts/descriptors/logic/if/then.js +24 -0
- package/dist/esm/shared/charts/descriptors/logic/index.js +26 -0
- package/dist/esm/shared/charts/descriptors/logic/interval/elseInterval.js +22 -0
- package/dist/esm/shared/charts/descriptors/logic/interval/interval.js +54 -0
- package/dist/esm/shared/charts/descriptors/logic/interval/onInterval.js +22 -0
- package/dist/esm/shared/charts/descriptors/logic/once/afterwards.js +22 -0
- package/dist/esm/shared/charts/descriptors/logic/once/onFirstExecution.js +22 -0
- package/dist/esm/shared/charts/descriptors/logic/once/once.js +38 -0
- package/dist/esm/shared/charts/descriptors/logic/resetState.js +26 -0
- package/dist/esm/shared/charts/descriptors/logic/setState.js +50 -0
- package/dist/esm/shared/charts/descriptors/logic/setTranslation.js +88 -0
- package/dist/esm/shared/charts/descriptors/logic/sleep.js +37 -0
- package/dist/esm/shared/charts/descriptors/logic/stop.js +28 -0
- package/dist/esm/shared/charts/descriptors/logic/switch/case.js +32 -0
- package/dist/esm/shared/charts/descriptors/logic/switch/default.js +24 -0
- package/dist/esm/shared/charts/descriptors/logic/switch/switch.js +228 -0
- package/dist/esm/shared/charts/descriptors/logic/switchLocale.js +63 -0
- package/dist/esm/shared/charts/descriptors/logic/think.js +108 -0
- package/dist/esm/shared/charts/descriptors/logic/thinkV2.js +211 -0
- package/dist/esm/shared/charts/descriptors/logic/wait.js +29 -0
- package/dist/esm/shared/charts/descriptors/message/checkChannelChange/checkChannelChange.js +91 -0
- package/dist/esm/shared/charts/descriptors/message/checkChannelChange/onNo.js +23 -0
- package/dist/esm/shared/charts/descriptors/message/checkChannelChange/onYes.js +23 -0
- package/dist/esm/shared/charts/descriptors/message/checkChannelChange/unchanged.js +23 -0
- package/dist/esm/shared/charts/descriptors/message/datePicker.js +39 -0
- package/dist/esm/shared/charts/descriptors/message/index.js +13 -0
- package/dist/esm/shared/charts/descriptors/message/question/onAnswer.js +25 -0
- package/dist/esm/shared/charts/descriptors/message/question/onQuestion.js +24 -0
- package/dist/esm/shared/charts/descriptors/message/question/optionalQuestion.js +379 -0
- package/dist/esm/shared/charts/descriptors/message/question/question.js +2533 -0
- package/dist/esm/shared/charts/descriptors/message/question/utils/cleanTextUtils.js +187 -0
- package/dist/esm/shared/charts/descriptors/message/question/utils/datepickerUtils.js +469 -0
- package/dist/esm/shared/charts/descriptors/message/question/utils/evaluateQuestionAnswer.js +166 -0
- package/dist/esm/shared/charts/descriptors/message/question/utils/generateAnswerShortForm.js +33 -0
- package/dist/esm/shared/charts/descriptors/message/question/utils/getQuestionText.js +32 -0
- package/dist/esm/shared/charts/descriptors/message/question/utils/questionHandover.js +9 -0
- package/dist/esm/shared/charts/descriptors/message/question/utils/resetNodeState.js +8 -0
- package/dist/esm/shared/charts/descriptors/message/question/utils/storeQuestionAnswer.js +26 -0
- package/dist/esm/shared/charts/descriptors/message/question/utils/validateQuestionAnswer.js +20 -0
- package/dist/esm/shared/charts/descriptors/message/say.js +156 -0
- package/dist/esm/shared/charts/descriptors/message/sendImage.js +23 -0
- package/dist/esm/shared/charts/descriptors/message/sendText.js +29 -0
- package/dist/esm/shared/charts/descriptors/microsoft/getToken.js +32 -0
- package/dist/esm/shared/charts/descriptors/microsoft/index.js +19 -0
- package/dist/esm/shared/charts/descriptors/microsoft/invalidateToken.js +27 -0
- package/dist/esm/shared/charts/descriptors/microsoft/tokenStatus/index.js +49 -0
- package/dist/esm/shared/charts/descriptors/microsoft/tokenStatus/tokenGranted.js +21 -0
- package/dist/esm/shared/charts/descriptors/microsoft/tokenStatus/tokenNotGranted.js +21 -0
- package/dist/esm/shared/charts/descriptors/microsoft/utils/design.js +2 -0
- package/dist/esm/shared/charts/descriptors/nlu/addLexiconKeyphrase.js +52 -0
- package/dist/esm/shared/charts/descriptors/nlu/cleanText.js +103 -0
- package/dist/esm/shared/charts/descriptors/nlu/executeCognigyNLU.js +165 -0
- package/dist/esm/shared/charts/descriptors/nlu/fuzzySearch.js +290 -0
- package/dist/esm/shared/charts/descriptors/nlu/generativeSlotFiller/generativeSlotFiller.js +267 -0
- package/dist/esm/shared/charts/descriptors/nlu/generativeSlotFiller/generativeSlotFillerFallback.js +24 -0
- package/dist/esm/shared/charts/descriptors/nlu/generativeSlotFiller/generativeSlotFillerSuccess.js +24 -0
- package/dist/esm/shared/charts/descriptors/nlu/generativeSlotFiller/prompt.js +193 -0
- package/dist/esm/shared/charts/descriptors/nlu/index.js +10 -0
- package/dist/esm/shared/charts/descriptors/nlu/matchPattern.js +111 -0
- package/dist/esm/shared/charts/descriptors/nlu/regexSlotFiller.js +44 -0
- package/dist/esm/shared/charts/descriptors/nlu/utils/patternMatcher.js +262 -0
- package/dist/esm/shared/charts/descriptors/placeholder.js +35 -0
- package/dist/esm/shared/charts/descriptors/requiredFields.js +225 -0
- package/dist/esm/shared/charts/descriptors/service/GPTConversation.js +786 -0
- package/dist/esm/shared/charts/descriptors/service/GPTPrompt.js +719 -0
- package/dist/esm/shared/charts/descriptors/service/LLMEntityExtract.js +281 -0
- package/dist/esm/shared/charts/descriptors/service/aiAgent/aiAgentHandover.js +90 -0
- package/dist/esm/shared/charts/descriptors/service/aiAgent/aiAgentJob.js +1158 -0
- package/dist/esm/shared/charts/descriptors/service/aiAgent/aiAgentJobDefault.js +28 -0
- package/dist/esm/shared/charts/descriptors/service/aiAgent/aiAgentJobTool.js +136 -0
- package/dist/esm/shared/charts/descriptors/service/aiAgent/aiAgentToolAnswer.js +118 -0
- package/dist/esm/shared/charts/descriptors/service/aiAgent/helpers/createSystemMessage.js +187 -0
- package/dist/esm/shared/charts/descriptors/service/aiAgent/helpers/generateSearchPrompt.js +78 -0
- package/dist/esm/shared/charts/descriptors/service/aiAgent/helpers/getUserMemory.js +48 -0
- package/dist/esm/shared/charts/descriptors/service/checkAgentAvailability.js +216 -0
- package/dist/esm/shared/charts/descriptors/service/closeHandover.js +32 -0
- package/dist/esm/shared/charts/descriptors/service/conversationSummary.js +146 -0
- package/dist/esm/shared/charts/descriptors/service/handover.js +107 -0
- package/dist/esm/shared/charts/descriptors/service/handoverInactivityTimer.js +35 -0
- package/dist/esm/shared/charts/descriptors/service/handoverV2.js +541 -0
- package/dist/esm/shared/charts/descriptors/service/httpRequest.js +587 -0
- package/dist/esm/shared/charts/descriptors/service/index.js +24 -0
- package/dist/esm/shared/charts/descriptors/service/jwtSecret.js +7 -0
- package/dist/esm/shared/charts/descriptors/service/triggerFunction/onScheduled.js +24 -0
- package/dist/esm/shared/charts/descriptors/service/triggerFunction/onSchedulingError.js +24 -0
- package/dist/esm/shared/charts/descriptors/service/triggerFunction/triggerFunction.js +64 -0
- package/dist/esm/shared/charts/descriptors/start.js +23 -0
- package/dist/esm/shared/charts/descriptors/transcripts/addTranscriptStep.js +411 -0
- package/dist/esm/shared/charts/descriptors/transcripts/getTranscript.js +102 -0
- package/dist/esm/shared/charts/descriptors/transcripts/index.js +3 -0
- package/dist/esm/shared/charts/descriptors/voice/index.js +11 -0
- package/dist/esm/shared/charts/descriptors/voice/interface/IAudioCodes.js +2 -0
- package/dist/esm/shared/charts/descriptors/voice/interface/IBandwidth.js +2 -0
- package/dist/esm/shared/charts/descriptors/voice/interface/IVoiceGateway2.js +2 -0
- package/dist/esm/shared/charts/descriptors/voice/mappers/base.mapper.js +113 -0
- package/dist/esm/shared/charts/descriptors/voice/mappers/hangup.mapper.js +79 -0
- package/dist/esm/shared/charts/descriptors/voice/mappers/muteSpeechInput.mapper.js +63 -0
- package/dist/esm/shared/charts/descriptors/voice/mappers/play.mapper.js +150 -0
- package/dist/esm/shared/charts/descriptors/voice/mappers/record.mapper.js +99 -0
- package/dist/esm/shared/charts/descriptors/voice/mappers/sendMetadata.mapper.js +65 -0
- package/dist/esm/shared/charts/descriptors/voice/mappers/setSessionConfig.mapper.js +644 -0
- package/dist/esm/shared/charts/descriptors/voice/mappers/transfer.mapper.js +196 -0
- package/dist/esm/shared/charts/descriptors/voice/nodes/bargeIn.js +107 -0
- package/dist/esm/shared/charts/descriptors/voice/nodes/continuousAsr.js +71 -0
- package/dist/esm/shared/charts/descriptors/voice/nodes/dtmf.js +80 -0
- package/dist/esm/shared/charts/descriptors/voice/nodes/hangup.js +46 -0
- package/dist/esm/shared/charts/descriptors/voice/nodes/muteSpeechInput.js +51 -0
- package/dist/esm/shared/charts/descriptors/voice/nodes/noUserInput.js +106 -0
- package/dist/esm/shared/charts/descriptors/voice/nodes/play.js +113 -0
- package/dist/esm/shared/charts/descriptors/voice/nodes/sendMetadata.js +49 -0
- package/dist/esm/shared/charts/descriptors/voice/nodes/sessionSpeechParameters.js +341 -0
- package/dist/esm/shared/charts/descriptors/voice/nodes/transfer.js +126 -0
- package/dist/esm/shared/charts/descriptors/voice/utils/design.js +2 -0
- package/dist/esm/shared/charts/descriptors/voice/utils/helper.js +15 -0
- package/dist/esm/shared/charts/descriptors/voice/utils/vgConstants.js +11 -0
- package/dist/esm/shared/charts/descriptors/voicegateway/index.js +28 -0
- package/dist/esm/shared/charts/descriptors/voicegateway/nodes/agentAssist.js +85 -0
- package/dist/esm/shared/charts/descriptors/voicegateway/nodes/callRecording.js +125 -0
- package/dist/esm/shared/charts/descriptors/voicegateway/nodes/handover.js +146 -0
- package/dist/esm/shared/charts/descriptors/voicegateway/nodes/hangup.js +48 -0
- package/dist/esm/shared/charts/descriptors/voicegateway/nodes/helper/utils.js +10 -0
- package/dist/esm/shared/charts/descriptors/voicegateway/nodes/playURL.js +131 -0
- package/dist/esm/shared/charts/descriptors/voicegateway/nodes/sendMessage.js +278 -0
- package/dist/esm/shared/charts/descriptors/voicegateway/nodes/sendMetaData.js +48 -0
- package/dist/esm/shared/charts/descriptors/voicegateway/nodes/setSessionParams.js +78 -0
- package/dist/esm/shared/charts/descriptors/voicegateway/utils/design.js +2 -0
- package/dist/esm/shared/charts/descriptors/voicegateway/utils/paramUtils.js +531 -0
- package/dist/esm/shared/charts/descriptors/voicegateway2/index.js +26 -0
- package/dist/esm/shared/charts/descriptors/voicegateway2/nodes/dtmf.js +60 -0
- package/dist/esm/shared/charts/descriptors/voicegateway2/nodes/hangup.js +45 -0
- package/dist/esm/shared/charts/descriptors/voicegateway2/nodes/muteSpeechInput.js +61 -0
- package/dist/esm/shared/charts/descriptors/voicegateway2/nodes/play.js +150 -0
- package/dist/esm/shared/charts/descriptors/voicegateway2/nodes/record.js +107 -0
- package/dist/esm/shared/charts/descriptors/voicegateway2/nodes/refer.js +101 -0
- package/dist/esm/shared/charts/descriptors/voicegateway2/nodes/sendMetadata.js +48 -0
- package/dist/esm/shared/charts/descriptors/voicegateway2/nodes/setSessionConfig.js +1087 -0
- package/dist/esm/shared/charts/descriptors/voicegateway2/nodes/transfer.js +558 -0
- package/dist/esm/shared/charts/descriptors/voicegateway2/utils/design.js +2 -0
- package/dist/esm/shared/charts/descriptors/voicegateway2/utils/helper.js +66 -0
- package/dist/esm/shared/charts/descriptors/voicegateway2/utils/strip-nulls.js +32 -0
- package/dist/esm/shared/charts/helpers/generativeAI/generativeAIPrompts.js +50 -0
- package/dist/esm/shared/charts/helpers/generativeAI/getRephraseWithAIFields.js +95 -0
- package/dist/esm/shared/charts/helpers/generativeAI/rephraseSentenceWithAi.js +42 -0
- package/dist/esm/shared/charts/interfaces/IChart.js +2 -0
- package/dist/esm/shared/charts/interfaces/IEdge.js +2 -0
- package/dist/esm/shared/charts/interfaces/index.js +2 -0
- package/dist/esm/shared/constants.js +53 -0
- package/dist/esm/shared/errorHandler.js +2 -0
- package/dist/esm/shared/errors/BadGatewayError.js +55 -0
- package/dist/esm/shared/errors/BadRequestError.js +56 -0
- package/dist/esm/shared/errors/ErrorCode.js +33 -0
- package/dist/esm/shared/errors/ErrorCollection.js +60 -0
- package/dist/esm/shared/errors/ForbiddenError.js +55 -0
- package/dist/esm/shared/errors/GatewayTimeoutError.js +55 -0
- package/dist/esm/shared/errors/IErrorResponse.js +2 -0
- package/dist/esm/shared/errors/ILoggerStack.js +10 -0
- package/dist/esm/shared/errors/MethodNotAllowedError.js +55 -0
- package/dist/esm/shared/errors/NetworkError.js +19 -0
- package/dist/esm/shared/errors/PayloadTooLargeError.js +55 -0
- package/dist/esm/shared/errors/PaymentRequiredError.js +56 -0
- package/dist/esm/shared/errors/ServiceUnavailableError.js +55 -0
- package/dist/esm/shared/errors/TooManyRequestsError.js +55 -0
- package/dist/esm/shared/errors/UnauthorizedError.js +55 -0
- package/dist/esm/shared/errors/baseError.js +105 -0
- package/dist/esm/shared/errors/codes.js +27 -0
- package/dist/esm/shared/errors/conflict.js +55 -0
- package/dist/esm/shared/errors/databaseConnectError.js +11 -0
- package/dist/esm/shared/errors/databaseQueryError.js +11 -0
- package/dist/esm/shared/errors/databaseRead.js +11 -0
- package/dist/esm/shared/errors/databaseWrite.js +11 -0
- package/dist/esm/shared/errors/exportError.js +11 -0
- package/dist/esm/shared/errors/fileRead.js +11 -0
- package/dist/esm/shared/errors/fileWrite.js +11 -0
- package/dist/esm/shared/errors/importError.js +12 -0
- package/dist/esm/shared/errors/index.js +32 -0
- package/dist/esm/shared/errors/inputOutputError.js +11 -0
- package/dist/esm/shared/errors/internalServerError.js +55 -0
- package/dist/esm/shared/errors/invalidArgument.js +11 -0
- package/dist/esm/shared/errors/missingArgument.js +11 -0
- package/dist/esm/shared/errors/notImplementedError.js +55 -0
- package/dist/esm/shared/errors/process.js +11 -0
- package/dist/esm/shared/errors/resourceNotFound.js +58 -0
- package/dist/esm/shared/errors/smtpConnectError.js +11 -0
- package/dist/esm/shared/errors/timeoutError.js +11 -0
- package/dist/esm/shared/handoverClients/interfaces/TAnyProviderResponse.js +2 -0
- package/dist/esm/shared/handoverClients/interfaces/THandoverEventType.js +13 -0
- package/dist/esm/shared/helper/BaseContext.js +297 -0
- package/dist/esm/shared/helper/HttpStatusCode.js +322 -0
- package/dist/esm/shared/helper/createQuerySchema.js +2 -0
- package/dist/esm/shared/helper/defaultDatepickerFunction.js +9 -0
- package/dist/esm/shared/helper/logFullConfigToDebugMode.js +26 -0
- package/dist/esm/shared/helper/logger/ILogEntry.js +16 -0
- package/dist/esm/shared/helper/logger/ISuggestedMetaInfo.js +2 -0
- package/dist/esm/shared/helper/logger/TLogLevel.js +10 -0
- package/dist/esm/shared/helper/logger/index.js +10 -0
- package/dist/esm/shared/helper/nlu/dicts/dicts.js +702 -0
- package/dist/esm/shared/helper/nlu/textCleaner.js +420 -0
- package/dist/esm/shared/helper/objectSizeValidator.js +37 -0
- package/dist/esm/shared/helper/rest/NumberRange.js +29 -0
- package/dist/esm/shared/helper/rest/array.js +15 -0
- package/dist/esm/shared/helper/rest/boolean.js +7 -0
- package/dist/esm/shared/helper/rest/index.js +9 -0
- package/dist/esm/shared/helper/rest/limit.js +7 -0
- package/dist/esm/shared/helper/rest/operations.js +16 -0
- package/dist/esm/shared/helper/rest/query-string/decode-uri-component.js +78 -0
- package/dist/esm/shared/helper/rest/query-string/index.js +291 -0
- package/dist/esm/shared/helper/rest/query-string/splitOnFirst.js +17 -0
- package/dist/esm/shared/helper/rest/query-string/strictUriEncode.js +3 -0
- package/dist/esm/shared/helper/rest/query.js +0 -0
- package/dist/esm/shared/helper/rest/skip.js +7 -0
- package/dist/esm/shared/helper/rest/sort.js +20 -0
- package/dist/esm/shared/interfaces/BatchOperation.js +38 -0
- package/dist/esm/shared/interfaces/IApiKey.js +20 -0
- package/dist/esm/shared/interfaces/IEndpointSettings.js +2 -0
- package/dist/esm/shared/interfaces/IEndpointTranslationSettings.js +38 -0
- package/dist/esm/shared/interfaces/IFunctionInstanceParameters.js +12 -0
- package/dist/esm/shared/interfaces/IHandoverRequestStatus.js +2 -0
- package/dist/esm/shared/interfaces/IHttpRequest.js +2 -0
- package/dist/esm/shared/interfaces/IOrganisation.js +64 -0
- package/dist/esm/shared/interfaces/IProfile.js +24 -0
- package/dist/esm/shared/interfaces/IProfileSchema.js +41 -0
- package/dist/esm/shared/interfaces/ISayNodeSettings.js +2 -0
- package/dist/esm/shared/interfaces/ISessionScope.js +2 -0
- package/dist/esm/shared/interfaces/TEntrypointType.js +2 -0
- package/dist/esm/shared/interfaces/TFunctionInstanceStatus.js +7 -0
- package/dist/esm/shared/interfaces/TFunctionInstanceTrigger.js +5 -0
- package/dist/esm/shared/interfaces/agentAssist/ISendConfigUpdateParams.js +2 -0
- package/dist/esm/shared/interfaces/agentAssist/ISendTileUpdateParams.js +2 -0
- package/dist/esm/shared/interfaces/agentAssist/ISendUpdateReferenceParams.js +2 -0
- package/dist/esm/shared/interfaces/agentAssist/index.js +2 -0
- package/dist/esm/shared/interfaces/ai.js +2 -0
- package/dist/esm/shared/interfaces/alexa/IAccumulatedAlexaResponse.js +2 -0
- package/dist/esm/shared/interfaces/alexa/IAlexaCard.js +2 -0
- package/dist/esm/shared/interfaces/alexa/IAlexaDirective.js +2 -0
- package/dist/esm/shared/interfaces/alexa/IAlexaDisplayDirective.js +2 -0
- package/dist/esm/shared/interfaces/alexa/IAlexaDisplayImage.js +2 -0
- package/dist/esm/shared/interfaces/alexa/IAlexaDisplayImageSource.js +2 -0
- package/dist/esm/shared/interfaces/alexa/IAlexaDisplayListItem.js +2 -0
- package/dist/esm/shared/interfaces/alexa/IAlexaDisplayTemplate.js +2 -0
- package/dist/esm/shared/interfaces/alexa/IAlexaDisplayText.js +2 -0
- package/dist/esm/shared/interfaces/alexa/IAlexaDisplayTextContent.js +2 -0
- package/dist/esm/shared/interfaces/alexa/IAlexaEntity.js +2 -0
- package/dist/esm/shared/interfaces/alexa/IAlexaNLUConnector.js +2 -0
- package/dist/esm/shared/interfaces/alexa/IAlexaObject.js +2 -0
- package/dist/esm/shared/interfaces/alexa/IAlexaOutputSpeech.js +2 -0
- package/dist/esm/shared/interfaces/alexa/IAlexaRequest.js +2 -0
- package/dist/esm/shared/interfaces/alexa/IAlexaRequestBody.js +2 -0
- package/dist/esm/shared/interfaces/alexa/IAlexaResponse.js +2 -0
- package/dist/esm/shared/interfaces/alexa/IAlexaSlots.js +2 -0
- package/dist/esm/shared/interfaces/alexa/IAmazonUser.js +2 -0
- package/dist/esm/shared/interfaces/alexa/IRenewTokenError.js +2 -0
- package/dist/esm/shared/interfaces/alexa/IRenewTokenSuccess.js +2 -0
- package/dist/esm/shared/interfaces/alexa/ISimulationResult.js +2 -0
- package/dist/esm/shared/interfaces/alexa/ISkill.js +17 -0
- package/dist/esm/shared/interfaces/alexa/ISkillList.js +2 -0
- package/dist/esm/shared/interfaces/alexa/IVendor.js +2 -0
- package/dist/esm/shared/interfaces/alexa/IVendorList.js +2 -0
- package/dist/esm/shared/interfaces/alexa/index.js +2 -0
- package/dist/esm/shared/interfaces/amazonLexV2Interface.js +2 -0
- package/dist/esm/shared/interfaces/amqpInterface.js +87 -0
- package/dist/esm/shared/interfaces/analytics/IAnalyticsDataGoals.js +2 -0
- package/dist/esm/shared/interfaces/analytics/IAnalyticsEndpointMeta.js +2 -0
- package/dist/esm/shared/interfaces/analytics/IAnalyticsFlowHistoryData.js +2 -0
- package/dist/esm/shared/interfaces/analytics/IAnalyticsFlowMeta.js +2 -0
- package/dist/esm/shared/interfaces/analytics/IAnalyticsLocaleMeta.js +2 -0
- package/dist/esm/shared/interfaces/analytics/IAnalyticsRating.js +10 -0
- package/dist/esm/shared/interfaces/analytics/IAnalyticsSnapshotMeta.js +2 -0
- package/dist/esm/shared/interfaces/analytics/IAnalyticsSourceData.js +215 -0
- package/dist/esm/shared/interfaces/analytics/IAnalyticsStepData.js +2 -0
- package/dist/esm/shared/interfaces/analytics/IAnalyticsUserInputData.js +2 -0
- package/dist/esm/shared/interfaces/analytics/IBaseAnalyticsData.js +2 -0
- package/dist/esm/shared/interfaces/analytics/IBaseAnalyticsSourceData.js +2 -0
- package/dist/esm/shared/interfaces/analytics/IGoalAnalytics.js +2 -0
- package/dist/esm/shared/interfaces/analytics/IStepEvent.js +45 -0
- package/dist/esm/shared/interfaces/analytics/TAnalyticsMode.js +7 -0
- package/dist/esm/shared/interfaces/analytics/TAnalyticsSource.js +7 -0
- package/dist/esm/shared/interfaces/analytics/TAnalyticsType.js +5 -0
- package/dist/esm/shared/interfaces/analytics/index.js +2 -0
- package/dist/esm/shared/interfaces/appsession/IAppSession.js +2 -0
- package/dist/esm/shared/interfaces/appsession/ISetAppState.js +2 -0
- package/dist/esm/shared/interfaces/appsession/ISetAppStateOptions.js +2 -0
- package/dist/esm/shared/interfaces/appsession/ISetAppStateOverlaySettings.js +2 -0
- package/dist/esm/shared/interfaces/appsession/ISetAppStateOverlaySettingsMetaData.js +2 -0
- package/dist/esm/shared/interfaces/appsession/index.js +2 -0
- package/dist/esm/shared/interfaces/channels/genesysBotConnector.js +16 -0
- package/dist/esm/shared/interfaces/channels/niceCXOne.js +3 -0
- package/dist/esm/shared/interfaces/cognigySlots.js +13 -0
- package/dist/esm/shared/interfaces/debugEvents/IActiveEntrypointsChangedEventPayload.js +2 -0
- package/dist/esm/shared/interfaces/debugEvents/IContextChangedEventPayload.js +2 -0
- package/dist/esm/shared/interfaces/debugEvents/IErrorEventPayload.js +2 -0
- package/dist/esm/shared/interfaces/debugEvents/IFinalPingEventPayload.js +2 -0
- package/dist/esm/shared/interfaces/debugEvents/IInputChangedEventPayload.js +2 -0
- package/dist/esm/shared/interfaces/debugEvents/INluWarningEventPayload.js +2 -0
- package/dist/esm/shared/interfaces/debugEvents/INodeErrorEventPayload.js +2 -0
- package/dist/esm/shared/interfaces/debugEvents/INodeExecutedEventPayload.js +2 -0
- package/dist/esm/shared/interfaces/debugEvents/IOutputEventPayload.js +2 -0
- package/dist/esm/shared/interfaces/debugEvents/IProfileChangedEventPayload.js +2 -0
- package/dist/esm/shared/interfaces/debugEvents/ISwitchedFlowEventPayload.js +2 -0
- package/dist/esm/shared/interfaces/debugEvents/TDebugEndpointEvent.js +17 -0
- package/dist/esm/shared/interfaces/debugEvents/TDebugEventMessagePayload.js +2 -0
- package/dist/esm/shared/interfaces/debugEvents/TDebugEventPayload.js +2 -0
- package/dist/esm/shared/interfaces/debugEvents/TDebugEventType.js +16 -0
- package/dist/esm/shared/interfaces/dialogflowInterface.js +2 -0
- package/dist/esm/shared/interfaces/endpointInterface.js +3 -0
- package/dist/esm/shared/interfaces/fileStorage.js +26 -0
- package/dist/esm/shared/interfaces/filemanager/IRuntimeFile.js +27 -0
- package/dist/esm/shared/interfaces/filemanager/index.js +1 -0
- package/dist/esm/shared/interfaces/generativeAI/IGenerativeAIModels.js +90 -0
- package/dist/esm/shared/interfaces/generativeAI/IGenerativeAIPrompts.js +2 -0
- package/dist/esm/shared/interfaces/generativeAI/IRunGenerativeAIPromptOptions.js +2 -0
- package/dist/esm/shared/interfaces/generativeAI/tools.js +2 -0
- package/dist/esm/shared/interfaces/handover.js +440 -0
- package/dist/esm/shared/interfaces/knowledgesearch/search.js +2 -0
- package/dist/esm/shared/interfaces/license.js +32 -0
- package/dist/esm/shared/interfaces/license.js.map +1 -0
- package/dist/esm/shared/interfaces/management/IVendor.js +2 -0
- package/dist/esm/shared/interfaces/management/deleteOrganisation/deleteOrganisationTypes.js +2 -0
- package/dist/esm/shared/interfaces/messageAPI/ai.js +29 -0
- package/dist/esm/shared/interfaces/messageAPI/analytics.js +2 -0
- package/dist/esm/shared/interfaces/messageAPI/endpoints.js +809 -0
- package/dist/esm/shared/interfaces/messageAPI/handover.js +301 -0
- package/dist/esm/shared/interfaces/messageAPI/nlp.js +2 -0
- package/dist/esm/shared/interfaces/nlu/nlu.js +2 -0
- package/dist/esm/shared/interfaces/resources/IAgentAssistConfig.js +59 -0
- package/dist/esm/shared/interfaces/resources/IAiAgent.js +49 -0
- package/dist/esm/shared/interfaces/resources/IAppTemplate.js +21 -0
- package/dist/esm/shared/interfaces/resources/IAuditEvent.js +150 -0
- package/dist/esm/shared/interfaces/resources/IChart.js +50 -0
- package/dist/esm/shared/interfaces/resources/IChartNode.js +127 -0
- package/dist/esm/shared/interfaces/resources/IConnection.js +63 -0
- package/dist/esm/shared/interfaces/resources/IConnectionSchema.js +48 -0
- package/dist/esm/shared/interfaces/resources/IEndpoint.js +63 -0
- package/dist/esm/shared/interfaces/resources/IEndpointDisplayName.js +2 -0
- package/dist/esm/shared/interfaces/resources/IEntity.js +2 -0
- package/dist/esm/shared/interfaces/resources/IEntityMeta.js +20 -0
- package/dist/esm/shared/interfaces/resources/IExtension.js +80 -0
- package/dist/esm/shared/interfaces/resources/IFile.js +22 -0
- package/dist/esm/shared/interfaces/resources/IFlow.js +63 -0
- package/dist/esm/shared/interfaces/resources/IFlowLogicSettingsV2.js +2 -0
- package/dist/esm/shared/interfaces/resources/IFlowState.js +28 -0
- package/dist/esm/shared/interfaces/resources/IFunction.js +19 -0
- package/dist/esm/shared/interfaces/resources/IFunctionInstance.js +27 -0
- package/dist/esm/shared/interfaces/resources/IGenerateNodeOutput.js +2 -0
- package/dist/esm/shared/interfaces/resources/IGoal.js +47 -0
- package/dist/esm/shared/interfaces/resources/IGraphResource.js +2 -0
- package/dist/esm/shared/interfaces/resources/IHandoverConfiguration.js +10 -0
- package/dist/esm/shared/interfaces/resources/IIntent.js +2 -0
- package/dist/esm/shared/interfaces/resources/ILargeLanguageModel.js +132 -0
- package/dist/esm/shared/interfaces/resources/ILexicon.js +36 -0
- package/dist/esm/shared/interfaces/resources/ILexiconEntry.js +20 -0
- package/dist/esm/shared/interfaces/resources/ILexiconKeyphrase.js +17 -0
- package/dist/esm/shared/interfaces/resources/ILexiconSlot.js +16 -0
- package/dist/esm/shared/interfaces/resources/ILocale.js +36 -0
- package/dist/esm/shared/interfaces/resources/IMongoStoredBuffer.js +2 -0
- package/dist/esm/shared/interfaces/resources/INLUConnector.js +95 -0
- package/dist/esm/shared/interfaces/resources/INLUTransformerFunction.js +15 -0
- package/dist/esm/shared/interfaces/resources/INodeDescriptorSet.js +443 -0
- package/dist/esm/shared/interfaces/resources/IOptionsResolverFunction.js +15 -0
- package/dist/esm/shared/interfaces/resources/IOrganisationDeletion.js +7 -0
- package/dist/esm/shared/interfaces/resources/IPackage.js +16 -0
- package/dist/esm/shared/interfaces/resources/IPlaybook.js +143 -0
- package/dist/esm/shared/interfaces/resources/IPlaybookRun.js +59 -0
- package/dist/esm/shared/interfaces/resources/IProject.js +37 -0
- package/dist/esm/shared/interfaces/resources/IProjectGraph.js +2 -0
- package/dist/esm/shared/interfaces/resources/IRemoveDuplicatedSlotsAndUpdateLexionEntries.js +2 -0
- package/dist/esm/shared/interfaces/resources/IResourceInSnapshotItem.js +2 -0
- package/dist/esm/shared/interfaces/resources/ISerializedBuffer.js +2 -0
- package/dist/esm/shared/interfaces/resources/ISlotFiller.js +82 -0
- package/dist/esm/shared/interfaces/resources/ISnapshot.js +16 -0
- package/dist/esm/shared/interfaces/resources/ISnippet.js +28 -0
- package/dist/esm/shared/interfaces/resources/ITemplateConfiguration.js +33 -0
- package/dist/esm/shared/interfaces/resources/ITrackAnalyticsStepsArguments.js +2 -0
- package/dist/esm/shared/interfaces/resources/TNLUConnectorType.js +17 -0
- package/dist/esm/shared/interfaces/resources/TResourceType.js +190 -0
- package/dist/esm/shared/interfaces/resources/TRestChannelType.js +80 -0
- package/dist/esm/shared/interfaces/resources/TSlotFillerType.js +21 -0
- package/dist/esm/shared/interfaces/resources/TSocketChannelType.js +32 -0
- package/dist/esm/shared/interfaces/resources/TWebhookChannelType.js +65 -0
- package/dist/esm/shared/interfaces/resources/chart/IChartExecutable.js +21 -0
- package/dist/esm/shared/interfaces/resources/chart/IChartExecutableNode.js +54 -0
- package/dist/esm/shared/interfaces/resources/chart/INodeExecutionAPI.js +2 -0
- package/dist/esm/shared/interfaces/resources/chart/INodeExecutionCognigyObject.js +2 -0
- package/dist/esm/shared/interfaces/resources/chart/INodeToExecute.js +2 -0
- package/dist/esm/shared/interfaces/resources/chart/IPartialChart.js +2 -0
- package/dist/esm/shared/interfaces/resources/chart/IUndoRedoAction.js +11 -0
- package/dist/esm/shared/interfaces/resources/chart/nodeFunctions/IIfNodeParams.js +2 -0
- package/dist/esm/shared/interfaces/resources/chart/nodeFunctions/INodeFunction.js +2 -0
- package/dist/esm/shared/interfaces/resources/chart/nodeFunctions/ISayParams.js +2 -0
- package/dist/esm/shared/interfaces/resources/chart/nodeFunctions/ISendTextNodeParams.js +2 -0
- package/dist/esm/shared/interfaces/resources/endpoints/sunshineConversations/ISunshineConversationsV2.js +2 -0
- package/dist/esm/shared/interfaces/resources/intent/IDefaultReply.js +25 -0
- package/dist/esm/shared/interfaces/resources/intent/IIntent.js +107 -0
- package/dist/esm/shared/interfaces/resources/intent/IIntentFeedbackReport.js +73 -0
- package/dist/esm/shared/interfaces/resources/intent/IIntentRelation.js +27 -0
- package/dist/esm/shared/interfaces/resources/intent/IIntentTrainGroup.js +64 -0
- package/dist/esm/shared/interfaces/resources/intent/ILearningSentence.js +18 -0
- package/dist/esm/shared/interfaces/resources/intent/ISentence.js +84 -0
- package/dist/esm/shared/interfaces/resources/intent/ISentenceFeedbackReport.js +64 -0
- package/dist/esm/shared/interfaces/resources/intent/ITrainGroupFeedbackReport.js +52 -0
- package/dist/esm/shared/interfaces/resources/intents.js +2 -0
- package/dist/esm/shared/interfaces/resources/knowledgeStore/IKnowledgeChunk.js +47 -0
- package/dist/esm/shared/interfaces/resources/knowledgeStore/IKnowledgeSource.js +39 -0
- package/dist/esm/shared/interfaces/resources/knowledgeStore/IKnowledgeStore.js +23 -0
- package/dist/esm/shared/interfaces/resources/oauth.js +2 -0
- package/dist/esm/shared/interfaces/resources/projectTemplates.js +45 -0
- package/dist/esm/shared/interfaces/resources/settings/IAgentSettings.js +41 -0
- package/dist/esm/shared/interfaces/resources/settings/IAudioPreviewSettings.js +33 -0
- package/dist/esm/shared/interfaces/resources/settings/IFlowSettings.js +34 -0
- package/dist/esm/shared/interfaces/resources/settings/IFullSettings.js +2 -0
- package/dist/esm/shared/interfaces/resources/settings/IGenerativeAISettings.js +82 -0
- package/dist/esm/shared/interfaces/resources/settings/IGenerativeAIUseCase.js +2 -0
- package/dist/esm/shared/interfaces/resources/settings/IKnowledgeAISettings.js +15 -0
- package/dist/esm/shared/interfaces/resources/settings/ISharedSettings.js +51 -0
- package/dist/esm/shared/interfaces/resources/settings/ITranslationSettings.js +60 -0
- package/dist/esm/shared/interfaces/resources/settings/index.js +8 -0
- package/dist/esm/shared/interfaces/resources/yesNoIntent/IYesNoItem.js +6 -0
- package/dist/esm/shared/interfaces/resources/yesNoIntent/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/auditevent/v2.0/IAuditEventIndexItem_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/auditevent/v2.0/IAuditEvent_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/auditevent/v2.0/IIndexAuditEventsRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/auditevent/v2.0/IReadAuditEventRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/auditevent/v2.0/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/identityProviders/v2.0/IConfigureIdentityProviderRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/identityProviders/v2.0/IResetIdentityProviderRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/identityProviders/v2.0/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/liveAgent/v2.0/ICognigyLiveAgentMiddleware_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/liveAgent/v2.0/IReadLiveAgentAccountRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/liveAgent/v2.0/IReadProjectInboxRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/liveAgent/v2.0/ISetupCognigyLiveAgentInboxRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/liveAgent/v2.0/ISetupCognigyLiveAgentRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/liveAgent/v2.0/IUpdateCognigyLiveAgentInboxRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/liveAgent/v2.0/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/organisations/v2.0/IReadCollectionsToBeDeletedRest_2_0.js +17 -0
- package/dist/esm/shared/interfaces/restAPI/administration/organisations/v2.0/IReadOrganisationKnowledgeChunksCountRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/organisations/v2.0/IRequestOrganisationDeletionRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/organisations/v2.0/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/passwordreset/v2.0/IChangePasswordRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/passwordreset/v2.0/IRequestPasswordResetRest_2_0.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/administration/passwordreset/v2.0/IResetPasswordRest_2_0.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/administration/passwordreset/v2.0/IValidatePasswordResetTokenRest_2_0.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/administration/passwordreset/v2.0/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/system/v2.0/IGetSystemLicenseState_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/system/v2.0/IGetSystemMessage_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/system/v2.0/ISetSystemLicense_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/system/v2.0/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/user/v2.0/IAddProjectMemberRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/user/v2.0/IAddProjectToUserRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/user/v2.0/IAddRoleToMemberRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/user/v2.0/IAddRoleToUserRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/user/v2.0/IApiKeyIndexItem_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/user/v2.0/IApiKey_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/user/v2.0/ICreateApiKeyRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/user/v2.0/ICreateUserRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/user/v2.0/IDeleteApiKeyMeRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/user/v2.0/IDeleteUserRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/user/v2.0/IDeprecatePasswordRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/user/v2.0/IExchangeOneTimeTokenForRefreshTokenRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/user/v2.0/IGetPinnedResources_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/user/v2.0/IIndexApiKeysMeRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/user/v2.0/IIndexLoginAttemptsRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/user/v2.0/IIndexProjectMembers_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/user/v2.0/IIndexUsersRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/user/v2.0/ILoginAttemptIndexItem_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/user/v2.0/ILoginAttempt_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/user/v2.0/ILogoutUserRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/user/v2.0/IPinResourceRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/user/v2.0/IProjectMemberIndexItem_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/user/v2.0/IProjectMember_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/user/v2.0/IReadLastLoginAttemptRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/user/v2.0/IReadProjectMemberRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/user/v2.0/IReadUserAclMeRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/user/v2.0/IReadUserMeRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/user/v2.0/IReadUserRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/user/v2.0/IRemoveProjectFromUserRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/user/v2.0/IRemoveProjectMemberRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/user/v2.0/IRemoveRoleFromMemberRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/user/v2.0/IRemoveRoleFromUserRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/user/v2.0/IResetFailedLoginAttemptsRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/user/v2.0/IUpdateProjectMemberRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/user/v2.0/IUpdateUserMeRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/user/v2.0/IUpdateUserRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/user/v2.0/IUserAcl_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/user/v2.0/IUserIndexItem_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/user/v2.0/IUserUpdate_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/user/v2.0/IUser_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/user/v2.0/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/user/v2.1/IApiKeyIndexItem_2_1.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/user/v2.1/IApiKey_2_1.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/user/v2.1/ICreateApiKeyRest_2_1.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/user/v2.1/IIndexApiKeysMeRest_2_1.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/user/v2.1/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/voiceGateway/v2.0/IReadVoiceGatewayAccountRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/voiceGateway/v2.0/ISetupVoiceGatewayAccountRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/administration/voiceGateway/v2.0/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/analytics/IDeleteAnalyticsRecordsRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/analytics/IUpdateAnalyticsRecordProperties_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/analytics/IUpdateAnalyticsRecordsRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/audio/v2.0/IAudioPreviewLanguages_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/audio/v2.0/IAudioPreviewRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/audio/v2.0/IIndexAudioPreviewLanguages_2_0.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/audio/v2.0/ITestVoiceProviderRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/audio/v2.0/ITestVoiceProvider_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/audio/v2.0/IVGCallSettings_2_0.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/audio/v2.0/IVoicePrepareCallRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/audio/v2.0/IVoicePrepareCall_2_0.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/audio/v2.0/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/authentication/IGetRealtimeTokenRest.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/authentication/IHandleAmazonAccessTokenFromAuthCodeRest.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/authentication/IRedirectToAmazonLoginRest.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/authentication/IWebfingerRest.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/authentication/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/external/alexa/v2.0/IAlexaSkill_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/external/alexa/v2.0/IAmazonUser_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/external/alexa/v2.0/ICreateAuthenticatedAmazonUserRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/external/alexa/v2.0/IDeleteAmazonAccountRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/external/alexa/v2.0/IDeployAlexaEndpointRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/external/alexa/v2.0/IGetAlexaSkillsRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/external/alexa/v2.0/IGetAmazonAccountRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/external/alexa/v2.0/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/insights/IAnalyticsQueryFilter_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/insights/TAnalyticsQueryFilterOperator_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/insights/messages/IGenerateMessagesRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/insights/messages/ILoadMessagesReportByQueryHashResponse_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/insights/messages/ILoadMessagesReportByQueryHashRestData_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/insights/messages/ITopNMessages_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/insights/publish/IPublishAnalyticsRestDataBody.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/insights/reports/IGenerateReportResponse_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/insights/reports/IGenerateReportRest_2_0.js +36 -0
- package/dist/esm/shared/interfaces/restAPI/insights/reports/ILoadReportByQueryHashResponse_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/insights/reports/ILoadReportByQueryHashRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/insights/steps/IGenerateStepReportRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/insights/steps/IIndexStepsRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/insights/steps/ILoadStepReportByQueryHashResponse_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/insights/steps/ILoadStepReportByQueryHashRestData_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/insights/steps/IStepIndexItem_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/insights/steps/IStepReport_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/insights/steps/IStep_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/insights/transcripts/IGenerateTranscriptsRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/insights/transcripts/ILoadTranscriptsReportByQueryHashResponse_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/insights/transcripts/ILoadTranscriptsReportByQueryHashRestData_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/insights/transcripts/IStepPath_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/management/organisations/v2.0/ICreateApiKeyRestManagement_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/management/organisations/v2.0/ICreateOrganisationRest_2_0.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/management/organisations/v2.0/IDeleteOrganisationRest_2_0.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/management/organisations/v2.0/IEnforcePasswordPolicyRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/management/organisations/v2.0/IIndexOrganisationsRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/management/organisations/v2.0/IOrganisationIndexItem_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/management/organisations/v2.0/IOrganisation_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/management/organisations/v2.0/IReadOrganisationRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/management/organisations/v2.0/IUpdateOrganisationRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/management/organisations/v2.0/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/management/system/v2.0/ICreateSystemMessage_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/management/system/v2.0/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/management/user/v2.0/ICreateUserRestManagement_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/management/user/v2.0/IDeleteUserRestManagement_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/management/user/v2.0/IImpersonateUserRestManagement_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/management/user/v2.0/IIndexUsersRestManagement_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/management/user/v2.0/IReadUserRestManagement_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/management/user/v2.0/IUpdateUserRestManagement_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/management/user/v2.0/IUserManagementIndexItem_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/management/user/v2.0/IUserManagement_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/management/user/v2.0/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/management/vendor/v2.0/IGetBillingInformationRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/management/vendor/v2.0/IReadVendorRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/management/vendor/v2.0/IVendor_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/management/vendor/v2.0/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/callCounter/v2.0/ICallCounterAggregatedValue_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/callCounter/v2.0/IGetCallCounterOrganisationRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/callCounter/v2.0/IGetCallCounterRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/callCounter/v2.0/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/conversationCounter/v2.0/IConversationCounterAggregatedValue_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/conversationCounter/v2.0/IGetConversationCounterOrganisationRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/conversationCounter/v2.0/IGetConversationCounterRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/conversationCounter/v2.0/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/conversations/v2.0/IConversationData_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/conversations/v2.0/IConversationSession_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/conversations/v2.0/IDeleteConversationRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/conversations/v2.0/IIndexConversationsRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/conversations/v2.0/IReadConversationRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/conversations/v2.0/TAnalyticsSource_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/conversations/v2.0/TAnalyticsType_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/conversations/v2.0/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/knowledgeQueryCounter/v2.0/IGetKnowledgeQueryCounterOrganisationRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/knowledgeQueryCounter/v2.0/IGetKnowledgeQueryCounterRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/knowledgeQueryCounter/v2.0/IKnowlegeQueryCounterAggregatedValue_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/knowledgeQueryCounter/v2.0/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/logs/v2.0/IIndexLogEntriesRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/logs/v2.0/ILogEntryIndexItem_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/logs/v2.0/ILogEntry_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/logs/v2.0/IReadLogEntryRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/logs/v2.0/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/profiles/v2.0/ICreateProfileRest_2_0.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/profiles/v2.0/IDeleteProfileRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/profiles/v2.0/IExportProfileDataRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/profiles/v2.0/IGetProfileSchemaRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/profiles/v2.0/IIndexProfilesRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/profiles/v2.0/IMergeProfilesRest_2_0.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/profiles/v2.0/IProfileIndexItem_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/profiles/v2.0/IProfileSchema_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/profiles/v2.0/IProfile_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/profiles/v2.0/IReadProfileRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/profiles/v2.0/IRemoveContactIdFromProfileRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/profiles/v2.0/IRemoveConversationsOfProfileRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/profiles/v2.0/IRemoveProfileDataRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/profiles/v2.0/ISetProfileSchemaRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/profiles/v2.0/IUnmergeProfilesRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/profiles/v2.0/IUpdateProfileRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/profiles/v2.0/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/tasks/v2.0/ICancelTaskRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/tasks/v2.0/IIndexTasksRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/tasks/v2.0/IReadTaskRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/tasks/v2.0/ITaskIndexItem_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/tasks/v2.0/ITask_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/tasks/v2.0/TAbstractTaskData_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/tasks/v2.0/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/tasks/v2.1/ICancelTaskRest_2_1.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/tasks/v2.1/IIndexTasksRest_2_1.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/tasks/v2.1/IReadTaskRest_2_1.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/tasks/v2.1/ITaskIndexItem_2_1.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/tasks/v2.1/ITask_2_1.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/tasks/v2.1/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/trainer/v2.0/IBatchTrainerRecordsRest_2_0.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/trainer/v2.0/IComposeTrainerRecordsDownloadLinkRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/trainer/v2.0/IIndexTrainerRecordsRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/trainer/v2.0/IPackageTrainerRecordsRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/trainer/v2.0/IReadTrainerRecordRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/trainer/v2.0/ITrainerRecordIndexItem_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/trainer/v2.0/ITrainerRecord_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/trainer/v2.0/IUploadTrainerRecordsPackageRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/metrics/trainer/v2.0/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/operations/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/operations/nlu/v2.0/IGenerateNluScoresRest_2_0.js +56 -0
- package/dist/esm/shared/interfaces/restAPI/operations/nlu/v2.0/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/agentAssist/v2.0/IAgentAssistConfig_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/agentAssist/v2.0/ICreateAgentAssistConfigRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/agentAssist/v2.0/IDeleteAgentAssistConfigRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/agentAssist/v2.0/IIndexAgentAssistConfigsRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/agentAssist/v2.0/IReadAgentAssistConfigRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/agentAssist/v2.0/IReadAgentAssistSessionDataRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/agentAssist/v2.0/IUpdateAgentAssistConfigRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/agentAssist/v2.0/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/aiAgent/v2.0/IAiAgentHiringTemplate_2_0.js +31 -0
- package/dist/esm/shared/interfaces/restAPI/resources/aiAgent/v2.0/IAiAgent_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/aiAgent/v2.0/ICreateAiAgentRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/aiAgent/v2.0/IDeleteAiAgentRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/aiAgent/v2.0/IGetAiAgentHiringTemplates_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/aiAgent/v2.0/IHireAiAgent_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/aiAgent/v2.0/IIndexAiAgentRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/aiAgent/v2.0/IReadAiAgentRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/aiAgent/v2.0/IUpdateAiAgentRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/aiAgent/v2.0/IValidateAiAgentNameRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/aiAgent/v2.0/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/chart/v2.0/IAddChartNodeLocalizationRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/chart/v2.0/IChartNodeIndexItem_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/chart/v2.0/IChartNodeRelation_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/chart/v2.0/IChartNode_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/chart/v2.0/IChart_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/chart/v2.0/ICopyChartNodeRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/chart/v2.0/ICreateChartNodeRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/chart/v2.0/ICutChartNodeRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/chart/v2.0/IDeleteChartNodeRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/chart/v2.0/IGenerateNodeOutputRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/chart/v2.0/IGetUndoRedoStepsRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/chart/v2.0/IIndexChartNodesRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/chart/v2.0/IMoveChartNodeRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/chart/v2.0/IPasteChartNodeRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/chart/v2.0/IReadChartNodeRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/chart/v2.0/IReadChartRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/chart/v2.0/IRedoChartRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/chart/v2.0/IRemoveChartNodeLocalizationRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/chart/v2.0/ISearchChartNodesRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/chart/v2.0/IUndoChartRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/chart/v2.0/IUpdateChartNodeRestData_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/chart/v2.0/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/connection/v2.0/IBatchConnectionsRest_2_0.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/resources/connection/v2.0/IConnectionField_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/connection/v2.0/IConnectionIndexItem_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/connection/v2.0/IConnection_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/connection/v2.0/ICreateConnectionFieldRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/connection/v2.0/ICreateConnectionRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/connection/v2.0/IDeleteConnectionFieldRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/connection/v2.0/IDeleteConnectionRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/connection/v2.0/IIndexConnectionsRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/connection/v2.0/IReadConnectionRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/connection/v2.0/IUpdateConnectionRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/connection/v2.0/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/connectionSchema/v2.0/IConnectionSchemaIndexItem_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/connectionSchema/v2.0/IConnectionSchema_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/connectionSchema/v2.0/IIndexConnectionSchemasRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/connectionSchema/v2.0/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/endpoint/v2.0/IBatchEndpointsRest_2_0.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/resources/endpoint/v2.0/ICreateEndpointRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/endpoint/v2.0/IDeleteEndpointRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/endpoint/v2.0/IEndpointIndexItem_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/endpoint/v2.0/IEndpoint_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/endpoint/v2.0/IIndexEndpointsRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/endpoint/v2.0/IReadEndpointRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/endpoint/v2.0/IUpdateEndpointRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/endpoint/v2.0/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/extension/v2.0/IDeleteExtensionRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/extension/v2.0/IExtensionIndexItem_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/extension/v2.0/IExtension_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/extension/v2.0/IIndexExtensionsRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/extension/v2.0/IReadExtensionRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/extension/v2.0/IUpdateExtensionPackageRest_2_0.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/resources/extension/v2.0/IUpdateExtensionRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/extension/v2.0/IUploadExtensionRest_2_0.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/resources/extension/v2.0/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/file/v2.0/IFile_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/file/v2.0/IUploadFileRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/file/v2.0/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/IAddFlowLocalizationRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/IBatchFlowsRest_2_0.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/ICloneFlowRest_2_0.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/ICreateFlowFromChildrenRest_2_0.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/ICreateFlowRest_2_0.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/IDeleteFlowRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/IFlowIndexItem_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/IFlow_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/IIndexFlowsRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/IReadFlowRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/IRemoveFlowLocalizationRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/IUpdateFlowRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/feedbackReports/IIntentFeedbackReport_2_0.js +14 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/feedbackReports/ISentenceFeedbackReport_2_0.js +9 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/feedbackReports/ITrainGroupFeedbackReport_2_0.js +7 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/intent/IAddIntentLocalizationRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/intent/IBatchIntentsRest_2_0.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/intent/ICreateIntentRest_2_0.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/intent/IDeleteIntentRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/intent/IExportIntentsRest_2_0.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/intent/IImportIntentsRest_2_0.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/intent/IIndexIntentsRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/intent/IIntentIndexItem_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/intent/IIntent_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/intent/IReadIntentRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/intent/IRemoveIntentLocalizationRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/intent/ITrainIntentsRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/intent/IUpdateIntentRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/intent/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/learningSentence/IDeleteLearningSentenceRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/learningSentence/IIndexLearningSentenceRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/learningSentence/ILearningSentenceIndexItem_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/learningSentence/ILearningSentence_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/learningSentence/IReadLearningSentenceRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/learningSentence/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/sentence/IBatchSentencesRest_2_0.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/sentence/ICreateSentenceRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/sentence/IDeleteSentenceRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/sentence/IGenerateSentencesRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/sentence/IIndexSentencesRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/sentence/IReadSentenceRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/sentence/ISentenceIndexItem_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/sentence/ISentence_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/sentence/IUpdateSentenceRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/sentence/IYesNoSentence_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/sentence/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/settings/IFlowSettings_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/settings/ILocaleSettings_2_0.js +15 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/settings/IReadFlowSettingsRest_2_0.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/settings/IUpdateFlowSettingsRest_2_0.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/settings/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/slotFiller/IBatchSlotFillersRest_2_0.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/slotFiller/ICreateSlotFillerRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/slotFiller/IDeleteSlotFillerRest_2_0.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/slotFiller/IIndexSlotFillersRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/slotFiller/IReadSlotFillerRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/slotFiller/ISlotFillerIndexItem_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/slotFiller/ISlotFiller_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/slotFiller/IUpdateSlotFillerRest_2_0.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/slotFiller/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/state/IAddIntentToFlowStateRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/state/IBatchFlowStatesRest_2_0.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/state/ICreateFlowStateRest_2_0.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/state/IDeleteFlowStateRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/state/IFlowStateIndexItem_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/state/IFlowState_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/state/IIndexFlowStatesRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/state/IReadFlowStateRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/state/IRemoveIntentFromFlowStateRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/state/IUpdateFlowStateRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/flow/v2.0/state/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/function/v2.0/ICreateFunctionRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/function/v2.0/IDeleteFunctionRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/function/v2.0/IFunctionIndexItem_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/function/v2.0/IFunctionInstanceIndexItem_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/function/v2.0/IFunctionInstance_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/function/v2.0/IFunction_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/function/v2.0/IIndexFunctionInstancesRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/function/v2.0/IIndexFunctionsRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/function/v2.0/IReadFunctionInstanceRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/function/v2.0/IReadFunctionRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/function/v2.0/IStopFunctionInstanceRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/function/v2.0/ITriggerFunctionRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/function/v2.0/IUpdateFunctionRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/function/v2.0/TFunctionInstanceStatus_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/function/v2.0/TFunctionInstanceTrigger_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/function/v2.0/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/goal/v2.0/ICloneGoalRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/goal/v2.0/ICreateGoalRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/goal/v2.0/IDeleteGoalRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/goal/v2.0/IGoalIndexItem_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/goal/v2.0/IGoalStepMetric_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/goal/v2.0/IGoalStep_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/goal/v2.0/IGoal_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/goal/v2.0/IIndexGoalsRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/goal/v2.0/IReadGoalRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/goal/v2.0/IUpdateGoalRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/goal/v2.0/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/knowledgeStore/v2.0/ICreateKnowledgeStoreRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/knowledgeStore/v2.0/IDeleteKnowledgeStoreRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/knowledgeStore/v2.0/IIndexKnowledgeStoresRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/knowledgeStore/v2.0/IIngestKnowledgeStoreRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/knowledgeStore/v2.0/IKnowledgeStore_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/knowledgeStore/v2.0/IReadKnowledgeStoreRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/knowledgeStore/v2.0/IUpdateKnowledgeStoreRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/knowledgeStore/v2.0/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/knowledgeStore/v2.0/source/ICreateKnowledgeSourceRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/knowledgeStore/v2.0/source/IDeleteKnowledgeSourceRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/knowledgeStore/v2.0/source/IIndexKnowledgeSourcesRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/knowledgeStore/v2.0/source/IKnowledgeSource_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/knowledgeStore/v2.0/source/IReadKnowledgeSourceRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/knowledgeStore/v2.0/source/IUpdateKnowledgeSourceRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/knowledgeStore/v2.0/source/IUploadKnowledgeSourceFileRest_2_0.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/resources/knowledgeStore/v2.0/source/chunk/ICreateKnowledgeChunkRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/knowledgeStore/v2.0/source/chunk/IDeleteKnowledgeChunkRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/knowledgeStore/v2.0/source/chunk/IIndexKnowledgeChunksRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/knowledgeStore/v2.0/source/chunk/IKnowledgeChunk_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/knowledgeStore/v2.0/source/chunk/IReadKnowledgeChunkRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/knowledgeStore/v2.0/source/chunk/IUpdateKnowledgeChunkRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/largeLanguageModel/v2.0/IAvailableModelsForLLMProvider_2_0 .js +17 -0
- package/dist/esm/shared/interfaces/restAPI/resources/largeLanguageModel/v2.0/ICloneLargeLanguageModelRest_2_0.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/resources/largeLanguageModel/v2.0/ICreateLargeLanguageModelRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/largeLanguageModel/v2.0/IDeleteLargeLanguageModelRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/largeLanguageModel/v2.0/IGetAvailableModelsForLLMRest_2_0 .js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/largeLanguageModel/v2.0/IIndexLargeLanguageModelsRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/largeLanguageModel/v2.0/ILargeLanguageModelIndexItem_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/largeLanguageModel/v2.0/ILargeLanguageModel_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/largeLanguageModel/v2.0/IReadLargeLanguageModelRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/largeLanguageModel/v2.0/ITestLargeLanguageModelRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/largeLanguageModel/v2.0/IUpdateLargeLanguageModelRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/largeLanguageModel/v2.0/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/lexicon/v2.0/IAddKeyphraseToLexiconEntryRest_2_0.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/resources/lexicon/v2.0/IAddSlotToLexiconEntryRest_2_0.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/resources/lexicon/v2.0/IBatchLexiconEntriesRest_2_0.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/resources/lexicon/v2.0/IBatchLexiconSlotsRest_2_0.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/resources/lexicon/v2.0/IBatchLexiconsRest_2_0.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/resources/lexicon/v2.0/IComposeLexiconDownloadLinkRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/lexicon/v2.0/ICreateLexiconEntryRest_2_0.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/resources/lexicon/v2.0/ICreateLexiconRest_2_0.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/resources/lexicon/v2.0/ICreateLexiconSlotRest_2_0.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/resources/lexicon/v2.0/IDeleteLexiconEntryRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/lexicon/v2.0/IDeleteLexiconRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/lexicon/v2.0/IDeleteLexiconSlotRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/lexicon/v2.0/IExportFromLexiconRest_2_0.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/resources/lexicon/v2.0/IImportIntoLexiconRest_2_0.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/resources/lexicon/v2.0/IIndexLexiconEntriesRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/lexicon/v2.0/IIndexLexiconEntryKeyphrasesRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/lexicon/v2.0/IIndexLexiconKeyphrasesRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/lexicon/v2.0/IIndexLexiconSlotsRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/lexicon/v2.0/IIndexLexiconsRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/lexicon/v2.0/ILexiconEntryIndexItem_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/lexicon/v2.0/ILexiconEntry_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/lexicon/v2.0/ILexiconIndexItem_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/lexicon/v2.0/ILexiconKeyphraseIndexItem_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/lexicon/v2.0/ILexiconKeyphrase_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/lexicon/v2.0/ILexiconSlotIndexItem_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/lexicon/v2.0/ILexiconSlot_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/lexicon/v2.0/ILexicon_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/lexicon/v2.0/IReadLexiconEntryRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/lexicon/v2.0/IReadLexiconRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/lexicon/v2.0/IRemoveKeyphraseFromLexiconEntryRest_2_0.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/resources/lexicon/v2.0/IRemoveSlotFromLexiconEntryRest_2_0.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/resources/lexicon/v2.0/IUpdateLexiconEntryRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/lexicon/v2.0/IUpdateLexiconKeyphraseRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/lexicon/v2.0/IUpdateLexiconRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/lexicon/v2.0/IUpdateLexiconSlotRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/lexicon/v2.0/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/locales/v2.0/ICreateLocaleRest_2_0.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/resources/locales/v2.0/IDeleteLocaleRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/locales/v2.0/IIndexLocalesRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/locales/v2.0/ILocaleIndexItem_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/locales/v2.0/ILocale_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/locales/v2.0/IReadLocaleRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/locales/v2.0/IUpdateLocaleRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/locales/v2.0/TNLULanguage_2_0.js +71 -0
- package/dist/esm/shared/interfaces/restAPI/resources/locales/v2.0/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/locales/v2.0/yesNoIntents/IDeleteYesNoIntentRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/locales/v2.0/yesNoIntents/IReadYesNoIntentsRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/locales/v2.0/yesNoIntents/ITrainYesNoIntentsProjectRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/locales/v2.0/yesNoIntents/ITrainYesNoIntentsRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/locales/v2.0/yesNoIntents/IUpdateYesNoIntentRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/locales/v2.0/yesNoIntents/IYesNoIntentItem_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/locales/v2.0/yesNoIntents/IYesNoIntentMetaData_2_0.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/resources/locales/v2.0/yesNoIntents/IYesNoIntents_2_0.js +7 -0
- package/dist/esm/shared/interfaces/restAPI/resources/locales/v2.0/yesNoIntents/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/locales/v2.0/yesNoSentence/ICreateYesNoSentenceRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/locales/v2.0/yesNoSentence/IDeleteYesNoSentenceRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/locales/v2.0/yesNoSentence/IIndexYesNoSentencesRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/locales/v2.0/yesNoSentence/IReadYesNoSentenceRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/locales/v2.0/yesNoSentence/IUpdateYesNoSentenceRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/locales/v2.0/yesNoSentence/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/nluconnector/v2.0/IBatchNLUConnectorsRest_2_0.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/resources/nluconnector/v2.0/ICreateNLUConnectorRest_2_0.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/resources/nluconnector/v2.0/IDeleteNLUConnectorRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/nluconnector/v2.0/IIndexNLUConnectorsRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/nluconnector/v2.0/INLUConnectorIndexItem_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/nluconnector/v2.0/INLUConnector_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/nluconnector/v2.0/IReadINLUConnectorRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/nluconnector/v2.0/IUpdateINLUConnectorRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/nluconnector/v2.0/TNLUConnectorType_2_0.js +36 -0
- package/dist/esm/shared/interfaces/restAPI/resources/nluconnector/v2.0/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/nodedescriptorsets/v2.0/IIndexNodeDescriptorsRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/nodedescriptorsets/v2.0/INodeDescriptor_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/nodedescriptorsets/v2.0/IOptionsResolverRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/nodedescriptorsets/v2.0/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/package/v2.0/IComposePackageDownloadLinkRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/package/v2.0/IConflict_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/package/v2.0/ICreatePackageRest_2_0.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/resources/package/v2.0/IDeletePackageRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/package/v2.0/IIndexPackagesRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/package/v2.0/IMergePackageRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/package/v2.0/IPackageIndexItem_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/package/v2.0/IPackage_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/package/v2.0/IReadPackageRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/package/v2.0/IStrategy_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/package/v2.0/IUploadPackageRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/package/v2.0/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/playbook/v2.0/IBatchPlaybooksRest_2_0.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/resources/playbook/v2.0/IChangePlaybookStepOrderRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/playbook/v2.0/ICreatePlaybookRest_2_0.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/resources/playbook/v2.0/ICreatePlaybookStepAssertRest_2_0.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/resources/playbook/v2.0/ICreatePlaybookStepRest_2_0.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/resources/playbook/v2.0/IDeletePlaybookRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/playbook/v2.0/IDeletePlaybookRunRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/playbook/v2.0/IDeletePlaybookStepAssertRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/playbook/v2.0/IDeletePlaybookStepRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/playbook/v2.0/IIndexPlaybookRunsRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/playbook/v2.0/IIndexPlaybooksRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/playbook/v2.0/IPlaybookIndexItem_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/playbook/v2.0/IPlaybookRunIndexItem_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/playbook/v2.0/IPlaybookRun_2_0.js +6 -0
- package/dist/esm/shared/interfaces/restAPI/resources/playbook/v2.0/IPlaybookStepAssert_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/playbook/v2.0/IPlaybookStep_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/playbook/v2.0/IPlaybook_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/playbook/v2.0/IReadPlaybookRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/playbook/v2.0/IReadPlaybookRunRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/playbook/v2.0/ISchedulePlaybookRunRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/playbook/v2.0/IUpdatePlaybookRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/playbook/v2.0/IUpdatePlaybookStepAssertRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/playbook/v2.0/IUpdatePlaybookStepRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/playbook/v2.0/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/project/v2.0/ICreateProjectByTemplateRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/project/v2.0/ICreateProjectRest_2_0.js +4 -0
- package/dist/esm/shared/interfaces/restAPI/resources/project/v2.0/IDeleteProjectRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/project/v2.0/IGraphProjectRest_2_0.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/resources/project/v2.0/IGraph_2_0.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/resources/project/v2.0/IIndexProjectsRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/project/v2.0/IProjectIndexItem_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/project/v2.0/IProject_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/project/v2.0/IReadProjectRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/project/v2.0/ITrainAllProjectFlowsRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/project/v2.0/IUpdateProjectRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/project/v2.0/IValidateProjectNameRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/project/v2.0/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/project/v2.0/settings/IAgentSettings_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/project/v2.0/settings/IReadAgentSettingsRest_2_0.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/resources/project/v2.0/settings/ISetupCognigyGenerativeAIRest_2_0.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/resources/project/v2.0/settings/ISharedSettings_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/project/v2.0/settings/ITestTranslationSettingsRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/project/v2.0/settings/ITestTranslationSettings_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/project/v2.0/settings/IUpdateAgentSettingsRest_2_0.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/resources/project/v2.0/settings/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/project/v2.0/snippet/ICreateSnippetRest_2_0.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/resources/project/v2.0/snippet/IDeleteSnippetRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/project/v2.0/snippet/IIndexSnippetsRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/project/v2.0/snippet/ISnippetIndexItem_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/project/v2.0/snippet/ISnippet_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/project/v2.0/snippet/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/search/v2.0/ISearchResourcesRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/search/v2.0/ISearchResultIndexItem_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/search/v2.0/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/snapshot/v2.0/IComposeSnapshotDownloadLinkRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/snapshot/v2.0/ICreateSnapshotRest_2_0.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/resources/snapshot/v2.0/IDeleteSnapshotRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/snapshot/v2.0/IIndexResourcesInSnapshotRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/snapshot/v2.0/IIndexSnapshotsRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/snapshot/v2.0/IPackageSnapshotRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/snapshot/v2.0/IReadSnapshotRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/snapshot/v2.0/IResourceInSnapshotItem_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/snapshot/v2.0/IRestoreSnapshotRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/snapshot/v2.0/ISnapshotIndexItem_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/snapshot/v2.0/ISnapshot_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/snapshot/v2.0/IUploadSnapshotPackageRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/snapshot/v2.0/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/resources/uploadResumable/v2.0/IUploadResumableRest_2_0.js +16 -0
- package/dist/esm/shared/interfaces/restAPI/resources/uploadResumable/v2.0/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/sessions/endpoint/v2.0/IInjectRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/sessions/endpoint/v2.0/INotifyRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/sessions/endpoint/v2.0/index.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/sessions/nlu/v2.0/IInjectContextRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/sessions/nlu/v2.0/IInjectStateRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/sessions/nlu/v2.0/IResetContextRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/sessions/nlu/v2.0/IResetStateRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/sessions/nlu/v2.0/index.js +2 -0
- package/dist/esm/shared/interfaces/rule.js +15 -0
- package/dist/esm/shared/interfaces/security/IACL.js +8 -0
- package/dist/esm/shared/interfaces/security/ICallCounterAggregatedValue.js +2 -0
- package/dist/esm/shared/interfaces/security/IConversationCounterAggregatedValue.js +2 -0
- package/dist/esm/shared/interfaces/security/IIdentityProvider.js +120 -0
- package/dist/esm/shared/interfaces/security/IKnowledgeQueryCounterAggregatedValue.js +2 -0
- package/dist/esm/shared/interfaces/security/ILoginAttempt.js +2 -0
- package/dist/esm/shared/interfaces/security/IOperation.js +7 -0
- package/dist/esm/shared/interfaces/security/IOrganisactionScope.js +2 -0
- package/dist/esm/shared/interfaces/security/IPermission.js +116 -0
- package/dist/esm/shared/interfaces/security/IPinnedResource.js +2 -0
- package/dist/esm/shared/interfaces/security/IProjectMember.js +2 -0
- package/dist/esm/shared/interfaces/security/IProjectScope.js +2 -0
- package/dist/esm/shared/interfaces/security/IProjectsScope.js +2 -0
- package/dist/esm/shared/interfaces/security/IRole.js +137 -0
- package/dist/esm/shared/interfaces/security/ISystemCapabilities.js +2 -0
- package/dist/esm/shared/interfaces/security/IUserMeta.js +2 -0
- package/dist/esm/shared/interfaces/security/IUserRole.js +2 -0
- package/dist/esm/shared/interfaces/security/index.js +6 -0
- package/dist/esm/shared/interfaces/sessionstate/ISessionState.js +2 -0
- package/dist/esm/shared/interfaces/sessionstate/index.js +2 -0
- package/dist/esm/shared/interfaces/sunshineConversations.js +2 -0
- package/dist/esm/shared/interfaces/taskmanager/ITask.js +27 -0
- package/dist/esm/shared/interfaces/taskmanager/ITaskReturnValue.js +2 -0
- package/dist/esm/shared/interfaces/taskmanager/ITaskScope.js +2 -0
- package/dist/esm/shared/interfaces/taskmanager/TTaskProgress.js +2 -0
- package/dist/esm/shared/interfaces/taskmanager/TTaskStatus.js +2 -0
- package/dist/esm/shared/interfaces/taskmanager/TTerminatedTaskStatus.js +2 -0
- package/dist/esm/shared/interfaces/taskmanager/index.js +3 -0
- package/dist/esm/shared/interfaces/trainer/ITrainerRecord.js +107 -0
- package/dist/esm/shared/interfaces/trainer/THandleAction.js +2 -0
- package/dist/esm/shared/interfaces/trainer/index.js +3 -0
- package/dist/esm/shared/interfaces/transcripts/transcripts.js +30 -0
- package/dist/esm/shared/interfaces/transformers/ITransformerFunction.js +22 -0
- package/dist/esm/shared/interfaces/transformers/baseTransformers.js +2 -0
- package/dist/esm/shared/interfaces/transformers/index.js +2 -0
- package/dist/esm/shared/interfaces/translation.js +10 -0
- package/dist/esm/shared/interfaces/types/ICreateChartNodeBasicNodesData.js +2 -0
- package/dist/esm/shared/interfaces/types/TAbstractTaskData.js +2 -0
- package/dist/esm/shared/interfaces/types/TCSSColorName.js +190 -0
- package/dist/esm/shared/interfaces/types/TCognigyColorName.js +20 -0
- package/dist/esm/shared/interfaces/types/TMongoId.js +2 -0
- package/dist/esm/shared/interfaces/types/TNLULanguage.js +32 -0
- package/dist/esm/shared/interfaces/types/TTimestamp.js +2 -0
- package/dist/esm/shared/interfaces/types/TTimezone.js +1197 -0
- package/dist/esm/shared/interfaces/user.js +22 -0
- package/dist/esm/shared/json-schema.js +20 -0
- package/dist/esm/shared/mongoose/pagination/ICursorBasedPaginationReturnValue.js +2 -0
- package/dist/esm/shared/mongoose/pagination/IMongoosePaginationPluginReturnValue.js +2 -0
- package/dist/esm/shared/mongoose/pagination/IRestFilterQuery.js +2 -0
- package/dist/esm/shared/mongoose/pagination/IRestPagination.js +2 -0
- package/dist/esm/shared/mongoose/pagination/IRestPaginationQuery.js +2 -0
- package/dist/esm/shared/mongoose/pagination/index.js +2 -0
- package/dist/esm/shared/typescriptHelper.js +2 -0
- package/dist/esm/test.js +1 -0
- package/package.json +4 -4
- package/tsconfig.esm.json +10 -0
- package/types/index.d.ts +46 -11
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
import { __awaiter } from "tslib";
|
|
2
|
+
/* Custom modules */
|
|
3
|
+
import { createNodeDescriptor } from "../../../createNodeDescriptor";
|
|
4
|
+
import { createExtractionPrompt, createInvalidAnswerPrompt, createQuestionPrompt } from "./prompt";
|
|
5
|
+
import logger from "../../../../helper/logger";
|
|
6
|
+
import { SAY } from "../../message";
|
|
7
|
+
export const GENERATIVE_SLOT_FILLER = createNodeDescriptor({
|
|
8
|
+
type: "generativeSlotFiller",
|
|
9
|
+
defaultLabel: "Generative Slot Filler",
|
|
10
|
+
summary: "UI__NODE_EDITOR__NLU__GENERATIVE_SLOT_FILLER__SUMMARY__DEFAULT",
|
|
11
|
+
dependencies: {
|
|
12
|
+
children: ["generativeSlotFillerFallback", "generativeSlotFillerSuccess"],
|
|
13
|
+
},
|
|
14
|
+
fields: [
|
|
15
|
+
{
|
|
16
|
+
key: "slotsConfig",
|
|
17
|
+
type: "json",
|
|
18
|
+
label: "UI__NODE_EDITOR__NLU__GENERATIVE_SLOT_FILLER__FIELDS__SLOT_CONFIG__DEFAULT_LABEL",
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
key: "amountOfLastUserInputs",
|
|
22
|
+
type: "slider",
|
|
23
|
+
label: "UI__NODE_EDITOR__NLU__GENERATIVE_SLOT_FILLER__FIELDS__AMOUNT_OF_LAST_USERS_INPUTS__LABEL",
|
|
24
|
+
params: {
|
|
25
|
+
min: 1,
|
|
26
|
+
max: 10,
|
|
27
|
+
step: 1,
|
|
28
|
+
},
|
|
29
|
+
defaultValue: 5
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
key: "maxQuestions",
|
|
33
|
+
label: "UI__NODE_EDITOR__NLU__GENERATIVE_MAX_QUESTIONS__DEFAULT_LABEL",
|
|
34
|
+
type: "slider",
|
|
35
|
+
defaultValue: 5,
|
|
36
|
+
params: {
|
|
37
|
+
min: 0,
|
|
38
|
+
max: 10,
|
|
39
|
+
step: 1
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
key: "temperature",
|
|
44
|
+
label: "UI__NODE_EDITOR__NLU__GENERATIVE_TEMPERATURE__DEFAULT_LABEL",
|
|
45
|
+
type: "slider",
|
|
46
|
+
description: "UI__NODE_EDITOR__NLU__GENERATIVE_SLIDER__DEFAULT_LABEL",
|
|
47
|
+
defaultValue: 1,
|
|
48
|
+
params: {
|
|
49
|
+
min: 0,
|
|
50
|
+
max: 1,
|
|
51
|
+
step: 0.1
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
key: "timeout",
|
|
56
|
+
label: "UI__NODE_EDITOR__NLU__GENERATIVE_TIMEOUT__DEFAULT_LABEL",
|
|
57
|
+
defaultValue: 6000,
|
|
58
|
+
type: "number",
|
|
59
|
+
description: "UI__NODE_EDITOR__NLU__GENERATIVE_TIMEOUT__DESCRIPTION",
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
key: "storeLocation",
|
|
63
|
+
type: "select",
|
|
64
|
+
label: "UI__NODE_EDITOR__NLU__GENERATIVE_STORE_LOCATION__DEFAULT_LABEL",
|
|
65
|
+
defaultValue: "context",
|
|
66
|
+
params: {
|
|
67
|
+
options: [
|
|
68
|
+
{
|
|
69
|
+
label: "UI__NODE_EDITOR__NLU__GENERATIVE_STORE_LOCATION__OPTIONS__INPUT__LABEL",
|
|
70
|
+
value: "input"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
label: "UI__NODE_EDITOR__NLU__GENERATIVE_STORE_LOCATION__OPTIONS__CONTEXT__LABEL",
|
|
74
|
+
value: "context"
|
|
75
|
+
}
|
|
76
|
+
],
|
|
77
|
+
required: true
|
|
78
|
+
},
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
key: "inputKey",
|
|
82
|
+
type: "cognigyText",
|
|
83
|
+
label: "UI__NODE_EDITOR__NLU__GENERATIVE_INPUT_KEY__DEFAULT_LABEL",
|
|
84
|
+
defaultValue: "generativeSlotFiller",
|
|
85
|
+
condition: {
|
|
86
|
+
key: "storeLocation",
|
|
87
|
+
value: "input",
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
key: "contextKey",
|
|
92
|
+
type: "cognigyText",
|
|
93
|
+
label: "UI__NODE_EDITOR__NLU__GENERATIVE_CONTEXT_KEY__DEFAULT_LABEL",
|
|
94
|
+
defaultValue: "generativeSlotFiller",
|
|
95
|
+
condition: {
|
|
96
|
+
key: "storeLocation",
|
|
97
|
+
value: "context",
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
],
|
|
101
|
+
sections: [
|
|
102
|
+
{
|
|
103
|
+
key: "advanced",
|
|
104
|
+
label: "UI__NODE_EDITOR__NLU__GENERATIVE_SLOT_FILLER__SECTIONS__ADVANCED__DEFAULT_LABEL",
|
|
105
|
+
defaultCollapsed: true,
|
|
106
|
+
fields: [
|
|
107
|
+
"temperature",
|
|
108
|
+
"timeout",
|
|
109
|
+
]
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
key: "storage",
|
|
113
|
+
label: "UI__NODE_EDITOR__NLU__GENERATIVE_SLOT_FILLER__SECTIONS__STORAGE__DEFAULT_LABEL",
|
|
114
|
+
defaultCollapsed: true,
|
|
115
|
+
fields: [
|
|
116
|
+
"storeLocation",
|
|
117
|
+
"inputKey",
|
|
118
|
+
"contextKey",
|
|
119
|
+
]
|
|
120
|
+
}
|
|
121
|
+
],
|
|
122
|
+
form: [
|
|
123
|
+
{ type: "field", key: "slotsConfig" },
|
|
124
|
+
{ type: "field", key: "amountOfLastUserInputs" },
|
|
125
|
+
{ type: "field", key: "maxQuestions" },
|
|
126
|
+
{ type: "section", key: "advanced" },
|
|
127
|
+
{ type: "section", key: "storage" },
|
|
128
|
+
],
|
|
129
|
+
appearance: {},
|
|
130
|
+
tags: ["ai", "nlu"],
|
|
131
|
+
function: ({ cognigy, config, childConfigs, nodeId, organisationId }) => __awaiter(void 0, void 0, void 0, function* () {
|
|
132
|
+
var _a;
|
|
133
|
+
const { api, lastConversationEntries } = cognigy;
|
|
134
|
+
const { slotsConfig, amountOfLastUserInputs, maxQuestions, temperature, storeLocation, contextKey, inputKey, timeout, } = config;
|
|
135
|
+
const fallBackChild = childConfigs.find(child => child.type === "generativeSlotFillerFallback");
|
|
136
|
+
if ((slotsConfig === null || slotsConfig === void 0 ? void 0 : slotsConfig.length) < 1 || (lastConversationEntries === null || lastConversationEntries === void 0 ? void 0 : lastConversationEntries.length) < 1) {
|
|
137
|
+
api.setNextNode(fallBackChild.id);
|
|
138
|
+
return;
|
|
139
|
+
}
|
|
140
|
+
try {
|
|
141
|
+
// the filled slots that were found in the previous execution
|
|
142
|
+
const filledSlots = storeLocation === "context" ? cognigy.context[contextKey] : cognigy.input[inputKey];
|
|
143
|
+
const slots = [...slotsConfig];
|
|
144
|
+
if (filledSlots) {
|
|
145
|
+
for (const filledSlot of Object.keys(filledSlots)) {
|
|
146
|
+
const slot = slots.find(slot => slot.tag === filledSlot);
|
|
147
|
+
slot.value = filledSlots[filledSlot];
|
|
148
|
+
// remove the validation, so that the slot is not validated again
|
|
149
|
+
delete slot.validation;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
const questionCountKey = `generativeSlotFiller_${nodeId}_questionCount`;
|
|
153
|
+
const questionCount = api.getSystemContext(questionCountKey) || 0;
|
|
154
|
+
// for questions, we only use the last user input
|
|
155
|
+
const extractionEntries = questionCount > 0 ? filterConversationEntries(lastConversationEntries, 1) : filterConversationEntries(lastConversationEntries, amountOfLastUserInputs);
|
|
156
|
+
const extractEntitiesprompt = createExtractionPrompt(slots, extractionEntries);
|
|
157
|
+
const data = {
|
|
158
|
+
prompt: extractEntitiesprompt,
|
|
159
|
+
temperature,
|
|
160
|
+
timeoutInMs: timeout,
|
|
161
|
+
useCase: "slotExtraction",
|
|
162
|
+
};
|
|
163
|
+
// TODO: Create a new useCase for this feature and use it here instead
|
|
164
|
+
const response = yield api.runGenerativeAIPrompt(data, "gptConversation");
|
|
165
|
+
const parsed = JSON.parse(response);
|
|
166
|
+
const slotsWithLexiconValidations = [];
|
|
167
|
+
slots.forEach(slot => {
|
|
168
|
+
if (parsed[slot.tag]) {
|
|
169
|
+
if (slot.validation && slot.validation.type === "slot") {
|
|
170
|
+
slotsWithLexiconValidations.push(slot);
|
|
171
|
+
}
|
|
172
|
+
slot.value = parsed[slot.tag];
|
|
173
|
+
}
|
|
174
|
+
});
|
|
175
|
+
for (const slot of slotsWithLexiconValidations) {
|
|
176
|
+
const nlu = yield api.executeCognigyNLU(parsed[slot.tag], null, "TODO", {
|
|
177
|
+
parseIntents: false,
|
|
178
|
+
});
|
|
179
|
+
if ((_a = nlu === null || nlu === void 0 ? void 0 : nlu.slots) === null || _a === void 0 ? void 0 : _a[slot.validation.value]) {
|
|
180
|
+
slot.invalid = false;
|
|
181
|
+
}
|
|
182
|
+
else {
|
|
183
|
+
slot.invalid = true;
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
;
|
|
187
|
+
let complete = true;
|
|
188
|
+
let allValid = true;
|
|
189
|
+
const missingSlots = [];
|
|
190
|
+
const invalidSlots = [];
|
|
191
|
+
const foundSlots = [];
|
|
192
|
+
for (const slot of slots) {
|
|
193
|
+
if (!slot.optional && !slot.value) {
|
|
194
|
+
missingSlots.push(slot);
|
|
195
|
+
}
|
|
196
|
+
else if (slot.invalid) {
|
|
197
|
+
invalidSlots.push(slot);
|
|
198
|
+
}
|
|
199
|
+
else if (slot.value && !slot.invalid) {
|
|
200
|
+
foundSlots.push(slot);
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
const slotResult = {};
|
|
204
|
+
foundSlots.forEach(slot => {
|
|
205
|
+
slotResult[slot.tag] = slot.value;
|
|
206
|
+
});
|
|
207
|
+
if (storeLocation === "context") {
|
|
208
|
+
cognigy.context[contextKey] = slotResult;
|
|
209
|
+
}
|
|
210
|
+
else {
|
|
211
|
+
cognigy.input[contextKey] = slotResult;
|
|
212
|
+
}
|
|
213
|
+
if (missingSlots.length > 0) {
|
|
214
|
+
complete = false;
|
|
215
|
+
}
|
|
216
|
+
if (invalidSlots.length > 0) {
|
|
217
|
+
allValid = false;
|
|
218
|
+
}
|
|
219
|
+
if (complete && allValid) {
|
|
220
|
+
const childNode = childConfigs.find(child => child.type === "generativeSlotFillerSuccess");
|
|
221
|
+
api.setNextNode(childNode.id);
|
|
222
|
+
return;
|
|
223
|
+
}
|
|
224
|
+
if (questionCount >= maxQuestions && !(complete && allValid)) {
|
|
225
|
+
const childNode = childConfigs.find(child => child.type === "generativeSlotFillerFallback");
|
|
226
|
+
api.setNextNode(childNode.id);
|
|
227
|
+
return;
|
|
228
|
+
}
|
|
229
|
+
if (questionCount < maxQuestions && !(complete && allValid)) {
|
|
230
|
+
api.setSystemContext(questionCountKey, questionCount + 1);
|
|
231
|
+
const prompt = allValid ? createQuestionPrompt(foundSlots, missingSlots, extractionEntries) : createInvalidAnswerPrompt(invalidSlots, extractionEntries);
|
|
232
|
+
const data = {
|
|
233
|
+
prompt,
|
|
234
|
+
temperature,
|
|
235
|
+
timeoutInMs: timeout,
|
|
236
|
+
useCase: "slotExtractionQuestion",
|
|
237
|
+
};
|
|
238
|
+
// TODO: Create a new useCase for this feature and use it here instead
|
|
239
|
+
const question = yield api.runGenerativeAIPrompt(data, "gptConversation");
|
|
240
|
+
yield SAY.function({ cognigy, childConfigs: [], nodeId, organisationId, config: { say: { type: "text", text: [question] } } });
|
|
241
|
+
api.stopExecution();
|
|
242
|
+
api.setNextNode(nodeId);
|
|
243
|
+
return;
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
catch (error) {
|
|
247
|
+
api.setNextNode(fallBackChild.id);
|
|
248
|
+
logger.log("error", { traceId: cognigy.input.traceId }, `Error in generativeSlotFiller: ${error.message}`);
|
|
249
|
+
}
|
|
250
|
+
})
|
|
251
|
+
});
|
|
252
|
+
export const filterConversationEntries = (lastConversationEntries, amountOfLastUserInputs) => {
|
|
253
|
+
let addedUserInputsCount = 0;
|
|
254
|
+
let lastEntries = [];
|
|
255
|
+
// lastUserInputs is ordered newest -> oldest
|
|
256
|
+
for (const entry of lastConversationEntries) {
|
|
257
|
+
if (entry.source === "user" && addedUserInputsCount >= amountOfLastUserInputs) {
|
|
258
|
+
break;
|
|
259
|
+
}
|
|
260
|
+
lastEntries.push(entry);
|
|
261
|
+
if (entry.source === "user") {
|
|
262
|
+
addedUserInputsCount++;
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
return lastEntries;
|
|
266
|
+
};
|
|
267
|
+
//# sourceMappingURL=generativeSlotFiller.js.map
|
package/dist/esm/shared/charts/descriptors/nlu/generativeSlotFiller/generativeSlotFillerFallback.js
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/* Custom modules */
|
|
2
|
+
import { createNodeDescriptor } from "../../../createNodeDescriptor";
|
|
3
|
+
export const GENERATIVE_SLOT_FILLER_FALLBACK = createNodeDescriptor({
|
|
4
|
+
type: "generativeSlotFillerFallback",
|
|
5
|
+
parentType: "generativeSlotFillerFallback",
|
|
6
|
+
defaultLabel: "Fallback",
|
|
7
|
+
appearance: {
|
|
8
|
+
color: '#B3A7EA',
|
|
9
|
+
textColor: 'white',
|
|
10
|
+
contrastTextColor: 'black',
|
|
11
|
+
variant: 'mini'
|
|
12
|
+
},
|
|
13
|
+
constraints: {
|
|
14
|
+
editable: false,
|
|
15
|
+
deletable: false,
|
|
16
|
+
collapsable: true,
|
|
17
|
+
childFlowCreatable: true,
|
|
18
|
+
creatable: false,
|
|
19
|
+
movable: false,
|
|
20
|
+
placement: {},
|
|
21
|
+
},
|
|
22
|
+
tags: ["ai", "nlu"],
|
|
23
|
+
});
|
|
24
|
+
//# sourceMappingURL=generativeSlotFillerFallback.js.map
|
package/dist/esm/shared/charts/descriptors/nlu/generativeSlotFiller/generativeSlotFillerSuccess.js
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/* Custom modules */
|
|
2
|
+
import { createNodeDescriptor } from "../../../createNodeDescriptor";
|
|
3
|
+
export const GENERATIVE_SLOT_FILLER_SUCCESS = createNodeDescriptor({
|
|
4
|
+
type: "generativeSlotFillerSuccess",
|
|
5
|
+
parentType: "generativeSlotFillerSuccess",
|
|
6
|
+
defaultLabel: "Success",
|
|
7
|
+
appearance: {
|
|
8
|
+
color: '#B3A7EA',
|
|
9
|
+
textColor: 'white',
|
|
10
|
+
contrastTextColor: 'black',
|
|
11
|
+
variant: 'mini'
|
|
12
|
+
},
|
|
13
|
+
constraints: {
|
|
14
|
+
editable: false,
|
|
15
|
+
deletable: false,
|
|
16
|
+
collapsable: true,
|
|
17
|
+
childFlowCreatable: true,
|
|
18
|
+
creatable: false,
|
|
19
|
+
movable: false,
|
|
20
|
+
placement: {},
|
|
21
|
+
},
|
|
22
|
+
tags: ["ai", "nlu"],
|
|
23
|
+
});
|
|
24
|
+
//# sourceMappingURL=generativeSlotFillerSuccess.js.map
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
import { __awaiter } from "tslib";
|
|
2
|
+
export const createExtractionPrompt = (slots, lastConversationEntries) => {
|
|
3
|
+
const userInput = lastConversationEntries.filter(entry => entry.source === "user").map(entry => "- " + entry.text).join("\n");
|
|
4
|
+
const conversation = createLastConverationString(lastConversationEntries);
|
|
5
|
+
let slotDescriptions = "";
|
|
6
|
+
let foundSlotDescriptions = "";
|
|
7
|
+
for (const slot of slots) {
|
|
8
|
+
if (!slot.value || slot.invalid) {
|
|
9
|
+
slotDescriptions += `- KEY: ${slot.tag}, DESCRIPTION: ${slot.optional ? "(if explicitly mentioned) " : ""}${slot.description}\n`;
|
|
10
|
+
}
|
|
11
|
+
else {
|
|
12
|
+
foundSlotDescriptions += `- KEY: ${slot.tag}, DESCRIPTION: ${slot.description}, FOUND: ${slot.value}\n`;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
const prompt = `A USER has interacted with a BOT, this is the conversation so far:
|
|
16
|
+
${conversation}
|
|
17
|
+
${foundSlotDescriptions.length > 0 ? `\nSo far, the BOT has found the following entities:\n${foundSlotDescriptions}` : ""}
|
|
18
|
+
Try to fill the following entities from the USER input, each entity has to match the given description field. If the value does not strictly match this description, leave the value empty:
|
|
19
|
+
${slotDescriptions}
|
|
20
|
+
Return the extracted entities as a valid JSON object, where the keys are the entity tags and the values are the extracted values.`;
|
|
21
|
+
return prompt;
|
|
22
|
+
};
|
|
23
|
+
export const createQuestionPrompt = (foundSlots, missingSlots, lastConversationEntries) => {
|
|
24
|
+
const conversation = createLastConverationString(lastConversationEntries);
|
|
25
|
+
const missingSlotDescriptions = missingSlots.map(slot => `- KEY: ${slot.tag}, DESCRIPTION: ${slot.description}`).join("\n");
|
|
26
|
+
const foundSlotDescriptions = foundSlots.map(slot => `- KEY: ${slot.tag}, DESCRIPTION: ${slot.description}, FOUND: ${slot.value}`).join("\n");
|
|
27
|
+
const prompt = `A user has interacted with a bot, this is the conversation so far:
|
|
28
|
+
${conversation}
|
|
29
|
+
|
|
30
|
+
${foundSlots.length > 0 ? `So far, the BOT has found the following entities:\n${foundSlotDescriptions}` : ""}
|
|
31
|
+
|
|
32
|
+
The BOT wants to find the following entities:
|
|
33
|
+
${missingSlotDescriptions}
|
|
34
|
+
|
|
35
|
+
The BOT asks the user to for this information, based on the conversation so far. The BOT outputs should not be repetitive.
|
|
36
|
+
BOT: `;
|
|
37
|
+
return prompt;
|
|
38
|
+
};
|
|
39
|
+
export const createInvalidAnswerPrompt = (invalidSlots, lastConversationEntries) => {
|
|
40
|
+
const userInput = createLastConverationString(lastConversationEntries);
|
|
41
|
+
const invalidSlotDescription = `- KEY: ${invalidSlots[0].tag}, DESCRIPTION: ${invalidSlots[0].description}, USER INPUT: ${invalidSlots[0].value}, INVALID BECAUSE: ${invalidSlots[0].validation.invalidReason}\n`;
|
|
42
|
+
const prompt = `A user has interacted with a bot, this is the conversation so far:
|
|
43
|
+
${userInput}
|
|
44
|
+
|
|
45
|
+
The USER has provided the following entities, but the USER INPUT was INVALID BECAUSE:
|
|
46
|
+
${invalidSlotDescription}
|
|
47
|
+
The BOT explains the answer why he can't use the answer and asks the USER again for this information, based on the conversation so far. The BOT does not give explicit alternatives.:
|
|
48
|
+
BOT: `;
|
|
49
|
+
invalidSlots[0].invalid = false;
|
|
50
|
+
invalidSlots[0].value = "";
|
|
51
|
+
return prompt;
|
|
52
|
+
};
|
|
53
|
+
/* returns recentConversation as a multiline string:
|
|
54
|
+
- BOT: Hello
|
|
55
|
+
- USER: Hi
|
|
56
|
+
*/
|
|
57
|
+
export const createLastConverationString = (lastConversationEntries, turnLimit = 100) => {
|
|
58
|
+
const conversation = lastConversationEntries === null || lastConversationEntries === void 0 ? void 0 : lastConversationEntries.map(entry => "- " + (entry.source === "user" ? "USER: " : "BOT: ") + entry.text).slice(0, turnLimit).reverse().join("\n");
|
|
59
|
+
return conversation || "";
|
|
60
|
+
};
|
|
61
|
+
/* returns recentConversation as an openai formatted chat prompt, e.g.
|
|
62
|
+
[
|
|
63
|
+
{
|
|
64
|
+
"role": "system",
|
|
65
|
+
"content": "Imagine you're Michael and you're working in a agency for insurance sales for CNP Santander Insurance Europe. Your job is to call customers who have just gotten a loan from a bank. Your job is to sell them loan default insurance.\n\nIt's important you act tactfully and slowly approach the topic. Your main goal is to get the customer to confirm they want to the insurance, but don't be pushy.\n\nThe customer name is Vito Volpe. The loan amount for this customer is 10000 and the cost for the insurance is 0.89% of the loan amount per year, paid with the insurance payments. The customer can opt out at any time. \n\nOnce the customer is has confirmed they want the insurance, answer with \"SUCCESS\" only.\nIf the customer wants to reschedule the call, confirm the time and then answer with \"RESCHEDULE\" only.\n\nDon't immediately start with the offer. Make sure the customer is comfortable first.\n\nDon't discuss other insurance products. Don't negotiate on pricing.\n\nUse simple wording only. Speak in short sentences."
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"role": "user",
|
|
69
|
+
"content": "Hello?"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"role": "assistant",
|
|
73
|
+
"content": "Good day, is this Mr. Vito Volpe I am speaking with?"
|
|
74
|
+
}
|
|
75
|
+
]
|
|
76
|
+
*/
|
|
77
|
+
export const createLastConversationChatObject = (lastConversationEntries, systemMessage, turnLimit = 100, limitToOnlyUserMessages) => {
|
|
78
|
+
const conversation = [];
|
|
79
|
+
if (systemMessage) {
|
|
80
|
+
conversation.push({
|
|
81
|
+
role: "system",
|
|
82
|
+
content: systemMessage
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
if (limitToOnlyUserMessages) {
|
|
86
|
+
// limit the conversation entries to the last X messages with source user
|
|
87
|
+
lastConversationEntries === null || lastConversationEntries === void 0 ? void 0 : lastConversationEntries.filter(entry => entry.source === "user").slice(0, turnLimit).reverse().map(entry => {
|
|
88
|
+
var _a, _b;
|
|
89
|
+
if ((_b = (_a = entry === null || entry === void 0 ? void 0 : entry.text) === null || _a === void 0 ? void 0 : _a.trim()) === null || _b === void 0 ? void 0 : _b.length) {
|
|
90
|
+
conversation.push({
|
|
91
|
+
role: "user",
|
|
92
|
+
content: entry.text.trim()
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
else {
|
|
98
|
+
lastConversationEntries === null || lastConversationEntries === void 0 ? void 0 : lastConversationEntries.slice(0, turnLimit).reverse().map(entry => {
|
|
99
|
+
var _a, _b;
|
|
100
|
+
// if text exists, add to conversation
|
|
101
|
+
// necessary to prevent data only messages from being added
|
|
102
|
+
if ((_b = (_a = entry === null || entry === void 0 ? void 0 : entry.text) === null || _a === void 0 ? void 0 : _a.trim()) === null || _b === void 0 ? void 0 : _b.length) {
|
|
103
|
+
conversation.push({
|
|
104
|
+
role: entry.source === "user" ? "user" : "assistant",
|
|
105
|
+
content: entry.text.trim()
|
|
106
|
+
});
|
|
107
|
+
}
|
|
108
|
+
});
|
|
109
|
+
}
|
|
110
|
+
return conversation;
|
|
111
|
+
};
|
|
112
|
+
/* returns recentUserInput as a multiline string:
|
|
113
|
+
- Hi
|
|
114
|
+
- I want to order...
|
|
115
|
+
*/
|
|
116
|
+
export const createLastUserInputString = (lastConversationEntries, turnLimit = 100) => {
|
|
117
|
+
const userInput = lastConversationEntries.filter(entry => entry.source === "user").map(entry => "- " + entry.text).slice(0, turnLimit).reverse().join("\n");
|
|
118
|
+
return userInput || "";
|
|
119
|
+
};
|
|
120
|
+
/**
|
|
121
|
+
* Writes debug logs for LLM calls
|
|
122
|
+
* @param label the label of the log
|
|
123
|
+
* @param prompt the prompt used for the LLM call
|
|
124
|
+
* @param response the response of the LLM call
|
|
125
|
+
* @param debugLogTokenCount whether to log the token count
|
|
126
|
+
* @param debugLogRequestAndCompletion whether to log the request and completion
|
|
127
|
+
* @param cognigy the cognigy object (input, api, etc)
|
|
128
|
+
*/
|
|
129
|
+
export const writeLLMDebugLogs = (label, prompt, response, debugLogTokenCount, debugLogRequestAndCompletion, cognigy) => __awaiter(void 0, void 0, void 0, function* () {
|
|
130
|
+
var _a, _b, _c, _d;
|
|
131
|
+
const { api, input } = cognigy;
|
|
132
|
+
if (input.endpointType !== "adminconsole" && !api.getMetadata().isFollowSessionActive) {
|
|
133
|
+
// only return logs if in interaction panel or following session
|
|
134
|
+
return;
|
|
135
|
+
}
|
|
136
|
+
// stringify the response if it is an object
|
|
137
|
+
const responseOutputFormatted = typeof response === "object" ? JSON.stringify(response.result || response, null, 4) : response;
|
|
138
|
+
// debug logs are only processed for the interaction panel
|
|
139
|
+
if (debugLogRequestAndCompletion) {
|
|
140
|
+
try {
|
|
141
|
+
let requestTokenMessage = "";
|
|
142
|
+
let completionTokenMessage = "";
|
|
143
|
+
if (debugLogTokenCount) {
|
|
144
|
+
if (prompt) {
|
|
145
|
+
const requestTokens = (_a = response === null || response === void 0 ? void 0 : response.tokenUsage) === null || _a === void 0 ? void 0 : _a.inputTokens;
|
|
146
|
+
requestTokenMessage = ` (${requestTokens} Tokens)`;
|
|
147
|
+
}
|
|
148
|
+
if (response) {
|
|
149
|
+
const completionTokens = (_b = response === null || response === void 0 ? void 0 : response.tokenUsage) === null || _b === void 0 ? void 0 : _b.outputTokens;
|
|
150
|
+
completionTokenMessage = ` (${completionTokens} Tokens)`;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
api.logDebugMessage(`UI__DEBUG_MODE__LLM_PROMPT__FULL_REQUEST__REQUEST${requestTokenMessage}:<br>${prompt}<br><br>UI__DEBUG_MODE__LLM_PROMPT__FULL_REQUEST__COMPLETION${completionTokenMessage}:<br>${responseOutputFormatted}`, "UI__DEBUG_MODE__LLM_PROMPT__FULL_REQUEST__HEADER");
|
|
154
|
+
}
|
|
155
|
+
catch (err) { }
|
|
156
|
+
}
|
|
157
|
+
else if (debugLogTokenCount) {
|
|
158
|
+
try {
|
|
159
|
+
let requestTokens = 0;
|
|
160
|
+
let completionTokens = 0;
|
|
161
|
+
requestTokens = (_c = response.tokenUsage) === null || _c === void 0 ? void 0 : _c.inputTokens;
|
|
162
|
+
completionTokens = (_d = response.tokenUsage) === null || _d === void 0 ? void 0 : _d.outputTokens;
|
|
163
|
+
const requestTokenMessage = requestTokens || "unknown";
|
|
164
|
+
const completionTokenMessage = completionTokens || "unknown";
|
|
165
|
+
const totalTokens = (requestTokens + completionTokens) || "unknown";
|
|
166
|
+
const completionMessage = response ? `<br>UI__DEBUG_MODE__LLM_PROMPT__TOKEN_COUNT__COMPLETION_TOKENS: ${completionTokenMessage}<br>UI__DEBUG_MODE__LLM_PROMPT__TOKEN_COUNT__TOTAL_TOKENS: ${totalTokens}` : "";
|
|
167
|
+
api.logDebugMessage(`UI__DEBUG_MODE__LLM_PROMPT__TOKEN_COUNT__REQUEST_TOKENS: ${requestTokenMessage}${completionMessage}`, "UI__DEBUG_MODE__LLM_PROMPT__TOKEN_COUNT__HEADER");
|
|
168
|
+
}
|
|
169
|
+
catch (err) { }
|
|
170
|
+
}
|
|
171
|
+
});
|
|
172
|
+
/**
|
|
173
|
+
* Converts an OpenAI chat object to a prompt string
|
|
174
|
+
* @param chat The OpenAI Chat Object
|
|
175
|
+
* @returns The concatenated string
|
|
176
|
+
*/
|
|
177
|
+
export const convertChatToPrompt = (chat) => {
|
|
178
|
+
let prompt = "";
|
|
179
|
+
for (const message of chat) {
|
|
180
|
+
if (message.role === "system") {
|
|
181
|
+
prompt += `${message.content}\n`;
|
|
182
|
+
}
|
|
183
|
+
else if (message.role === "user") {
|
|
184
|
+
prompt += `user: ${message.content}\n`;
|
|
185
|
+
}
|
|
186
|
+
else if (message.role === "assistant") {
|
|
187
|
+
prompt += `assistant: ${message.content}\n`;
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
prompt += "assistant: ";
|
|
191
|
+
return prompt;
|
|
192
|
+
};
|
|
193
|
+
//# sourceMappingURL=prompt.js.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { ADD_LEXICON_KEYPHRASE } from "./addLexiconKeyphrase";
|
|
2
|
+
export { EXECUTE_COGNIGY_NLU } from "./executeCognigyNLU";
|
|
3
|
+
export { REGEX_SLOT_FILLER } from "./regexSlotFiller";
|
|
4
|
+
export { MATCH_PATTERN } from "./matchPattern";
|
|
5
|
+
export { FUZZY_SEARCH } from "./fuzzySearch";
|
|
6
|
+
export { GENERATIVE_SLOT_FILLER } from "./generativeSlotFiller/generativeSlotFiller";
|
|
7
|
+
export { GENERATIVE_SLOT_FILLER_SUCCESS } from "./generativeSlotFiller/generativeSlotFillerSuccess";
|
|
8
|
+
export { GENERATIVE_SLOT_FILLER_FALLBACK } from "./generativeSlotFiller/generativeSlotFillerFallback";
|
|
9
|
+
export { CLEAN_TEXT } from "./cleanText";
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { __awaiter } from "tslib";
|
|
2
|
+
import { createNodeDescriptor } from "../../createNodeDescriptor";
|
|
3
|
+
import { patternMatcher } from "./utils/patternMatcher";
|
|
4
|
+
export const MATCH_PATTERN = createNodeDescriptor({
|
|
5
|
+
type: "matchPattern",
|
|
6
|
+
defaultLabel: "Match Pattern",
|
|
7
|
+
preview: {
|
|
8
|
+
key: "patternGroupName",
|
|
9
|
+
type: "text"
|
|
10
|
+
},
|
|
11
|
+
summary: "UI__NODE_EDITOR__NLU__MATCH_PATTERN__SUMMARY",
|
|
12
|
+
tags: ["ai", "nlu", "pattern", "patterns"],
|
|
13
|
+
fields: [
|
|
14
|
+
{
|
|
15
|
+
key: "patterns",
|
|
16
|
+
label: "UI__NODE_EDITOR__NLU__MATCH_PATTERN__FIELDS__PATTERNS_LABEL",
|
|
17
|
+
type: "textArray",
|
|
18
|
+
description: "UI__NODE_EDITOR__NLU__MATCH_PATTERN__FIELDS__PATTERNS_DESCRIPTION",
|
|
19
|
+
defaultValue: ["@NUMBER>val1 or @NUMBER>val2"]
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
key: "patternGroupName",
|
|
23
|
+
label: "UI__NODE_EDITOR__NLU__MATCH_PATTERN__FIELDS__PATTERN_GROUP_NAME_LABEL",
|
|
24
|
+
description: "UI__NODE_EDITOR__NLU__MATCH_PATTERN__FIELDS__PATTERN_GROUP_NAME_DESCRIPTION",
|
|
25
|
+
type: "cognigyText",
|
|
26
|
+
defaultValue: "patternGroupName",
|
|
27
|
+
params: {
|
|
28
|
+
required: true
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
key: "alternateInput",
|
|
33
|
+
label: "UI__NODE_EDITOR__NLU__MATCH_PATTERN__FIELDS__ALTERNATE_INPUT_LABEL",
|
|
34
|
+
description: "UI__NODE_EDITOR__NLU__MATCH_PATTERN__FIELDS__ALTERNATE_INPUT_DESCRIPTION",
|
|
35
|
+
type: "cognigyText",
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
key: "detailedCompoundSlots",
|
|
39
|
+
label: "UI__NODE_EDITOR__NLU__MATCH_PATTERN__FIELDS__DETAILED_COMPOUND_SLOTS_LABEL",
|
|
40
|
+
description: "UI__NODE_EDITOR__NLU__MATCH_PATTERN__FIELDS__DETAILED_COMPOUND_SLOTS_DESCRIPTION",
|
|
41
|
+
type: "toggle",
|
|
42
|
+
defaultValue: false
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
key: "createNewSlots",
|
|
46
|
+
label: "UI__NODE_EDITOR__NLU__MATCH_PATTERN__FIELDS__CREATE_NEW_SLOTS_LABEL",
|
|
47
|
+
description: "UI__NODE_EDITOR__NLU__MATCH_PATTERN__FIELDS__CREATE_NEW_SLOTS_DESCRIPTION",
|
|
48
|
+
type: "toggle",
|
|
49
|
+
defaultValue: false
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
key: "tagExistingSlots",
|
|
53
|
+
label: "UI__NODE_EDITOR__NLU__MATCH_PATTERN__FIELDS__TAG_EXISTING_SLOTS_LABEL",
|
|
54
|
+
description: "UI__NODE_EDITOR__NLU__MATCH_PATTERN__FIELDS__TAG_EXISTING_SLOTS_DESCRIPTION",
|
|
55
|
+
type: "toggle",
|
|
56
|
+
defaultValue: true
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
key: "useFullSystemslotText",
|
|
60
|
+
label: "UI__NODE_EDITOR__NLU__MATCH_PATTERN__FIELDS__USE_FULL_SYSTEM_SLOT_TEXT_LABEL",
|
|
61
|
+
description: "UI__NODE_EDITOR__NLU__MATCH_PATTERN__FIELDS__USE_FULL_SYSTEM_SLOT_TEXT_DESCRIPTION",
|
|
62
|
+
type: "toggle",
|
|
63
|
+
defaultValue: true,
|
|
64
|
+
}
|
|
65
|
+
],
|
|
66
|
+
sections: [
|
|
67
|
+
{
|
|
68
|
+
key: "advanced",
|
|
69
|
+
label: "UI__NODE_EDITOR__NLU__MATCH_PATTERN__SECTIONS__ADVANCED__LABEL",
|
|
70
|
+
defaultCollapsed: true,
|
|
71
|
+
fields: [
|
|
72
|
+
"createNewSlots",
|
|
73
|
+
"tagExistingSlots",
|
|
74
|
+
"detailedCompoundSlots",
|
|
75
|
+
"useFullSystemslotText",
|
|
76
|
+
"alternateInput",
|
|
77
|
+
]
|
|
78
|
+
}
|
|
79
|
+
],
|
|
80
|
+
form: [
|
|
81
|
+
{ type: "field", key: "patterns" },
|
|
82
|
+
{ type: "field", key: "patternGroupName" },
|
|
83
|
+
{ type: "section", key: "advanced" }
|
|
84
|
+
],
|
|
85
|
+
function: ({ cognigy, config }) => __awaiter(void 0, void 0, void 0, function* () {
|
|
86
|
+
let { input, api } = cognigy;
|
|
87
|
+
const { patterns, patternGroupName, alternateInput, detailedCompoundSlots, createNewSlots, tagExistingSlots, useFullSystemslotText } = config;
|
|
88
|
+
if (!patterns || !Array.isArray(patterns) || patterns.length === 0) {
|
|
89
|
+
throw new Error("No patterns to match specified");
|
|
90
|
+
}
|
|
91
|
+
if (patterns.length > 20) {
|
|
92
|
+
throw new Error("Maximum of 20 patterns allowed");
|
|
93
|
+
}
|
|
94
|
+
// When using an alternative input, input.slots is empty - we need to call the cognigy nlu again to get the slots
|
|
95
|
+
let nluResult = {};
|
|
96
|
+
if (alternateInput) {
|
|
97
|
+
nluResult = yield api.executeCognigyNLU(alternateInput, {}, input.inputId, {});
|
|
98
|
+
}
|
|
99
|
+
patternMatcher({
|
|
100
|
+
input,
|
|
101
|
+
patterns,
|
|
102
|
+
patternGroupName,
|
|
103
|
+
detailedCompoundSlots,
|
|
104
|
+
tagExistingSlots,
|
|
105
|
+
createNewSlots,
|
|
106
|
+
useFullSystemslotText,
|
|
107
|
+
nluResult
|
|
108
|
+
});
|
|
109
|
+
})
|
|
110
|
+
});
|
|
111
|
+
//# sourceMappingURL=matchPattern.js.map
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { __awaiter } from "tslib";
|
|
2
|
+
/* Custom modules */
|
|
3
|
+
import { createNodeDescriptor } from "../../createNodeDescriptor";
|
|
4
|
+
/**
|
|
5
|
+
* Node name: 'regexSlotFiller'
|
|
6
|
+
*
|
|
7
|
+
* Purpose:
|
|
8
|
+
* Fills slots dynamically by evaluating a custom regular expression
|
|
9
|
+
*/
|
|
10
|
+
export const REGEX_SLOT_FILLER = createNodeDescriptor({
|
|
11
|
+
type: "regexSlotFiller",
|
|
12
|
+
defaultLabel: "Regex Slot Filler",
|
|
13
|
+
summary: "UI__NODE_EDITOR__NLU__REGEX_SLOT_FILLER__SUMMARY",
|
|
14
|
+
appearance: {
|
|
15
|
+
showIcon: false
|
|
16
|
+
},
|
|
17
|
+
fields: [
|
|
18
|
+
{
|
|
19
|
+
key: "regex",
|
|
20
|
+
type: "cognigyText",
|
|
21
|
+
label: "UI__NODE_EDITOR__NLU__REGEX_SLOT_FILLER__FIELDS__REGEX__LABEL",
|
|
22
|
+
description: "UI__NODE_EDITOR__NLU__REGEX_SLOT_FILLER__FIELDS__REGEX__DESCRIPTION",
|
|
23
|
+
defaultValue: ".*"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
key: "flags",
|
|
27
|
+
type: "cognigyText",
|
|
28
|
+
label: "UI__NODE_EDITOR__NLU__REGEX_SLOT_FILLER__FIELDS__FLAGS__LABEL",
|
|
29
|
+
defaultValue: "gi"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
key: "slot",
|
|
33
|
+
type: "cognigyText",
|
|
34
|
+
label: "UI__NODE_EDITOR__NLU__REGEX_SLOT_FILLER__FIELDS__SLOT__LABEL"
|
|
35
|
+
},
|
|
36
|
+
],
|
|
37
|
+
tags: ["ai", "nlu", "regular", "expression", "slot"],
|
|
38
|
+
function: (regexSlotFillerParams) => __awaiter(void 0, void 0, void 0, function* () {
|
|
39
|
+
const { cognigy, config } = regexSlotFillerParams;
|
|
40
|
+
const { api } = cognigy;
|
|
41
|
+
api.setRegexSlot(regexSlotFillerParams);
|
|
42
|
+
})
|
|
43
|
+
});
|
|
44
|
+
//# sourceMappingURL=regexSlotFiller.js.map
|