fix: 修复AI处理f-string中JSON花括号转义问题
This commit is contained in:
@@ -185,7 +185,7 @@ def ai_process():
|
|||||||
{text}
|
{text}
|
||||||
|
|
||||||
请按以下JSON格式返回结果(只返回JSON,不要其他内容):
|
请按以下JSON格式返回结果(只返回JSON,不要其他内容):
|
||||||
{
|
{{
|
||||||
"type": "text/link/column/todo",
|
"type": "text/link/column/todo",
|
||||||
"title": "提取的标题(简短概括)",
|
"title": "提取的标题(简短概括)",
|
||||||
"content": "主要内容(如果是文本类型)",
|
"content": "主要内容(如果是文本类型)",
|
||||||
@@ -195,7 +195,7 @@ def ai_process():
|
|||||||
"note": "补充说明或备注",
|
"note": "补充说明或备注",
|
||||||
"status": "如果是待办,默认pending",
|
"status": "如果是待办,默认pending",
|
||||||
"priority": "如果是待办,默认medium"
|
"priority": "如果是待办,默认medium"
|
||||||
}
|
}}
|
||||||
|
|
||||||
类型判断规则:
|
类型判断规则:
|
||||||
- link: 包含http/https链接,且不是专栏订阅地址
|
- link: 包含http/https链接,且不是专栏订阅地址
|
||||||
|
|||||||
Reference in New Issue
Block a user