Files
zhanghongyu_0626 188bf6a438 feat(analyst_agent): Add support for recent days queries and enhance SQL hint generation
- Introduced `_recent_days_series_hint` to handle queries related to "最近N天" for time series data aggregation.
- Added `_cn_num_to_int` function to convert Chinese numerals to integers for better query parsing.
- Updated `_nl_sql_hints` to incorporate the new hint generation logic, ensuring accurate SQL output for recent days queries.
- Enhanced documentation to reflect these changes and improve clarity on the new functionalities.
2026-09-13 22:36:19 +08:00

12 lines
1.1 KiB
Plaintext

python : File "<string>", line 8
所在位置 C:\Users\Windows\AppData\Local\Temp\ps-script-c10a9ddd-9b6c-4fc2-a618-c9278f93b099.ps1:96 字符: 1
+ python -c "
+ ~~~~~~~~~~~
+ CategoryInfo : NotSpecified: ( File "<string>", line 8:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
rows = c.execute(text(" SELECT alert_id customer_id alert_type status created_at FROM risk_alert WHERE created_at 2
026-09-13 ORDER BY id DESC LIMIT 8\)).fetchall()
^
SyntaxError: unterminated string literal (detected at line 8)