From 266c659ddb56b255e30dc52e9084be03adfa30a5 Mon Sep 17 00:00:00 2001 From: Tomas Valenta Date: Sat, 11 Nov 2023 14:30:54 +0100 Subject: [PATCH] Improve file generating prompt --- api-service/agent/smol_agent.py | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/api-service/agent/smol_agent.py b/api-service/agent/smol_agent.py index 2c062a687..13d2214be 100644 --- a/api-service/agent/smol_agent.py +++ b/api-service/agent/smol_agent.py @@ -353,7 +353,21 @@ async def initialize_playground(): only list the filepaths you would write, and return them as a python list of strings. do not add any other explanation, only return a python list of strings. - """, + +Bad response: +```python +[ + "index.html", + "css/style.css", +] +``` + +Good response: +[ + "index.html", + "css/style.css", +] +""", user_prompt, )