From 8853aa4d2c9d89086b020286f5b7e0f6370bcbe9 Mon Sep 17 00:00:00 2001 From: "jinli.yl" Date: Wed, 18 Jun 2025 14:56:45 +0800 Subject: [PATCH] modify prompt --- .../module/context_generator/step_context_generator.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/experiencemaker/module/context_generator/step_context_generator.py b/experiencemaker/module/context_generator/step_context_generator.py index 3275f989..6a16bd72 100644 --- a/experiencemaker/module/context_generator/step_context_generator.py +++ b/experiencemaker/module/context_generator/step_context_generator.py @@ -318,8 +318,7 @@ class StepContextGenerator(BaseContextGenerator, PromptMixin): if not experiences: return "" - context = "Previous Experience\n" - + context = "Historical Experience\n" for exp in experiences: condition = exp.content experience_content = exp.metadata.get("experience", "") @@ -328,9 +327,6 @@ class StepContextGenerator(BaseContextGenerator, PromptMixin): continue context += f"- {condition} {experience_content}\n" - - context += "Please consider the helpful parts from these in answering the question, to make the response more comprehensive and substantial." - return context.strip() def _parse_json_response(self, response: str, key: str) -> str: