Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I save global variables using Promptflow #3198

Open
dobahoang opened this issue May 10, 2024 · 2 comments
Open

How can I save global variables using Promptflow #3198

dobahoang opened this issue May 10, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request no-recent-activity There has been no recent activity on this issue/pull request

Comments

@dobahoang
Copy link

dobahoang commented May 10, 2024

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?

@dobahoang dobahoang added the enhancement New feature or request label May 10, 2024
@D-W- D-W- self-assigned this May 11, 2024
@D-W-
Copy link
Contributor

D-W- commented May 11, 2024

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.

Copy link

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!

@github-actions github-actions bot added the no-recent-activity There has been no recent activity on this issue/pull request label Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request no-recent-activity There has been no recent activity on this issue/pull request
Projects
None yet
Development

No branches or pull requests

2 participants