Can I use a variable value automatically from user dialogue ? #793

Closed
opened 2026-02-21 17:28:27 -05:00 by yindo · 2 comments
Owner

Originally created by @jingyuan2017 on GitHub (Dec 8, 2023).

Provide a description of requested docs changes

I am using API tools, and I have created two variables in my agent. However, I need to ask the user to fill in these two variables before the dialogue starts in order for them to have data. If the user doesn't fill them, empty values will be passed.

Is it possible to automatically extract variable values from the dialogue content and make API requests?

Thanks !

Originally created by @jingyuan2017 on GitHub (Dec 8, 2023). ### Provide a description of requested docs changes I am using API tools, and I have created two variables in my agent. However, I need to ask the user to fill in these two variables before the dialogue starts in order for them to have data. If the user doesn't fill them, empty values will be passed. Is it possible to automatically extract variable values from the dialogue content and make API requests? Thanks !
yindo closed this issue 2026-02-21 17:28:27 -05:00
Author
Owner

@crazywoola commented on GitHub (Dec 8, 2023):

The variables are meant to be input by users or agents, so it should be done in a workflow rather than put them into one agent. We are working on the agent flow at this moment.

@crazywoola commented on GitHub (Dec 8, 2023): The variables are meant to be input by users or agents, so it should be done in a workflow rather than put them into one agent. We are working on the agent flow at this moment.
Author
Owner

@octopuslabs-fl commented on GitHub (Apr 29, 2024):

@crazywoola, is there any documentation of how to use the agent variables in a workflow? I would like to understand how they are used inside the prompt.
Thank you

@octopuslabs-fl commented on GitHub (Apr 29, 2024): @crazywoola, is there any documentation of how to use the agent variables in a workflow? I would like to understand how they are used inside the prompt. Thank you
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#793