@iblai/iblai-api 3.35.2-core → 3.35.3-ai-plus
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/dist/index.cjs.js +12785 -71
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +12778 -72
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +12785 -71
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +298 -2
- package/dist/types/models/AIGeneratedImage.d.ts +13 -0
- package/dist/types/models/APITokenCost.d.ts +14 -0
- package/dist/types/models/AccessEnum.d.ts +8 -0
- package/dist/types/models/AlignMentorBubbleEnum.d.ts +8 -0
- package/dist/types/models/AnalyticsOverview.d.ts +7 -0
- package/dist/types/models/Answer.d.ts +11 -0
- package/dist/types/models/AssumedKnowledge.d.ts +4 -0
- package/dist/types/models/AssumedKnowledgeLevel.d.ts +4 -0
- package/dist/types/models/AudioToTextRequest.d.ts +3 -0
- package/dist/types/models/AudioToTextResponse.d.ts +3 -0
- package/dist/types/models/Bot.d.ts +15 -0
- package/dist/types/models/BotCommand.d.ts +6 -0
- package/dist/types/models/BotCreate.d.ts +12 -0
- package/dist/types/models/CallAuthenticationRequest.d.ts +13 -0
- package/dist/types/models/CallAuthenticationResponse.d.ts +21 -0
- package/dist/types/models/ChatHistory.d.ts +8 -0
- package/dist/types/models/ChatHistoryFilterData.d.ts +9 -0
- package/dist/types/models/ChatHistoryFilterUser.d.ts +5 -0
- package/dist/types/models/ChatHistoryItem.d.ts +5 -0
- package/dist/types/models/ChatHistorySessionId.d.ts +3 -0
- package/dist/types/models/ChatSessionRequest.d.ts +10 -0
- package/dist/types/models/ChatSessionResponse.d.ts +5 -0
- package/dist/types/models/CheckDocumentTrainingStatus.d.ts +10 -0
- package/dist/types/models/ComponentBlock.d.ts +9 -0
- package/dist/types/models/ComponentBlockTypeEnum.d.ts +8 -0
- package/dist/types/models/ConversationMessage.d.ts +11 -0
- package/dist/types/models/ConversationRating.d.ts +6 -0
- package/dist/types/models/ConversationSummary.d.ts +5 -0
- package/dist/types/models/ConversationVolume.d.ts +4 -0
- package/dist/types/models/Conversations.d.ts +28 -0
- package/dist/types/models/Cost.d.ts +3 -0
- package/dist/types/models/CostPerTenant.d.ts +6 -0
- package/dist/types/models/CourseCreationTask.d.ts +31 -0
- package/dist/types/models/CourseCreationTaskFile.d.ts +7 -0
- package/dist/types/models/CourseCreationTaskStatusEnum.d.ts +16 -0
- package/dist/types/models/CredentialRequest.d.ts +14 -0
- package/dist/types/models/CrontabSchedule.d.ts +22 -0
- package/dist/types/models/CustomInstructionResponse.d.ts +13 -0
- package/dist/types/models/DataSet.d.ts +21 -0
- package/dist/types/models/DataSetCreate.d.ts +12 -0
- package/dist/types/models/DataSetStatusEnum.d.ts +12 -0
- package/dist/types/models/DateRange.d.ts +4 -0
- package/dist/types/models/DiscordConfig.d.ts +7 -0
- package/dist/types/models/DiscordUserConfig.d.ts +10 -0
- package/dist/types/models/DiscordWebhook.d.ts +6 -0
- package/dist/types/models/EdxCourse.d.ts +11 -0
- package/dist/types/models/ElevenlabsCustomVoice.d.ts +4 -0
- package/dist/types/models/ElevenlabsCustomVoiceResponse.d.ts +8 -0
- package/dist/types/models/EmailPromptDetail.d.ts +13 -0
- package/dist/types/models/EmailPromptList.d.ts +11 -0
- package/dist/types/models/EmailPromptSummary.d.ts +5 -0
- package/dist/types/models/FreeUsageCount.d.ts +3 -0
- package/dist/types/models/FullCourse.d.ts +13 -0
- package/dist/types/models/GreetingMethodEnum.d.ts +8 -0
- package/dist/types/models/GuidedPromptsResponse.d.ts +3 -0
- package/dist/types/models/HeygenMarketingVideoDetail.d.ts +8 -0
- package/dist/types/models/HeygenMarketingVideoList.d.ts +6 -0
- package/dist/types/models/IBLAIPlatformMeta.d.ts +3 -0
- package/dist/types/models/IBLAIPlatformMetaRequest.d.ts +6 -0
- package/dist/types/models/IBLAIPlatformMetaUpdateRequest.d.ts +10 -0
- package/dist/types/models/InputQuestion.d.ts +6 -0
- package/dist/types/models/IntegrationCredential.d.ts +8 -0
- package/dist/types/models/IntialQuestionAnswer.d.ts +3 -0
- package/dist/types/models/JobRun.d.ts +11 -0
- package/dist/types/models/KindEnum.d.ts +10 -0
- package/dist/types/models/LLMCredentialRequest.d.ts +14 -0
- package/dist/types/models/LLMCredentialResponse.d.ts +8 -0
- package/dist/types/models/LLMModelForTenant.d.ts +6 -0
- package/dist/types/models/LLMQuestion.d.ts +15 -0
- package/dist/types/models/LLMResponse.d.ts +14 -0
- package/dist/types/models/LLMTracesListResponse.d.ts +5 -0
- package/dist/types/models/LanguagesView.d.ts +5 -0
- package/dist/types/models/LinkCourseRequest.d.ts +3 -0
- package/dist/types/models/LinkCourseResponse.d.ts +5 -0
- package/dist/types/models/MemoryComponentData.d.ts +5 -0
- package/dist/types/models/MemoryComponentMemory.d.ts +4 -0
- package/dist/types/models/MemoryComponentMemoryDetail.d.ts +8 -0
- package/dist/types/models/MemoryComponentResponse.d.ts +5 -0
- package/dist/types/models/MemoryProgress.d.ts +8 -0
- package/dist/types/models/MemoryStatusRequestView.d.ts +6 -0
- package/dist/types/models/MemoryStatusView.d.ts +6 -0
- package/dist/types/models/Mentor.d.ts +75 -0
- package/dist/types/models/MentorAudience.d.ts +5 -0
- package/dist/types/models/MentorCategory.d.ts +9 -0
- package/dist/types/models/MentorCategoryCreate.d.ts +11 -0
- package/dist/types/models/MentorCategoryGroup.d.ts +11 -0
- package/dist/types/models/MentorCategoryGroupCreate.d.ts +11 -0
- package/dist/types/models/MentorCreate.d.ts +74 -0
- package/dist/types/models/MentorCustomVoice.d.ts +4 -0
- package/dist/types/models/MentorCustomVoiceResponse.d.ts +4 -0
- package/dist/types/models/MentorData.d.ts +7 -0
- package/dist/types/models/MentorDetailAnalytics.d.ts +6 -0
- package/dist/types/models/MentorEval.d.ts +11 -0
- package/dist/types/models/MentorEvalQuestion.d.ts +5 -0
- package/dist/types/models/MentorEvalQuestionRequest.d.ts +4 -0
- package/dist/types/models/MentorEvalReport.d.ts +10 -0
- package/dist/types/models/MentorEvalRequest.d.ts +8 -0
- package/dist/types/models/MentorFork.d.ts +5 -0
- package/dist/types/models/MentorFromTemplateRequest.d.ts +4 -0
- package/dist/types/models/MentorFromTemplateWithSettingRequest.d.ts +42 -0
- package/dist/types/models/MentorMemorySettingsRequest.d.ts +6 -0
- package/dist/types/models/MentorMemorySettingsResponse.d.ts +6 -0
- package/dist/types/models/MentorMetadata.d.ts +5 -0
- package/dist/types/models/MentorScenario.d.ts +6 -0
- package/dist/types/models/MentorScenarioPrompt.d.ts +5 -0
- package/dist/types/models/MentorSession.d.ts +4 -0
- package/dist/types/models/MentorSettings.d.ts +47 -0
- package/dist/types/models/MentorSettingsPublic.d.ts +40 -0
- package/dist/types/models/MentorSettingsRequest.d.ts +51 -0
- package/dist/types/models/MentorVisibilityEnum.d.ts +10 -0
- package/dist/types/models/MentorWizard.d.ts +4 -0
- package/dist/types/models/MessageStatistics.d.ts +5 -0
- package/dist/types/models/MessageView.d.ts +10 -0
- package/dist/types/models/MessageViewRequest.d.ts +7 -0
- package/dist/types/models/MessageViewUpdatResponse.d.ts +3 -0
- package/dist/types/models/Metadata.d.ts +5 -0
- package/dist/types/models/MetricChange.d.ts +4 -0
- package/dist/types/models/ModelCost.d.ts +4 -0
- package/dist/types/models/ModerationLog.d.ts +11 -0
- package/dist/types/models/NoChatMessagesFound.d.ts +3 -0
- package/dist/types/models/Notification.d.ts +2 -2
- package/dist/types/models/NotificationSource.d.ts +2 -2
- package/dist/types/models/{TypeEnum.d.ts → NotificationSourceTypeEnum.d.ts} +1 -1
- package/dist/types/models/{StatusEnum.d.ts → NotificationStatusEnum.d.ts} +1 -1
- package/dist/types/models/NullEnum.d.ts +1 -0
- package/dist/types/models/PageContent.d.ts +6 -0
- package/dist/types/models/PaginatedAIGeneratedImageList.d.ts +7 -0
- package/dist/types/models/PaginatedConversationsList.d.ts +7 -0
- package/dist/types/models/PaginatedCourseCreationTaskFileList.d.ts +7 -0
- package/dist/types/models/PaginatedCourseCreationTaskList.d.ts +7 -0
- package/dist/types/models/PaginatedDataSetList.d.ts +7 -0
- package/dist/types/models/PaginatedEdxCourseList.d.ts +7 -0
- package/dist/types/models/PaginatedEmailPromptListList.d.ts +7 -0
- package/dist/types/models/PaginatedHeygenMarketingVideoListList.d.ts +7 -0
- package/dist/types/models/PaginatedJobRunList.d.ts +7 -0
- package/dist/types/models/PaginatedMentorList.d.ts +7 -0
- package/dist/types/models/PaginatedModerationLogList.d.ts +7 -0
- package/dist/types/models/PaginatedPeriodicAgentList.d.ts +7 -0
- package/dist/types/models/PaginatedPeriodicAgentLogList.d.ts +7 -0
- package/dist/types/models/PaginatedPlayWrightScriptList.d.ts +7 -0
- package/dist/types/models/PaginatedSectionList.d.ts +7 -0
- package/dist/types/models/PaginatedSubSectionList.d.ts +7 -0
- package/dist/types/models/PaginatedTopicStatisticsResponse.d.ts +7 -0
- package/dist/types/models/PaginatedTrainingList.d.ts +7 -0
- package/dist/types/models/PaginatedUnitList.d.ts +7 -0
- package/dist/types/models/PaginatedUserEdxMemoryList.d.ts +7 -0
- package/dist/types/models/PaginatedVoiceList.d.ts +7 -0
- package/dist/types/models/PatchedBotCommand.d.ts +6 -0
- package/dist/types/models/PatchedBotCreate.d.ts +12 -0
- package/dist/types/models/PatchedConversations.d.ts +28 -0
- package/dist/types/models/PatchedCourseCreationTaskFile.d.ts +7 -0
- package/dist/types/models/PatchedCredentialRequest.d.ts +14 -0
- package/dist/types/models/PatchedDataSet.d.ts +21 -0
- package/dist/types/models/PatchedDiscordConfig.d.ts +7 -0
- package/dist/types/models/PatchedDiscordUserConfig.d.ts +10 -0
- package/dist/types/models/PatchedLLMCredentialRequest.d.ts +14 -0
- package/dist/types/models/PatchedMentorCategoryGroupCreate.d.ts +11 -0
- package/dist/types/models/PatchedMentorCreate.d.ts +74 -0
- package/dist/types/models/PatchedNotification.d.ts +2 -2
- package/dist/types/models/PatchedPeriodicAgentCreate.d.ts +41 -0
- package/dist/types/models/PatchedPlayWrightScript.d.ts +12 -0
- package/dist/types/models/PatchedPrompt.d.ts +22 -0
- package/dist/types/models/PatchedSection.d.ts +9 -0
- package/dist/types/models/PatchedSlackConfig.d.ts +8 -0
- package/dist/types/models/PatchedSlackUserConfig.d.ts +17 -0
- package/dist/types/models/PatchedSubSection.d.ts +9 -0
- package/dist/types/models/PatchedTeamsConfig.d.ts +7 -0
- package/dist/types/models/PatchedTrainingCreate.d.ts +31 -0
- package/dist/types/models/PatchedUnit.d.ts +11 -0
- package/dist/types/models/PatchedWebexConfig.d.ts +10 -0
- package/dist/types/models/PatchedWhatsappConfig.d.ts +11 -0
- package/dist/types/models/PatchedWhatsappUserConfig.d.ts +10 -0
- package/dist/types/models/PeriodicAgent.d.ts +42 -0
- package/dist/types/models/PeriodicAgentCreate.d.ts +41 -0
- package/dist/types/models/PeriodicAgentLog.d.ts +11 -0
- package/dist/types/models/PeriodicAgentLogStatusEnum.d.ts +10 -0
- package/dist/types/models/PeriodicTask.d.ts +21 -0
- package/dist/types/models/PieChartData.d.ts +5 -0
- package/dist/types/models/PieChartSegment.d.ts +4 -0
- package/dist/types/models/PinnedMessageCreate.d.ts +9 -0
- package/dist/types/models/PinnedMessageGet.d.ts +7 -0
- package/dist/types/models/PinnedMessageRequest.d.ts +6 -0
- package/dist/types/models/PlayWrightScript.d.ts +12 -0
- package/dist/types/models/PredictiveAnalyticsRequest.d.ts +4 -0
- package/dist/types/models/PredictiveAnalyticsResponse.d.ts +4 -0
- package/dist/types/models/PreviousAgentStatusEnum.d.ts +12 -0
- package/dist/types/models/Prompt.d.ts +22 -0
- package/dist/types/models/PromptCategory.d.ts +7 -0
- package/dist/types/models/PromptVisibilityEnum.d.ts +10 -0
- package/dist/types/models/Provider05cEnum.d.ts +14 -0
- package/dist/types/models/Provider63aEnum.d.ts +6 -0
- package/dist/types/models/QuestionCardTag.d.ts +8 -0
- package/dist/types/models/QuestionRequest.d.ts +15 -0
- package/dist/types/models/QuestionResponse.d.ts +10 -0
- package/dist/types/models/RatingEnum.d.ts +8 -0
- package/dist/types/models/RatingRecord.d.ts +4 -0
- package/dist/types/models/RecentlyAccessedMentor.d.ts +8 -0
- package/dist/types/models/RecommendCourseBlock.d.ts +3 -0
- package/dist/types/models/RecommendCourseResponse.d.ts +3 -0
- package/dist/types/models/RelatedText.d.ts +3 -0
- package/dist/types/models/RequestDataVariable.d.ts +14 -0
- package/dist/types/models/ResourceScrappedData.d.ts +13 -0
- package/dist/types/models/ResourceScrappedDataStatusEnum.d.ts +12 -0
- package/dist/types/models/ResponseDataVariable.d.ts +14 -0
- package/dist/types/models/RetreiverTrainViewRequest.d.ts +10 -0
- package/dist/types/models/RetreiverTrainViewResponse.d.ts +6 -0
- package/dist/types/models/RetrieveTask.d.ts +3 -0
- package/dist/types/models/RetrieverDocumentEmbedding.d.ts +17 -0
- package/dist/types/models/RetrieverDocumentEmbeddingRequest.d.ts +30 -0
- package/dist/types/models/RetrieverRequestSearch.d.ts +10 -0
- package/dist/types/models/RetrieverRequestSearchDocument.d.ts +10 -0
- package/dist/types/models/RetrieverResponseSearch.d.ts +7 -0
- package/dist/types/models/ReuestDataVariableList.d.ts +4 -0
- package/dist/types/models/RunMentorEval.d.ts +3 -0
- package/dist/types/models/ScanWebhookRequest.d.ts +6 -0
- package/dist/types/models/ScanWebhookResponse.d.ts +3 -0
- package/dist/types/models/Section.d.ts +9 -0
- package/dist/types/models/SectionWithChildren.d.ts +11 -0
- package/dist/types/models/SeedMentorsView.d.ts +3 -0
- package/dist/types/models/SentimentSummary.d.ts +4 -0
- package/dist/types/models/SessionBrowserScreenshot.d.ts +8 -0
- package/dist/types/models/SessionDetail.d.ts +6 -0
- package/dist/types/models/SessionMemoryStorage.d.ts +6 -0
- package/dist/types/models/ShellLogs.d.ts +3 -0
- package/dist/types/models/SlackConfig.d.ts +8 -0
- package/dist/types/models/SlackUserConfig.d.ts +17 -0
- package/dist/types/models/SlackWebhook.d.ts +6 -0
- package/dist/types/models/SpacedRepetitionLearningPath.d.ts +3 -0
- package/dist/types/models/SpacedRepetitionQuestionStats.d.ts +5 -0
- package/dist/types/models/StarMentor.d.ts +7 -0
- package/dist/types/models/Status6eeEnum.d.ts +12 -0
- package/dist/types/models/Step.d.ts +9 -0
- package/dist/types/models/StepStatusEnum.d.ts +10 -0
- package/dist/types/models/StudentChatMessage.d.ts +4 -0
- package/dist/types/models/StylesView.d.ts +4 -0
- package/dist/types/models/SubSection.d.ts +9 -0
- package/dist/types/models/SubSectionWithChildren.d.ts +11 -0
- package/dist/types/models/TagsView.d.ts +5 -0
- package/dist/types/models/TargetSystemEnum.d.ts +8 -0
- package/dist/types/models/TaskView.d.ts +3 -0
- package/dist/types/models/TeamsConfig.d.ts +7 -0
- package/dist/types/models/TeamsWebhook.d.ts +17 -0
- package/dist/types/models/TemplateMentor.d.ts +9 -0
- package/dist/types/models/TenantMentorTraces.d.ts +6 -0
- package/dist/types/models/ThemeEnum.d.ts +8 -0
- package/dist/types/models/TonesView.d.ts +4 -0
- package/dist/types/models/ToolResponse.d.ts +9 -0
- package/dist/types/models/TopicModel.d.ts +3 -0
- package/dist/types/models/TopicRecord.d.ts +4 -0
- package/dist/types/models/TopicStatistics.d.ts +7 -0
- package/dist/types/models/TopicStatisticsResponse.d.ts +6 -0
- package/dist/types/models/TopicSummaryView.d.ts +4 -0
- package/dist/types/models/TrainChatSessionDocumentView.d.ts +6 -0
- package/dist/types/models/TrainChatSessionDocumentViewRequest.d.ts +6 -0
- package/dist/types/models/TrainDocumentViewRequest.d.ts +42 -0
- package/dist/types/models/TrainDocumentViewResponse.d.ts +14 -0
- package/dist/types/models/Training.d.ts +41 -0
- package/dist/types/models/TrainingCreate.d.ts +31 -0
- package/dist/types/models/TrainingStatusEnum.d.ts +12 -0
- package/dist/types/models/TrendEntry.d.ts +4 -0
- package/dist/types/models/TriggerRequest.d.ts +5 -0
- package/dist/types/models/TriggerResponse.d.ts +6 -0
- package/dist/types/models/TypeC42Enum.d.ts +8 -0
- package/dist/types/models/Unit.d.ts +11 -0
- package/dist/types/models/UnitWithChildren.d.ts +13 -0
- package/dist/types/models/UseMainCreds.d.ts +3 -0
- package/dist/types/models/UserAllChatMemoryView.d.ts +7 -0
- package/dist/types/models/UserCatalogItemMemoryView.d.ts +14 -0
- package/dist/types/models/UserChatByPeriod.d.ts +4 -0
- package/dist/types/models/UserChatFeedback.d.ts +14 -0
- package/dist/types/models/UserChatFeedbackCount.d.ts +4 -0
- package/dist/types/models/UserChatMemoryStatusRequestView.d.ts +6 -0
- package/dist/types/models/UserChatMemoryStatusView.d.ts +6 -0
- package/dist/types/models/UserChatMemoryUpdateView.d.ts +10 -0
- package/dist/types/models/UserCountRecord.d.ts +4 -0
- package/dist/types/models/UserEdxMemory.d.ts +15 -0
- package/dist/types/models/UserMemoryContextRequest.d.ts +13 -0
- package/dist/types/models/UserMemoryContextResponse.d.ts +12 -0
- package/dist/types/models/UserMetric.d.ts +4 -0
- package/dist/types/models/UserMetricsResponse.d.ts +7 -0
- package/dist/types/models/UserSentimentCountView.d.ts +4 -0
- package/dist/types/models/UserTrendByPeriod.d.ts +5 -0
- package/dist/types/models/VectorResult.d.ts +8 -0
- package/dist/types/models/Voice.d.ts +9 -0
- package/dist/types/models/VoiceProviderEnum.d.ts +10 -0
- package/dist/types/models/WebResource.d.ts +9 -0
- package/dist/types/models/WebResourceCard.d.ts +7 -0
- package/dist/types/models/WebResourcesQuery.d.ts +3 -0
- package/dist/types/models/WebexConfig.d.ts +10 -0
- package/dist/types/models/WebexWebhook.d.ts +4 -0
- package/dist/types/models/WhatAppWebHook.d.ts +3 -0
- package/dist/types/models/WhatsappConfig.d.ts +11 -0
- package/dist/types/models/WhatsappUserConfig.d.ts +10 -0
- package/dist/types/services/AiAccountService.d.ts +294 -0
- package/dist/types/services/AiAnalyticsService.d.ts +1056 -0
- package/dist/types/services/AiBotService.d.ts +486 -0
- package/dist/types/services/AiFinetuningService.d.ts +162 -0
- package/dist/types/services/AiIndexService.d.ts +344 -0
- package/dist/types/services/AiMarketingService.d.ts +34 -0
- package/dist/types/services/AiMentorService.d.ts +4096 -0
- package/dist/types/services/AiPromptService.d.ts +879 -0
- package/dist/types/services/SearchService.d.ts +299 -0
- package/package.json +1 -1
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +298 -2
- package/src/models/AIGeneratedImage.ts +18 -0
- package/src/models/APITokenCost.ts +19 -0
- package/src/models/AccessEnum.ts +12 -0
- package/src/models/AlignMentorBubbleEnum.ts +12 -0
- package/src/models/AnalyticsOverview.ts +12 -0
- package/src/models/Answer.ts +16 -0
- package/src/models/AssumedKnowledge.ts +9 -0
- package/src/models/AssumedKnowledgeLevel.ts +9 -0
- package/src/models/AudioToTextRequest.ts +8 -0
- package/src/models/AudioToTextResponse.ts +8 -0
- package/src/models/Bot.ts +20 -0
- package/src/models/BotCommand.ts +11 -0
- package/src/models/BotCreate.ts +17 -0
- package/src/models/CallAuthenticationRequest.ts +18 -0
- package/src/models/CallAuthenticationResponse.ts +26 -0
- package/src/models/ChatHistory.ts +13 -0
- package/src/models/ChatHistoryFilterData.ts +14 -0
- package/src/models/ChatHistoryFilterUser.ts +10 -0
- package/src/models/ChatHistoryItem.ts +10 -0
- package/src/models/ChatHistorySessionId.ts +8 -0
- package/src/models/ChatSessionRequest.ts +15 -0
- package/src/models/ChatSessionResponse.ts +10 -0
- package/src/models/CheckDocumentTrainingStatus.ts +15 -0
- package/src/models/ComponentBlock.ts +14 -0
- package/src/models/ComponentBlockTypeEnum.ts +12 -0
- package/src/models/ConversationMessage.ts +16 -0
- package/src/models/ConversationRating.ts +11 -0
- package/src/models/ConversationSummary.ts +10 -0
- package/src/models/ConversationVolume.ts +9 -0
- package/src/models/Conversations.ts +33 -0
- package/src/models/Cost.ts +8 -0
- package/src/models/CostPerTenant.ts +11 -0
- package/src/models/CourseCreationTask.ts +36 -0
- package/src/models/CourseCreationTaskFile.ts +12 -0
- package/src/models/CourseCreationTaskStatusEnum.ts +20 -0
- package/src/models/CredentialRequest.ts +19 -0
- package/src/models/CrontabSchedule.ts +27 -0
- package/src/models/CustomInstructionResponse.ts +18 -0
- package/src/models/DataSet.ts +26 -0
- package/src/models/DataSetCreate.ts +17 -0
- package/src/models/DataSetStatusEnum.ts +16 -0
- package/src/models/DateRange.ts +9 -0
- package/src/models/DiscordConfig.ts +12 -0
- package/src/models/DiscordUserConfig.ts +15 -0
- package/src/models/DiscordWebhook.ts +11 -0
- package/src/models/EdxCourse.ts +16 -0
- package/src/models/ElevenlabsCustomVoice.ts +9 -0
- package/src/models/ElevenlabsCustomVoiceResponse.ts +13 -0
- package/src/models/EmailPromptDetail.ts +18 -0
- package/src/models/EmailPromptList.ts +16 -0
- package/src/models/EmailPromptSummary.ts +10 -0
- package/src/models/FreeUsageCount.ts +8 -0
- package/src/models/FullCourse.ts +18 -0
- package/src/models/GreetingMethodEnum.ts +12 -0
- package/src/models/GuidedPromptsResponse.ts +8 -0
- package/src/models/HeygenMarketingVideoDetail.ts +13 -0
- package/src/models/HeygenMarketingVideoList.ts +11 -0
- package/src/models/IBLAIPlatformMeta.ts +8 -0
- package/src/models/IBLAIPlatformMetaRequest.ts +11 -0
- package/src/models/IBLAIPlatformMetaUpdateRequest.ts +15 -0
- package/src/models/InputQuestion.ts +11 -0
- package/src/models/IntegrationCredential.ts +13 -0
- package/src/models/IntialQuestionAnswer.ts +8 -0
- package/src/models/JobRun.ts +16 -0
- package/src/models/KindEnum.ts +14 -0
- package/src/models/LLMCredentialRequest.ts +19 -0
- package/src/models/LLMCredentialResponse.ts +13 -0
- package/src/models/LLMModelForTenant.ts +11 -0
- package/src/models/LLMQuestion.ts +20 -0
- package/src/models/LLMResponse.ts +19 -0
- package/src/models/LLMTracesListResponse.ts +10 -0
- package/src/models/LanguagesView.ts +10 -0
- package/src/models/LinkCourseRequest.ts +8 -0
- package/src/models/LinkCourseResponse.ts +10 -0
- package/src/models/MemoryComponentData.ts +10 -0
- package/src/models/MemoryComponentMemory.ts +9 -0
- package/src/models/MemoryComponentMemoryDetail.ts +13 -0
- package/src/models/MemoryComponentResponse.ts +10 -0
- package/src/models/MemoryProgress.ts +13 -0
- package/src/models/MemoryStatusRequestView.ts +11 -0
- package/src/models/MemoryStatusView.ts +11 -0
- package/src/models/Mentor.ts +80 -0
- package/src/models/MentorAudience.ts +10 -0
- package/src/models/MentorCategory.ts +14 -0
- package/src/models/MentorCategoryCreate.ts +16 -0
- package/src/models/MentorCategoryGroup.ts +16 -0
- package/src/models/MentorCategoryGroupCreate.ts +16 -0
- package/src/models/MentorCreate.ts +79 -0
- package/src/models/MentorCustomVoice.ts +9 -0
- package/src/models/MentorCustomVoiceResponse.ts +9 -0
- package/src/models/MentorData.ts +12 -0
- package/src/models/MentorDetailAnalytics.ts +11 -0
- package/src/models/MentorEval.ts +16 -0
- package/src/models/MentorEvalQuestion.ts +10 -0
- package/src/models/MentorEvalQuestionRequest.ts +9 -0
- package/src/models/MentorEvalReport.ts +15 -0
- package/src/models/MentorEvalRequest.ts +13 -0
- package/src/models/MentorFork.ts +10 -0
- package/src/models/MentorFromTemplateRequest.ts +9 -0
- package/src/models/MentorFromTemplateWithSettingRequest.ts +47 -0
- package/src/models/MentorMemorySettingsRequest.ts +11 -0
- package/src/models/MentorMemorySettingsResponse.ts +11 -0
- package/src/models/MentorMetadata.ts +10 -0
- package/src/models/MentorScenario.ts +11 -0
- package/src/models/MentorScenarioPrompt.ts +10 -0
- package/src/models/MentorSession.ts +9 -0
- package/src/models/MentorSettings.ts +52 -0
- package/src/models/MentorSettingsPublic.ts +45 -0
- package/src/models/MentorSettingsRequest.ts +56 -0
- package/src/models/MentorVisibilityEnum.ts +14 -0
- package/src/models/MentorWizard.ts +9 -0
- package/src/models/MessageStatistics.ts +10 -0
- package/src/models/MessageView.ts +15 -0
- package/src/models/MessageViewRequest.ts +12 -0
- package/src/models/MessageViewUpdatResponse.ts +8 -0
- package/src/models/Metadata.ts +10 -0
- package/src/models/MetricChange.ts +9 -0
- package/src/models/ModelCost.ts +9 -0
- package/src/models/ModerationLog.ts +16 -0
- package/src/models/NoChatMessagesFound.ts +8 -0
- package/src/models/Notification.ts +2 -2
- package/src/models/NotificationSource.ts +2 -2
- package/src/models/{TypeEnum.ts → NotificationSourceTypeEnum.ts} +1 -1
- package/src/models/{StatusEnum.ts → NotificationStatusEnum.ts} +1 -1
- package/src/models/NullEnum.ts +7 -0
- package/src/models/PageContent.ts +11 -0
- package/src/models/PaginatedAIGeneratedImageList.ts +12 -0
- package/src/models/PaginatedConversationsList.ts +12 -0
- package/src/models/PaginatedCourseCreationTaskFileList.ts +12 -0
- package/src/models/PaginatedCourseCreationTaskList.ts +12 -0
- package/src/models/PaginatedDataSetList.ts +12 -0
- package/src/models/PaginatedEdxCourseList.ts +12 -0
- package/src/models/PaginatedEmailPromptListList.ts +12 -0
- package/src/models/PaginatedHeygenMarketingVideoListList.ts +12 -0
- package/src/models/PaginatedJobRunList.ts +12 -0
- package/src/models/PaginatedMentorList.ts +12 -0
- package/src/models/PaginatedModerationLogList.ts +12 -0
- package/src/models/PaginatedPeriodicAgentList.ts +12 -0
- package/src/models/PaginatedPeriodicAgentLogList.ts +12 -0
- package/src/models/PaginatedPlayWrightScriptList.ts +12 -0
- package/src/models/PaginatedSectionList.ts +12 -0
- package/src/models/PaginatedSubSectionList.ts +12 -0
- package/src/models/PaginatedTopicStatisticsResponse.ts +12 -0
- package/src/models/PaginatedTrainingList.ts +12 -0
- package/src/models/PaginatedUnitList.ts +12 -0
- package/src/models/PaginatedUserEdxMemoryList.ts +12 -0
- package/src/models/PaginatedVoiceList.ts +12 -0
- package/src/models/PatchedBotCommand.ts +11 -0
- package/src/models/PatchedBotCreate.ts +17 -0
- package/src/models/PatchedConversations.ts +33 -0
- package/src/models/PatchedCourseCreationTaskFile.ts +12 -0
- package/src/models/PatchedCredentialRequest.ts +19 -0
- package/src/models/PatchedDataSet.ts +26 -0
- package/src/models/PatchedDiscordConfig.ts +12 -0
- package/src/models/PatchedDiscordUserConfig.ts +15 -0
- package/src/models/PatchedLLMCredentialRequest.ts +19 -0
- package/src/models/PatchedMentorCategoryGroupCreate.ts +16 -0
- package/src/models/PatchedMentorCreate.ts +79 -0
- package/src/models/PatchedNotification.ts +2 -2
- package/src/models/PatchedPeriodicAgentCreate.ts +46 -0
- package/src/models/PatchedPlayWrightScript.ts +17 -0
- package/src/models/PatchedPrompt.ts +27 -0
- package/src/models/PatchedSection.ts +14 -0
- package/src/models/PatchedSlackConfig.ts +13 -0
- package/src/models/PatchedSlackUserConfig.ts +22 -0
- package/src/models/PatchedSubSection.ts +14 -0
- package/src/models/PatchedTeamsConfig.ts +12 -0
- package/src/models/PatchedTrainingCreate.ts +36 -0
- package/src/models/PatchedUnit.ts +16 -0
- package/src/models/PatchedWebexConfig.ts +15 -0
- package/src/models/PatchedWhatsappConfig.ts +16 -0
- package/src/models/PatchedWhatsappUserConfig.ts +15 -0
- package/src/models/PeriodicAgent.ts +47 -0
- package/src/models/PeriodicAgentCreate.ts +46 -0
- package/src/models/PeriodicAgentLog.ts +16 -0
- package/src/models/PeriodicAgentLogStatusEnum.ts +14 -0
- package/src/models/PeriodicTask.ts +26 -0
- package/src/models/PieChartData.ts +10 -0
- package/src/models/PieChartSegment.ts +9 -0
- package/src/models/PinnedMessageCreate.ts +14 -0
- package/src/models/PinnedMessageGet.ts +12 -0
- package/src/models/PinnedMessageRequest.ts +11 -0
- package/src/models/PlayWrightScript.ts +17 -0
- package/src/models/PredictiveAnalyticsRequest.ts +9 -0
- package/src/models/PredictiveAnalyticsResponse.ts +9 -0
- package/src/models/PreviousAgentStatusEnum.ts +16 -0
- package/src/models/Prompt.ts +27 -0
- package/src/models/PromptCategory.ts +12 -0
- package/src/models/PromptVisibilityEnum.ts +14 -0
- package/src/models/Provider05cEnum.ts +18 -0
- package/src/models/Provider63aEnum.ts +10 -0
- package/src/models/QuestionCardTag.ts +13 -0
- package/src/models/QuestionRequest.ts +20 -0
- package/src/models/QuestionResponse.ts +15 -0
- package/src/models/RatingEnum.ts +12 -0
- package/src/models/RatingRecord.ts +9 -0
- package/src/models/RecentlyAccessedMentor.ts +13 -0
- package/src/models/RecommendCourseBlock.ts +8 -0
- package/src/models/RecommendCourseResponse.ts +8 -0
- package/src/models/RelatedText.ts +8 -0
- package/src/models/RequestDataVariable.ts +19 -0
- package/src/models/ResourceScrappedData.ts +18 -0
- package/src/models/ResourceScrappedDataStatusEnum.ts +16 -0
- package/src/models/ResponseDataVariable.ts +19 -0
- package/src/models/RetreiverTrainViewRequest.ts +15 -0
- package/src/models/RetreiverTrainViewResponse.ts +11 -0
- package/src/models/RetrieveTask.ts +8 -0
- package/src/models/RetrieverDocumentEmbedding.ts +22 -0
- package/src/models/RetrieverDocumentEmbeddingRequest.ts +35 -0
- package/src/models/RetrieverRequestSearch.ts +15 -0
- package/src/models/RetrieverRequestSearchDocument.ts +15 -0
- package/src/models/RetrieverResponseSearch.ts +12 -0
- package/src/models/ReuestDataVariableList.ts +9 -0
- package/src/models/RunMentorEval.ts +8 -0
- package/src/models/ScanWebhookRequest.ts +11 -0
- package/src/models/ScanWebhookResponse.ts +8 -0
- package/src/models/Section.ts +14 -0
- package/src/models/SectionWithChildren.ts +16 -0
- package/src/models/SeedMentorsView.ts +8 -0
- package/src/models/SentimentSummary.ts +9 -0
- package/src/models/SessionBrowserScreenshot.ts +13 -0
- package/src/models/SessionDetail.ts +11 -0
- package/src/models/SessionMemoryStorage.ts +11 -0
- package/src/models/ShellLogs.ts +8 -0
- package/src/models/SlackConfig.ts +13 -0
- package/src/models/SlackUserConfig.ts +22 -0
- package/src/models/SlackWebhook.ts +11 -0
- package/src/models/SpacedRepetitionLearningPath.ts +8 -0
- package/src/models/SpacedRepetitionQuestionStats.ts +10 -0
- package/src/models/StarMentor.ts +12 -0
- package/src/models/Status6eeEnum.ts +16 -0
- package/src/models/Step.ts +14 -0
- package/src/models/StepStatusEnum.ts +14 -0
- package/src/models/StudentChatMessage.ts +9 -0
- package/src/models/StylesView.ts +9 -0
- package/src/models/SubSection.ts +14 -0
- package/src/models/SubSectionWithChildren.ts +16 -0
- package/src/models/TagsView.ts +10 -0
- package/src/models/TargetSystemEnum.ts +12 -0
- package/src/models/TaskView.ts +8 -0
- package/src/models/TeamsConfig.ts +12 -0
- package/src/models/TeamsWebhook.ts +22 -0
- package/src/models/TemplateMentor.ts +14 -0
- package/src/models/TenantMentorTraces.ts +11 -0
- package/src/models/ThemeEnum.ts +12 -0
- package/src/models/TonesView.ts +9 -0
- package/src/models/ToolResponse.ts +14 -0
- package/src/models/TopicModel.ts +8 -0
- package/src/models/TopicRecord.ts +9 -0
- package/src/models/TopicStatistics.ts +12 -0
- package/src/models/TopicStatisticsResponse.ts +11 -0
- package/src/models/TopicSummaryView.ts +9 -0
- package/src/models/TrainChatSessionDocumentView.ts +11 -0
- package/src/models/TrainChatSessionDocumentViewRequest.ts +11 -0
- package/src/models/TrainDocumentViewRequest.ts +47 -0
- package/src/models/TrainDocumentViewResponse.ts +19 -0
- package/src/models/Training.ts +46 -0
- package/src/models/TrainingCreate.ts +36 -0
- package/src/models/TrainingStatusEnum.ts +16 -0
- package/src/models/TrendEntry.ts +9 -0
- package/src/models/TriggerRequest.ts +10 -0
- package/src/models/TriggerResponse.ts +11 -0
- package/src/models/TypeC42Enum.ts +12 -0
- package/src/models/Unit.ts +16 -0
- package/src/models/UnitWithChildren.ts +18 -0
- package/src/models/UseMainCreds.ts +8 -0
- package/src/models/UserAllChatMemoryView.ts +12 -0
- package/src/models/UserCatalogItemMemoryView.ts +19 -0
- package/src/models/UserChatByPeriod.ts +9 -0
- package/src/models/UserChatFeedback.ts +19 -0
- package/src/models/UserChatFeedbackCount.ts +9 -0
- package/src/models/UserChatMemoryStatusRequestView.ts +11 -0
- package/src/models/UserChatMemoryStatusView.ts +11 -0
- package/src/models/UserChatMemoryUpdateView.ts +15 -0
- package/src/models/UserCountRecord.ts +9 -0
- package/src/models/UserEdxMemory.ts +20 -0
- package/src/models/UserMemoryContextRequest.ts +18 -0
- package/src/models/UserMemoryContextResponse.ts +17 -0
- package/src/models/UserMetric.ts +9 -0
- package/src/models/UserMetricsResponse.ts +12 -0
- package/src/models/UserSentimentCountView.ts +9 -0
- package/src/models/UserTrendByPeriod.ts +10 -0
- package/src/models/VectorResult.ts +13 -0
- package/src/models/Voice.ts +14 -0
- package/src/models/VoiceProviderEnum.ts +14 -0
- package/src/models/WebResource.ts +14 -0
- package/src/models/WebResourceCard.ts +12 -0
- package/src/models/WebResourcesQuery.ts +8 -0
- package/src/models/WebexConfig.ts +15 -0
- package/src/models/WebexWebhook.ts +9 -0
- package/src/models/WhatAppWebHook.ts +8 -0
- package/src/models/WhatsappConfig.ts +16 -0
- package/src/models/WhatsappUserConfig.ts +15 -0
- package/src/services/AiAccountService.ts +479 -0
- package/src/services/AiAnalyticsService.ts +1923 -0
- package/src/services/AiBotService.ts +1174 -0
- package/src/services/AiFinetuningService.ts +402 -0
- package/src/services/AiIndexService.ts +598 -0
- package/src/services/AiMarketingService.ts +87 -0
- package/src/services/AiMentorService.ts +7678 -0
- package/src/services/AiPromptService.ts +1676 -0
- package/src/services/SearchService.ts +603 -151
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export type LLMResponse = {
|
|
2
|
+
readonly id: number;
|
|
3
|
+
name: string;
|
|
4
|
+
description?: string | null;
|
|
5
|
+
metadata?: any;
|
|
6
|
+
resource_ids?: any;
|
|
7
|
+
tags?: any;
|
|
8
|
+
overview?: string | null;
|
|
9
|
+
use_cases?: string | null;
|
|
10
|
+
documentation?: string | null;
|
|
11
|
+
sdk_samples?: string | null;
|
|
12
|
+
chat_models?: any;
|
|
13
|
+
logo?: string | null;
|
|
14
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { MemoryComponentData } from './MemoryComponentData';
|
|
2
|
+
export type MemoryComponentMemoryDetail = {
|
|
3
|
+
data: Array<MemoryComponentData>;
|
|
4
|
+
readonly catalog_item: string;
|
|
5
|
+
readonly mentor_unique_id: string;
|
|
6
|
+
readonly student: string;
|
|
7
|
+
readonly inserted_at: string;
|
|
8
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export type MemoryProgress = {
|
|
2
|
+
readonly memory_type: string;
|
|
3
|
+
readonly all_units: number | null;
|
|
4
|
+
readonly all_unit_names: Array<string> | null;
|
|
5
|
+
readonly current_unit: number | null;
|
|
6
|
+
readonly current_unit_name: string | null;
|
|
7
|
+
readonly item_name: string | null;
|
|
8
|
+
};
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import type { GreetingMethodEnum } from './GreetingMethodEnum';
|
|
2
|
+
import type { MentorCategory } from './MentorCategory';
|
|
3
|
+
export type Mentor = {
|
|
4
|
+
name: string;
|
|
5
|
+
unique_id?: string;
|
|
6
|
+
/**
|
|
7
|
+
* The langflow json for the mentor
|
|
8
|
+
*/
|
|
9
|
+
flow: any;
|
|
10
|
+
slug?: string;
|
|
11
|
+
platform?: string;
|
|
12
|
+
allow_anonymous?: boolean;
|
|
13
|
+
metadata?: any;
|
|
14
|
+
enable_moderation?: boolean;
|
|
15
|
+
enable_openai_assistant?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Whether to force mentor to only use information within the provided documents.
|
|
18
|
+
*/
|
|
19
|
+
enable_total_grounding?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Whether to show suggested prompts for the mentor or not. Note: Suggested prompts are created by tenant admins.
|
|
22
|
+
*/
|
|
23
|
+
enable_suggested_prompts?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Whether to show suggested prompts for the mentor or not. Note: Guided prompts are created with an llm based on chat history.
|
|
26
|
+
*/
|
|
27
|
+
enable_guided_prompts?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Instructions to determine how prompt suggestions are generated.
|
|
30
|
+
*/
|
|
31
|
+
guided_prompt_instructions?: string;
|
|
32
|
+
google_voice?: number | null;
|
|
33
|
+
openai_voice?: number | null;
|
|
34
|
+
categories: Array<MentorCategory>;
|
|
35
|
+
/**
|
|
36
|
+
* Prompt template used to start a conversation with the user when greeting_type is proactive_prompt. This will be sent to the LLM so it can respond naturally
|
|
37
|
+
*/
|
|
38
|
+
proactive_prompt?: string;
|
|
39
|
+
/**
|
|
40
|
+
* The prompt for the moderation system. This prompt must clearly distinguish between 'Approapriate' and 'Not Appropriate' queries.
|
|
41
|
+
*/
|
|
42
|
+
moderation_system_prompt?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Desired feedback to return to the user when their prompt is deemed inappropriate.
|
|
45
|
+
*/
|
|
46
|
+
moderation_response?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Prompt to check whether the models response is appropriate or not.
|
|
49
|
+
*/
|
|
50
|
+
safety_system_prompt?: string;
|
|
51
|
+
/**
|
|
52
|
+
* Feedback given to the user when a model generates an inappropriate response
|
|
53
|
+
*/
|
|
54
|
+
safety_response?: string;
|
|
55
|
+
enable_safety_system?: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* Response to start a conversation with a user.
|
|
58
|
+
*/
|
|
59
|
+
proactive_response?: string;
|
|
60
|
+
/**
|
|
61
|
+
* How the mentor should greet the user. proactive_prompt: Allow the LLM to respond to proactive_prompt msg. proactive_response: use proactive_response template without performing an LLM call.
|
|
62
|
+
*
|
|
63
|
+
* * `proactive_prompt` - Proactive Prompt
|
|
64
|
+
* * `proactive_response` - Proactive Response
|
|
65
|
+
*/
|
|
66
|
+
greeting_method?: GreetingMethodEnum;
|
|
67
|
+
/**
|
|
68
|
+
* edX user ID
|
|
69
|
+
*/
|
|
70
|
+
last_accessed_by?: number | null;
|
|
71
|
+
recently_accessed_at?: string | null;
|
|
72
|
+
created_by?: string | null;
|
|
73
|
+
readonly created_at: string | null;
|
|
74
|
+
readonly updated_at: string | null;
|
|
75
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export type MentorCategoryCreate = {
|
|
2
|
+
readonly id: number;
|
|
3
|
+
name: string;
|
|
4
|
+
category_group?: number | null;
|
|
5
|
+
description?: string | null;
|
|
6
|
+
/**
|
|
7
|
+
* Deprecated: This is only left for backward compatibility. Please use the audiences field instead.
|
|
8
|
+
*/
|
|
9
|
+
audience?: number | null;
|
|
10
|
+
audiences?: Array<number>;
|
|
11
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { MentorAudience } from './MentorAudience';
|
|
2
|
+
import type { MentorCategory } from './MentorCategory';
|
|
3
|
+
export type MentorCategoryGroup = {
|
|
4
|
+
readonly id: number;
|
|
5
|
+
name: string;
|
|
6
|
+
description: string;
|
|
7
|
+
audience: MentorAudience;
|
|
8
|
+
readonly date_created: string;
|
|
9
|
+
categories: Array<MentorCategory>;
|
|
10
|
+
audiences: Array<MentorAudience>;
|
|
11
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export type MentorCategoryGroupCreate = {
|
|
2
|
+
readonly id: number;
|
|
3
|
+
name: string;
|
|
4
|
+
description: string;
|
|
5
|
+
/**
|
|
6
|
+
* Deprecated: This is only left for backward compatibility. Please use the audiences field instead.
|
|
7
|
+
*/
|
|
8
|
+
audience?: number | null;
|
|
9
|
+
audiences?: Array<number>;
|
|
10
|
+
readonly date_created: string;
|
|
11
|
+
};
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import type { GreetingMethodEnum } from './GreetingMethodEnum';
|
|
2
|
+
export type MentorCreate = {
|
|
3
|
+
name: string;
|
|
4
|
+
unique_id?: string;
|
|
5
|
+
/**
|
|
6
|
+
* The langflow json for the mentor
|
|
7
|
+
*/
|
|
8
|
+
flow: any;
|
|
9
|
+
slug?: string;
|
|
10
|
+
platform?: string;
|
|
11
|
+
allow_anonymous?: boolean;
|
|
12
|
+
metadata?: any;
|
|
13
|
+
enable_moderation?: boolean;
|
|
14
|
+
enable_openai_assistant?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Whether to force mentor to only use information within the provided documents.
|
|
17
|
+
*/
|
|
18
|
+
enable_total_grounding?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Whether to show suggested prompts for the mentor or not. Note: Suggested prompts are created by tenant admins.
|
|
21
|
+
*/
|
|
22
|
+
enable_suggested_prompts?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Whether to show suggested prompts for the mentor or not. Note: Guided prompts are created with an llm based on chat history.
|
|
25
|
+
*/
|
|
26
|
+
enable_guided_prompts?: boolean;
|
|
27
|
+
google_voice?: number | null;
|
|
28
|
+
openai_voice?: number | null;
|
|
29
|
+
/**
|
|
30
|
+
* Instructions to determine how prompt suggestions are generated.
|
|
31
|
+
*/
|
|
32
|
+
guided_prompt_instructions?: string;
|
|
33
|
+
categories?: Array<number>;
|
|
34
|
+
/**
|
|
35
|
+
* Prompt template used to start a conversation with the user when greeting_type is proactive_prompt. This will be sent to the LLM so it can respond naturally
|
|
36
|
+
*/
|
|
37
|
+
proactive_prompt?: string;
|
|
38
|
+
/**
|
|
39
|
+
* The prompt for the moderation system. This prompt must clearly distinguish between 'Approapriate' and 'Not Appropriate' queries.
|
|
40
|
+
*/
|
|
41
|
+
moderation_system_prompt?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Desired feedback to return to the user when their prompt is deemed inappropriate.
|
|
44
|
+
*/
|
|
45
|
+
moderation_response?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Prompt to check whether the models response is appropriate or not.
|
|
48
|
+
*/
|
|
49
|
+
safety_system_prompt?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Feedback given to the user when a model generates an inappropriate response
|
|
52
|
+
*/
|
|
53
|
+
safety_response?: string;
|
|
54
|
+
enable_safety_system?: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Response to start a conversation with a user.
|
|
57
|
+
*/
|
|
58
|
+
proactive_response?: string;
|
|
59
|
+
/**
|
|
60
|
+
* How the mentor should greet the user. proactive_prompt: Allow the LLM to respond to proactive_prompt msg. proactive_response: use proactive_response template without performing an LLM call.
|
|
61
|
+
*
|
|
62
|
+
* * `proactive_prompt` - Proactive Prompt
|
|
63
|
+
* * `proactive_response` - Proactive Response
|
|
64
|
+
*/
|
|
65
|
+
greeting_method?: GreetingMethodEnum;
|
|
66
|
+
/**
|
|
67
|
+
* edX user ID
|
|
68
|
+
*/
|
|
69
|
+
last_accessed_by?: number | null;
|
|
70
|
+
recently_accessed_at?: string | null;
|
|
71
|
+
created_by?: string | null;
|
|
72
|
+
readonly created_at: string | null;
|
|
73
|
+
readonly updated_at: string | null;
|
|
74
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { MentorEvalQuestion } from './MentorEvalQuestion';
|
|
2
|
+
export type MentorEval = {
|
|
3
|
+
readonly id: number;
|
|
4
|
+
readonly mentor: string;
|
|
5
|
+
readonly questions: Array<MentorEvalQuestion>;
|
|
6
|
+
eval_id?: string;
|
|
7
|
+
name?: string | null;
|
|
8
|
+
passing_score?: number;
|
|
9
|
+
evaluation_prompt?: string;
|
|
10
|
+
question_set?: number | null;
|
|
11
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ConversationRating } from './ConversationRating';
|
|
2
|
+
export type MentorEvalReport = {
|
|
3
|
+
readonly id: number;
|
|
4
|
+
readonly mentor_eval: string;
|
|
5
|
+
readonly mentor: string;
|
|
6
|
+
readonly conversation_ratings: Array<ConversationRating>;
|
|
7
|
+
readonly overall_score: number;
|
|
8
|
+
readonly is_passed: boolean;
|
|
9
|
+
readonly generated_at: string;
|
|
10
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { MentorEvalQuestionRequest } from './MentorEvalQuestionRequest';
|
|
2
|
+
export type MentorEvalRequest = {
|
|
3
|
+
id?: number | null;
|
|
4
|
+
name?: string | null;
|
|
5
|
+
passing_score?: number | null;
|
|
6
|
+
questions?: Array<MentorEvalQuestionRequest> | null;
|
|
7
|
+
evaluation_prompt?: string | null;
|
|
8
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import type { GreetingMethodEnum } from './GreetingMethodEnum';
|
|
2
|
+
export type MentorFromTemplateWithSettingRequest = {
|
|
3
|
+
template_name: string;
|
|
4
|
+
display_name?: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
profile_image?: string;
|
|
7
|
+
initial_message?: string;
|
|
8
|
+
suggested_message?: string;
|
|
9
|
+
new_mentor_name: string;
|
|
10
|
+
theme?: string;
|
|
11
|
+
user_message_color?: string;
|
|
12
|
+
mentor_bubble_color?: string;
|
|
13
|
+
align_mentor_bubble?: string;
|
|
14
|
+
system_prompt?: string;
|
|
15
|
+
llm_provider?: string;
|
|
16
|
+
llm_name?: string;
|
|
17
|
+
mentor_visibility?: string;
|
|
18
|
+
enable_image_generation?: boolean;
|
|
19
|
+
enable_web_browsing?: boolean;
|
|
20
|
+
enable_code_interpreter?: boolean;
|
|
21
|
+
metadata?: any;
|
|
22
|
+
custom_css?: string;
|
|
23
|
+
uploaded_profile_image?: string;
|
|
24
|
+
proactive_response?: string;
|
|
25
|
+
greeting_method?: GreetingMethodEnum;
|
|
26
|
+
categories?: Array<number>;
|
|
27
|
+
tool_slugs?: Array<string>;
|
|
28
|
+
llm_temperature?: number;
|
|
29
|
+
seo_tags?: any;
|
|
30
|
+
marketing_conversations?: any;
|
|
31
|
+
proactive_prompt?: string;
|
|
32
|
+
moderation_system_prompt?: string;
|
|
33
|
+
moderation_response?: string;
|
|
34
|
+
enable_moderation?: boolean;
|
|
35
|
+
enable_openai_assistant?: boolean;
|
|
36
|
+
enable_total_grounding?: boolean;
|
|
37
|
+
google_voice?: number;
|
|
38
|
+
openai_voice?: number;
|
|
39
|
+
enable_suggested_prompts?: boolean | null;
|
|
40
|
+
enable_guided_prompts?: boolean | null;
|
|
41
|
+
guided_prompt_instructions?: string | null;
|
|
42
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import type { AlignMentorBubbleEnum } from './AlignMentorBubbleEnum';
|
|
2
|
+
import type { BlankEnum } from './BlankEnum';
|
|
3
|
+
import type { MentorVisibilityEnum } from './MentorVisibilityEnum';
|
|
4
|
+
import type { NullEnum } from './NullEnum';
|
|
5
|
+
import type { ThemeEnum } from './ThemeEnum';
|
|
6
|
+
export type MentorSettings = {
|
|
7
|
+
readonly id: number;
|
|
8
|
+
display_name?: string | null;
|
|
9
|
+
profile_image?: string | null;
|
|
10
|
+
initial_message?: string | null;
|
|
11
|
+
suggested_message?: string | null;
|
|
12
|
+
theme?: ThemeEnum;
|
|
13
|
+
user_message_color?: string;
|
|
14
|
+
mentor_bubble_color?: string;
|
|
15
|
+
align_mentor_bubble?: AlignMentorBubbleEnum;
|
|
16
|
+
readonly mentor: string;
|
|
17
|
+
readonly mentor_slug: string;
|
|
18
|
+
readonly mentor_unique_id: string;
|
|
19
|
+
readonly metadata: any;
|
|
20
|
+
mentor_visibility?: (MentorVisibilityEnum | BlankEnum | NullEnum) | null;
|
|
21
|
+
enable_image_generation?: boolean | null;
|
|
22
|
+
enable_web_browsing?: boolean | null;
|
|
23
|
+
enable_code_interpreter?: boolean | null;
|
|
24
|
+
custom_css?: string | null;
|
|
25
|
+
readonly allow_anonymous: boolean;
|
|
26
|
+
readonly mentor_description: string;
|
|
27
|
+
readonly suggested_prompts: any;
|
|
28
|
+
readonly proactive_response: string;
|
|
29
|
+
readonly greeting_method: string;
|
|
30
|
+
readonly mentor_tools: any;
|
|
31
|
+
readonly can_use_tools: boolean;
|
|
32
|
+
readonly llm_name: string;
|
|
33
|
+
readonly proactive_prompt: string;
|
|
34
|
+
readonly enable_memory_component: boolean;
|
|
35
|
+
readonly enable_email_chat: boolean;
|
|
36
|
+
readonly enable_spaced_repetition: boolean;
|
|
37
|
+
readonly enable_instruction_mode: boolean;
|
|
38
|
+
readonly enable_socratic_mode: boolean;
|
|
39
|
+
readonly is_guided_mentor: boolean;
|
|
40
|
+
readonly system_prompt: string;
|
|
41
|
+
readonly llm_provider: string;
|
|
42
|
+
readonly llm_temperature: number;
|
|
43
|
+
readonly safety_system_prompt: string;
|
|
44
|
+
readonly safety_response: string;
|
|
45
|
+
readonly moderation_system_prompt: string;
|
|
46
|
+
readonly moderation_response: string;
|
|
47
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { AlignMentorBubbleEnum } from './AlignMentorBubbleEnum';
|
|
2
|
+
import type { BlankEnum } from './BlankEnum';
|
|
3
|
+
import type { MentorVisibilityEnum } from './MentorVisibilityEnum';
|
|
4
|
+
import type { NullEnum } from './NullEnum';
|
|
5
|
+
import type { ThemeEnum } from './ThemeEnum';
|
|
6
|
+
export type MentorSettingsPublic = {
|
|
7
|
+
readonly id: number;
|
|
8
|
+
display_name?: string | null;
|
|
9
|
+
profile_image?: string | null;
|
|
10
|
+
initial_message?: string | null;
|
|
11
|
+
suggested_message?: string | null;
|
|
12
|
+
theme?: ThemeEnum;
|
|
13
|
+
user_message_color?: string;
|
|
14
|
+
mentor_bubble_color?: string;
|
|
15
|
+
align_mentor_bubble?: AlignMentorBubbleEnum;
|
|
16
|
+
readonly mentor: string;
|
|
17
|
+
readonly mentor_slug: string;
|
|
18
|
+
readonly mentor_unique_id: string;
|
|
19
|
+
readonly metadata: any;
|
|
20
|
+
mentor_visibility?: (MentorVisibilityEnum | BlankEnum | NullEnum) | null;
|
|
21
|
+
enable_image_generation?: boolean | null;
|
|
22
|
+
enable_web_browsing?: boolean | null;
|
|
23
|
+
enable_code_interpreter?: boolean | null;
|
|
24
|
+
custom_css?: string | null;
|
|
25
|
+
readonly allow_anonymous: boolean;
|
|
26
|
+
readonly mentor_description: string;
|
|
27
|
+
readonly suggested_prompts: any;
|
|
28
|
+
readonly proactive_response: string;
|
|
29
|
+
readonly greeting_method: string;
|
|
30
|
+
readonly mentor_tools: any;
|
|
31
|
+
readonly can_use_tools: boolean;
|
|
32
|
+
readonly llm_name: string;
|
|
33
|
+
readonly proactive_prompt: string;
|
|
34
|
+
readonly enable_memory_component: boolean;
|
|
35
|
+
readonly enable_email_chat: boolean;
|
|
36
|
+
readonly enable_spaced_repetition: boolean;
|
|
37
|
+
readonly enable_instruction_mode: boolean;
|
|
38
|
+
readonly enable_socratic_mode: boolean;
|
|
39
|
+
readonly is_guided_mentor: boolean;
|
|
40
|
+
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import type { GreetingMethodEnum } from './GreetingMethodEnum';
|
|
2
|
+
export type MentorSettingsRequest = {
|
|
3
|
+
mentor_name?: string;
|
|
4
|
+
display_name?: string;
|
|
5
|
+
profile_image?: string;
|
|
6
|
+
initial_message?: string | null;
|
|
7
|
+
suggested_message?: string | null;
|
|
8
|
+
theme?: string;
|
|
9
|
+
user_message_color?: string;
|
|
10
|
+
mentor_bubble_color?: string;
|
|
11
|
+
align_mentor_bubble?: string;
|
|
12
|
+
system_prompt?: string;
|
|
13
|
+
llm_provider?: string;
|
|
14
|
+
llm_name?: string;
|
|
15
|
+
featured?: boolean;
|
|
16
|
+
metadata?: any;
|
|
17
|
+
custom_css?: string | null;
|
|
18
|
+
mentor_visibility?: string;
|
|
19
|
+
enable_image_generation?: boolean;
|
|
20
|
+
enable_web_browsing?: boolean;
|
|
21
|
+
enable_code_interpreter?: boolean;
|
|
22
|
+
allow_anonymous?: boolean;
|
|
23
|
+
mentor_description?: string;
|
|
24
|
+
uploaded_profile_image?: string;
|
|
25
|
+
proactive_response?: string;
|
|
26
|
+
greeting_method?: GreetingMethodEnum;
|
|
27
|
+
can_use_tools?: boolean;
|
|
28
|
+
tool_slugs?: Array<string>;
|
|
29
|
+
llm_temperature?: number;
|
|
30
|
+
proactive_prompt?: string;
|
|
31
|
+
moderation_system_prompt?: string;
|
|
32
|
+
moderation_response?: string;
|
|
33
|
+
enable_moderation?: boolean;
|
|
34
|
+
enable_openai_assistant?: boolean;
|
|
35
|
+
enable_total_grounding?: boolean;
|
|
36
|
+
enable_suggested_prompts?: boolean | null;
|
|
37
|
+
enable_guided_prompts?: boolean | null;
|
|
38
|
+
google_voice?: number;
|
|
39
|
+
openai_voice?: number;
|
|
40
|
+
guided_prompt_instructions?: string | null;
|
|
41
|
+
safety_system_prompt?: string;
|
|
42
|
+
safety_response?: string;
|
|
43
|
+
enable_safety_system?: boolean;
|
|
44
|
+
enable_memory_component?: boolean;
|
|
45
|
+
enable_spaced_repetition?: boolean;
|
|
46
|
+
enable_instruction_mode?: boolean;
|
|
47
|
+
enable_socratic_mode?: boolean;
|
|
48
|
+
is_guided_mentor?: boolean;
|
|
49
|
+
enable_email_chat?: boolean;
|
|
50
|
+
categories?: Array<number>;
|
|
51
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* * `viewable_by_tenant_admins` - Viewable By Tenant Admins
|
|
3
|
+
* * `viewable_by_tenant_students` - Viewable By Tenant Students
|
|
4
|
+
* * `viewable_by_anyone` - Viewable By Anyone
|
|
5
|
+
*/
|
|
6
|
+
export declare enum MentorVisibilityEnum {
|
|
7
|
+
VIEWABLE_BY_TENANT_ADMINS = "viewable_by_tenant_admins",
|
|
8
|
+
VIEWABLE_BY_TENANT_STUDENTS = "viewable_by_tenant_students",
|
|
9
|
+
VIEWABLE_BY_ANYONE = "viewable_by_anyone"
|
|
10
|
+
}
|