{"master":{"name":"ChatBot","version":"2.0","license-name":"GPL-3.0-only","author":["[https:\/\/www.hallowelt.com Hallo Welt! GmbH]"],"url":"https:\/\/www.mediawiki.org\/wiki\/Extension:ChatBot","descriptionmsg":"chatbot-desc","requires":{"MediaWiki":">= 1.43.0","extensions":{"PDFCreator":">= 1.0.0","WikiRAG":">= 1.0.0"}},"attributes":{"BlueSpicePrivacy":{"CookieConsentNativeMWCookies":{"chatbot_attention_tracker":{"group":"convenience","addPrefix":true}}},"PDFCreator":{"ModuleProvider":{"chatbot-pdf-export":{"class":"ChatBot\\PdfExport\\ChatbotPdfExportModuleProvider","services":["PDFCreator.PageSpecFactory","PDFCreator.ExportPageFactory","PDFCreator.TemplateProviderFactory","PDFCreator.BackendFactory","PDFCreator.TargetFactory","PDFCreator.MetaDataFactory","PDFCreator.ExportHtmlBuilder","PDFCreator.PreProcessorFactory","PDFCreator.ProcessorFactory","PDFCreator.PostProcessorFactory","PDFCreator.StylesheetsFactory","PDFCreator.StyleBlocksFactory","PDFCreator.MediaWikiCommonCssProvider","MainConfig","TitleFactory","RedirectLookup"]}}},"BlueSpiceFoundation":{"ConfigDefinitionRegistry":{"ChatBotName":"ChatBot\\ConfigDefinition\\ChatbotName::getInstance","ChatBotEnableSearchSummary":"ChatBot\\ConfigDefinition\\ChatBotEnableSearchSummary::getInstance"}},"BlueSpiceExtendedSearch":{"SearchCenterPluginModules":["ext.chatbot.search.integration"]},"WikiRAG":{"ContextProviders":{"chat-prompts":{"class":"ChatBot\\WikiRAG\\ContextProvider\\ChatPrompts"},"token-limit":{"class":"ChatBot\\WikiRAG\\ContextProvider\\TokenLimits","services":["ChatBot.TokenUsage"]}}},"BlueSpiceInstanceStatus":{"InstanceStatusProvider":{"chat-token-limit":{"class":"ChatBot\\InstanceStatusProvider\\TokenLimit","services":["ChatBot.TokenUsage"]}}}},"ExtensionFunctions":["ChatBot\\UpdateLimitsCron::register"],"Hooks":{"UserLoggedIn":"setUserLoggedInFlag","MakeGlobalVariablesScript":"setUserLoggedInFlag","PageSaveComplete":"observePrompts","MediaWikiServices":"scheduleLimitUpdate","SkinAfterContent":"common-user-interface"},"HookHandlers":{"common-user-interface":{"class":"ChatBot\\HookHandler\\CommonUserInterface","services":["MainConfig"]},"setUserLoggedInFlag":{"class":"ChatBot\\HookHandler\\SetUserLoggedInFlag"},"observePrompts":{"class":"ChatBot\\HookHandler\\PromptObserver","services":["WikiRAG.Scheduler"]}},"RestRoutes":[{"path":"\/chatbot\/export-pdf","method":"POST","class":"ChatBot\\Rest\\CreateChatPdf","services":["ChatMessageFactory","TitleFactory","PDFCreator","PDFCreator.ExportSpecificationFactory"]},{"path":"\/chatbot\/convert-md","method":"POST","class":"ChatBot\\Rest\\ConvertMarkdownToWikitextHandler"}],"ServiceWiringFiles":["includes\/ServiceWiring.php"],"config":{"ChatBotService":{"value":{"url":""},"description":"Connection parameters for the chatbot service"},"ChatBotName":{"value":"Wiki Bot","description":"Visible name of chatbot"},"ChatBotTokenLimit":{"value":-1,"description":"Maximum number of tokens for LLM calls during a calendar month. -1 means no limit"},"ChatBotOrganizationId":{"value":null,"description":"ID used to identify any request to chatbot service as belonging to a specific organization. If null, set to wiki ID"},"ChatBotCreditConversionRate":{"value":1000,"description":"Number of tokens that correspond to one credit in the billing system"},"ChatBotEnableSearchSummary":{"value":true,"description":"Whether to enable the feature that shows an AI-generated summary of the search results in the Search Center"}},"callback":"mwsInitComponents","repository":"https:\/\/gerrit.wikimedia.org\/r\/mediawiki\/extensions\/ChatBot"}}