Commit 9a8d1364 authored by zhouwei's avatar zhouwei

新增提取新闻中的国家和城市信息

parent 8202f94f
......@@ -480,6 +480,7 @@ public class AIServiceImpl implements AIService {
" - 仅返回标准JSON格式:{\"country\": \"国家\", \"city\": \"城市\"}\n" +
" - 无地理信息时返回:{\"country\": \"\", \"city\": \"\"}\n" +
" - 禁止包含任何解释性文字或XML标签\n" +
" - 翻译成中文\n" +
"5. 验证逻辑:\n" +
" - 确保城市隶属于国家(如东京属于日本)\n" +
" - 拒绝推测性结论,必须有文本依据\n" +
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment