From 1095895ac6888d91c1ac89efcbe69f13338c0325 Mon Sep 17 00:00:00 2001 From: sudipnext Date: Sat, 4 Apr 2026 11:16:01 +0545 Subject: [PATCH] refactor: incorporate user and workspace memory in layout selection and design decisions --- .../fastapi/utils/llm_calls/generate_presentation_structure.py | 2 ++ 1 file changed, 2 insertions(+) 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 bbe26172..ec46d7f1 100644 --- a/electron/servers/fastapi/utils/llm_calls/generate_presentation_structure.py +++ b/electron/servers/fastapi/utils/llm_calls/generate_presentation_structure.py @@ -12,6 +12,7 @@ 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 @@ -56,6 +57,7 @@ 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