From de7c0930ed892c280fdbc35c156a9f005e701343 Mon Sep 17 00:00:00 2001 From: sudipnext Date: Sun, 5 Apr 2026 15:08:33 +0545 Subject: [PATCH] refactor: remove memory usage instructions from system prompts for clarity --- .../fastapi/utils/llm_calls/generate_presentation_outlines.py | 1 - .../fastapi/utils/llm_calls/generate_presentation_structure.py | 2 -- 2 files changed, 3 deletions(-) diff --git a/electron/servers/fastapi/utils/llm_calls/generate_presentation_outlines.py b/electron/servers/fastapi/utils/llm_calls/generate_presentation_outlines.py index b18ab467..59d213bf 100644 --- a/electron/servers/fastapi/utils/llm_calls/generate_presentation_outlines.py +++ b/electron/servers/fastapi/utils/llm_calls/generate_presentation_outlines.py @@ -85,7 +85,6 @@ def get_system_prompt( "If instructed to generate a template then leave spaces with '____' in the content. Do not add arbitrary content, just add fillers." "**Never give out chinese text/content.**\n" "**Search web to get latest information about the topic**\n" - "**Use Memory if available should be used to make presentation more personalized and engaging.**\n" "User instruction should always be followed and should supercede any other instruction, except for slide numbers." ) diff --git a/electron/servers/fastapi/utils/llm_calls/generate_presentation_structure.py b/electron/servers/fastapi/utils/llm_calls/generate_presentation_structure.py index ec46d7f1..bbe26172 100644 --- a/electron/servers/fastapi/utils/llm_calls/generate_presentation_structure.py +++ b/electron/servers/fastapi/utils/llm_calls/generate_presentation_structure.py @@ -12,7 +12,6 @@ from models.presentation_structure_model import PresentationStructureModel STRUCTURE_FROM_SLIDES_MARKDOWN_SYSTEM_PROMPT = """ You will be given available slide layouts and content for each slide. -If any user or workspace memory (previous conversation context) is available, incorporate it when making layout selections. You need to select a layout for each slide based on the mentioned guidelines. # Steps @@ -57,7 +56,6 @@ You need to select a layout for each slide based on the mentioned guidelines. GET_MESSAGES_SYSTEM_PROMPT = """ You're a professional presentation designer with creative freedom to design engaging presentations. -If any user or workspace memory (previous conversation context) is available, incorporate it when making layout and design decisions. # DESIGN PHILOSOPHY - Create visually compelling and varied presentations