The correct constructor uses 'template' for the prompt text and 'input_variables' for placeholders.
Step 2: Check each option
Only PromptTemplate(template="Hello {name}", input_variables=["name"]) uses 'template' and 'input_variables' correctly; others use wrong parameter names.
Final Answer:
PromptTemplate(template="Hello {name}", input_variables=["name"]) -> Option D