-
I am making an app using python sdk and was wondering if it is possible to show/hide some parameters based on a condition. Say there is a MultipleChoiceParam in my app and based on what the user selects, I want to show different sets of parameters. Is there any way to do that? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @kdesh2001 Right now we don't have this ability, but we are thinking about how we can implement it. One idea that we had is to create a Prompt type (just like a MultipleChoiceParam) that encapsulates all the logic for a prompt (for instance the force json checkbox would only be shown for the models that have this ability). Can you please provide mode details about your use case. That would be very helpful for us when designing the application. What are you building and what would these parameters be? |
Beta Was this translation helpful? Give feedback.
Hi @kdesh2001
Right now we don't have this ability, but we are thinking about how we can implement it. One idea that we had is to create a Prompt type (just like a MultipleChoiceParam) that encapsulates all the logic for a prompt (for instance the force json checkbox would only be shown for the models that have this ability).
Can you please provide mode details about your use case. That would be very helpful for us when designing the application. What are you building and what would these parameters be?