Skip to content

Commit

Permalink
fix: prompt comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ArslanSaleem committed Sep 22, 2023
1 parent b92fb39 commit 7f17af8
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions pandasai/prompts/explain_prompt.py
Original file line number Diff line number Diff line change
@@ -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>
{conversation}
</Conversation>
Based on the last conversation you generated the following code:
<Code>
{code}
</Code
Explain how you came up with code for non-technical people without
mentioning technical details or mentioning the libraries used?
"""
from .base import Prompt


Expand Down

0 comments on commit 7f17af8

Please sign in to comment.