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}
+