I need a sample code or process which will help us to dynamically select the prompt template

SandipCoder
New Contributor II

We need a sample code or process which will help us to dynamically select the prompt template based on the prompt given as an input through the model legacy serving endpoint

Sandip Bhowmick