You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

关于@sys-time时间识别不一致问题的技术问询

@sys-time Entity Recognition Inconsistencies in Brazilian Portuguese Workspace

Hey Bruno,

Thanks for flagging this inconsistency with @sys-time in your Brazilian Portuguese workspace—this does look like a quirky edge case in the entity's parsing logic. Let’s break down what might be going on here:

Your Test Recap

First, let’s confirm the behavior you observed:

  • Successfully recognized as @sys-time:
    • 9h, 09h
    • 08:30, 08:30:00
    • 09:00:00h
  • Not recognized as @sys-time:
    • 9, 09 (treated as plain numbers)
    • 08:30h

Why This Might Be Happening

  1. The 08:30h Gap:
    It seems like the parser handles single-hour suffixes (09h) fine, but struggles when the h is appended directly to a time with minutes. My guess is that the Brazilian Portuguese locale’s time parsing rules are set to expect either a time without a suffix (like 08:30) or an hour-only value with h (like 09h), but haven’t been updated to account for [hour]:[minute]h formats. This feels like an oversight that should be fixed.

  2. Pure Numbers as Times:
    When you input just 9 or 09 in a slot expecting @sys-time, the system plays it safe and treats them as numeric values instead of times. Without an explicit marker like h or a phrase like "às 9 horas", the parser can’t be sure you mean "9 o’clock" rather than the number itself. This is a common design choice to prevent false positives, but it’s not ideal if your use case relies on numeric-only time inputs.

What You Can Do Next

  • For 08:30h: Definitely reach out to the platform’s support team with all your test cases. This looks like a bug specific to the Brazilian Portuguese locale, and providing clear examples will help them prioritize fixing it.
  • For pure numeric inputs: If you need these to be recognized as times, try adding training phrases like "às 9" or "9 horas" mapped to your @sys-time slot. You could also add a small post-processing step in your bot logic—if a numeric value lands in the time slot, automatically convert it to a time entity (e.g., 9 → 9h).

Hope this helps make sense of the behavior, and good luck getting this resolved!

内容的提问来源于stack exchange,提问作者Bruno Braga

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.21 07:58:22