How to save the prompt #1058
Answered
by
gventuri
junle-chen
asked this question in
Q&A
-
How to save the prompt in pandasai. For example, I want him to not need to sort when grouping queries. I can pre-define the prompt so that the next time I open a new session, I don't need to add a prompt. He can not sort by default when grouping and sorting to improve efficiency. |
Beta Was this translation helpful? Give feedback.
Answered by
gventuri
Mar 25, 2024
Replies: 1 comment
-
@HITjunle the prompt is a string, so you can save as part of your code and just pass it to the SmartDataframe or the Agent. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
junle-chen
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@HITjunle the prompt is a string, so you can save as part of your code and just pass it to the SmartDataframe or the Agent.
I'm not 100% I understand your need, but if the prompt is static, you can just save it in your python file.