Helper - Smart dates

:bookmark: This guide explains how to enable and configure Smart dates, which is part of the Helper feature of Discourse AI plugin.

:person_raising_hand: Required user level: Administrator

Smart dates allow the conversion of human-typed times and dates to Discourse-compatible, timezone-friendly dates.

:information_source: Note: In this demonstration, there was already written content in the composer.

Features

  • Detect Smart dates from text containing time, date and timezone
  • Ability to confirm or discard changes
  • Option to retry detection

Enabling Smart dates

Prerequisites

You must configure at least one Large Language Model (LLM) from a provider.

To get started you can configure them through the Discourse AI - Large Language Model (LLM) settings page.

Configuration

  1. Go to Admin โ†’ Plugins โ†’ Discourse AI โ†’ Features โ†’ Helper
  2. Enable the Helper feature by checking AI helper enabled
  3. Go to AI helper enabled features and make sure context_menu is selected so the AI button shows up in the composer
  4. Optionally, configure which LLM to use for Smart dates via the AI helper smart dates agent setting. By default, a built-in agent is used, and it will use the siteโ€™s default LLM.
  5. We recommend setting Composer AI helper allowed groups to specific user groups so they can use Helperโ€™s composer features including Smart dates

Technical FAQs

Why is Smart dates not working properly?

  • This can depend on numerous factors including the LLM used, overall text context, and the way the time and dates are written out so the LLM can comprehend and convert. LLMs can make mistakes so itโ€™s important to double-check the output.
5 Likes

Smart and super convenient, love it! :clap:

4 Likes