How can I save global variables using Promptflow
How can I save global variables using PromptFlow? Currently, I can only see the variable "chat_history".
Before calling the API, I need to collect some information such as the user's name, address, and phone number. Each time a user answers a question, the corresponding information is stored in a variable.
On the next pass, I want the chatbot to check the previous values the user has provided before deciding to call the API or ask the user for missing parameters. However, I have not found any documentation mentioning this.
Does anyone have any advice or suggestions for me?
Hi @dobahoang , currently we don't support storing variables as intermediate data between flow runs. But for chat history, we'll add a doc on our recommended way to save/load it. I'll update here once the PR's out.
Hi, we're sending this friendly reminder because we haven't heard back from you in 30 days. We need more information about this issue to help address it. Please be sure to give us your input. If we don't hear back from you within 7 days of this comment, the issue will be automatically closed. Thank you!