Skip to content

opensemanticworld/mediawiki-extensions-Chatbot

Repository files navigation

Chatbot

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.

Features

Chatbot Popup

Legacy:

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=""/>

Config

{
    "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'"
    }
}

Development

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/

About

Provides an interface to AI chatbots (LLM/GPT)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published