Short Answer

Constructing a Multi-Variable Prompt Template

You are tasked with creating a prompt that asks a language model to write a brief comparison between two different programming languages. The prompt needs to be reusable for any pair of languages. Write a prompt template that includes distinct placeholders for the name of the first language and the name of the second language.

0

1

Updated 2025-09-28

Contributors are:

Who are from:

Tags

Ch.3 Prompting - Foundations of Large Language Models

Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences

Application in Bloom's Taxonomy

Cognitive Psychology

Psychology

Social Science

Empirical Science

Science