Embeds an AI chatbot in the wiki per Special:Chatbot
.
Legacy support for h2ogpt e. g. with h2ogpt-cpu.
Never developments build around osw-chatbot.
Chatbot Popup
Legacy:
- Special page (specials/SpecialChatbot.php)
- Parser hook (Chatbot/Chatbot.hooks.php)
Usage with Extension:Iframe
in LocalSettings.php
wfLoadExtension( 'Iframe' );
$wgIframe['width'] = "100%";
$wgIframe['server']['chat'] = [ 'scheme' => 'https', 'domain' => '<your_chat_server>' ];
On any page
<iframe key="chat" path=""/>
{
"wgChatbotPopupAssistentConfig": {
"value": {
"iframe_src": "https://osw-chatbot.your-domain.com/"
},
"description": "Hosting of a compatible chat web app, e.g. 'https://github.com/opensemanticworld/osw-chatbot'"
}
}
Run a custom instance of osw-chatbot
Navigate to Settings > Chatbot (Special:Preferences#mw-prefsection-chatbot
)
Set Custom backend for iframe
to your custom instance server, e.g. http://localhost:52670/