From 7f17af85ccae24e37e405fa3b8642b7c4c9f36ad Mon Sep 17 00:00:00 2001 From: ArslanSaleem Date: Sat, 23 Sep 2023 01:39:27 +0500 Subject: [PATCH] fix: prompt comment --- pandasai/prompts/explain_prompt.py | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/pandasai/prompts/explain_prompt.py b/pandasai/prompts/explain_prompt.py index 25a4f7043..eaf5b909d 100644 --- a/pandasai/prompts/explain_prompt.py +++ b/pandasai/prompts/explain_prompt.py @@ -1,10 +1,20 @@ """ Prompt to explain solution generated -Based on the last conversation you generated the code. -Can you explain briefly for non technical person on how you came up with code -without explaining pandas library? -""" +The previous conversation we had + + +{conversation} + +Based on the last conversation you generated the following code: + +{code} +