app icon
nlp_time_trans
0.0.1

return start date and end date mentioned in the time related words just like last week,last month,in "%Y-%m-%d" pattern

dendy/nlp_time_trans1748 installs

nlp_time_trans

Author: dendy
Version: 0.0.1
Type: tool

📅 Time Phrase Parser Plugin for Dify

This plugin is designed for the Dify platform to process natural language time-related phrases or keywords. It uses a large language model (LLM) to parse the input and return the corresponding start date and end date in the format.


✨ Features

  • ⏱ Parse natural language time expressions, such as:
    • "next Monday"
    • "last quarter"
    • "Q3 2023"
  • 🌐 Supports custom time zones via the parameter (e.g., , )
  • 📆 Returns standardized start and end dates, e.g., to
  • 🤖 Optional selection of the LLM model to use
  • 🧠 Understands both English and Chinese time phrases

🛠 How to Use

  1. Install this plugin inside your Dify application.
  2. In the plugin settings, choose the LLM model you want to use (e.g., GPT-4).
  3. Parse natural language time expressions

⚠️ Important Notes

  • ✅ The input must be a time-related phrase or keyword only, not a full sentence.
    • ✔️ Valid: , ,
    • ❌ Invalid: ,
  • 🌍 The (timezone) field is optional but recommended for accurate date ranges across time zones.
  • ❌ This plugin does not extract date expressions from complex or full sentences.

📸 Plugin Screenshot



💡 Example Use Cases

  • Smart calendar assistants
  • Time range selectors for dashboards
  • AI-powered scheduling tools
  • Context-aware date parsing in chatbots
  • Applications with global users needing time zone awareness

📬 Contact

For questions or feedback, feel free to reach out to the plugin developer or leave a comment in the Dify plugin marketplace.


CATEGORY
Tool
VERSION
0.0.1
dendy·04/18/2025 08:40 PM
REQUIREMENTS
LLM invocation
Tool invocation
Endpoint registration
Maximum memory
256MB