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
  2. Search for discourse-ai and ensure itโ€™s enabled
  3. Select the LLM at AI helper model
  4. Enable the Helper feature by checking AI helper enabled
  5. Go to AI helper enabled features and make sure context_menu is selected so the AI button shows up in the composer
  6. We recommend setting Post AI helper allowed groups to specific user groups so they can use Helperโ€™s 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.

Last edited by @Saif 2024-12-31T03:22:58Z

Check documentPerform check on document:
5 Likes

Smart and super convenient, love it! :clap:

4 Likes