Chatbot

The Oswald chatbot module embeds the chatbot widget from https://www.oswald.ai and allows you to configure it.

In order for you to use this module you'll need to have a valid API key from https://www.oswald.ai.

Configuration

  • Navigate to /admin/config/oswald/bots
  • Click on `Add Oswald chatbot`.
    • Give it a proper name.
    • Enter the chatbot id. Can be found under Integrations » API » Click on "API Token".
    • Enable or disable the chatbot.
    • Optionally enable the auto open function of the chatbot.
    • Select environment "production" unless instructed otherwise.
    • Define the display condition.

You can now in the bots overview "test" your bot.
If your bot is enabled and if it meets the display condition, it will be shown.

If you want to automatically open the chatbot on a certain page you can add the URL parameter ?openOswaldWidget=true to your URL. This will open the bot after it's initialised.

Version information 4.x

If you have used the Oswald module before version 4.x, we have you covered! An automatic upgrade path has been implemented. Just upgrade the module to the latest version and execute your database updates.

Submodules

search_api_oswald

is the submodule to allow the data to flow to the OSWALD RAG (Retrieval-augmented Generation) system.

Getting this up and running:

  • Enable the submodule
  • Create the server with Oswald credentials
  • Add a Title / Content and URL field to the index
  • You can now chat via Oswald with your Drupal content!

More information

More information about the platform on https://www.oswald.ai/

Supporting organizations: 
Funding
Drupal 9/10 release + maintenance
Funding

Project information

Releases