How provide a prompt dynamically

I have been using extract document data activity in generic extractor type where we need to input some prompts! Can anyone help me on how to pass these prompts dynamically by user input and then extract that field in the document provided as input!
I have tried assigning a variable with prompt question and using it as generative prompt but it is considering the variable also as stringimage

@Kancharla_Mahija

Try to pass the dictionary directly if it allows instead of using this ui

Cheers

No, we are not able to pass it like that! through UI only we are able to pass the prompts