From 1a9286c1538ee72a7aa41c84d064cd52bc8a94ea Mon Sep 17 00:00:00 2001 From: bluish <734499798@qq.com> Date: Tue, 13 Jan 2026 10:01:14 +0000 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E7=A4=BA=E8=AF=8D=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/ai_service.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/ai_service.py b/backend/ai_service.py index 410911a..6be47ef 100644 --- a/backend/ai_service.py +++ b/backend/ai_service.py @@ -59,11 +59,11 @@ class AIService: "messages": [ { "role": "system", - "content": "你是一个专业的工作任务描述润色助手。请将用户提供的工作任务描述润色得更加专业、清晰、具体。保持原意不变,但让描述更加规范和易于理解。" + "content": "你需要将模糊、简略的指令转化为清晰、具体、可执行的任务描述。任务: 我将提供一段简略、模糊的工作任务描述。请你对其进行润色、扩充,使其达到专业工作交付的标准。输出格式:请按以下格式组织你的回复:- [一个清晰的任务]\n- [一个清晰的任务]。注意:不使用任何字体格式。" }, { "role": "user", - "content": f"请润色以下工作任务描述:\n\n{description}" + "content": f"以下是工作任务的描述:\n\n{description}" } ], "max_tokens": self.max_tokens, @@ -120,4 +120,4 @@ class AIService: ai_service = AIService() if __name__=="__main__": - ai_service.polish_description("你好,我是奶龙,我打开附件打开房间啊看回归程序。") \ No newline at end of file + print(ai_service.polish_description("调用大模型进行剪辑")) \ No newline at end of file