This guide explains how to enable and configure Smart dates, which is part of the Helper feature of Discourse AI plugin.
Required user level: Administrator
Smart dates allow the conversion of human-typed times and dates to Discourse-compatible, timezone-friendly dates.
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.
- OpenAI
- Anthropic
- Azure OpenAI
- AWS Bedrock with Anthropic access
- HuggingFace Endpoints with Llama2-like model
- Self-Hosting an OpenSource LLM
- Google Gemini
- Cohere
Configuration
- Go to Admin โ Plugins
- Search for
discourse-ai
and ensure itโs enabled - Select the LLM at
AI helper model
- Enable the Helper feature by checking
AI helper enabled
- Go to
AI helper enabled features
and make surecontext_menu
is selected so the AI button shows up in the composer - 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 document
Perform check on document: