Extract Prompt template from a Prompt

Hello people, I'm looking for any tools that has API support that can separate the prompt template from the actual prompt
For example
"You are a customer feedback analyzer for Amazon, give me the customer satisfaction level for the product or any issues in the product.
The product is good for the money, good quality"
Here in the above the template example might be
"System Prompt : You are a customer feedback analyzer for {company_name}, give me the customer satisfaction level for the product or any issues in the product.
User prompt : {{feedback}}
company_name : Amazon
feedback : Product is good for the money, good quality
The above prompt is just a example, I know the prompt is not good but I hope you all get the idea.
I was just looking if there is a way to template the prompt from a given prompt?

Leave a Reply