Prompts are often constructed using prompt templates. A prompt template contains 1 or more variables that are filled in with specific values to create a prompt. For example, a prompt template for sentiment analysis might be "Classify this tweet as positive or negative: [TWEET]". The variable [TWEET]
is filled in with the content of a tweet to create a prompt. Note that templates are not limited to text.
Valeriia Kuka, Head of Content at Learn Prompting, is passionate about making AI and ML accessible. Valeriia previously grew a 60K+ follower AI-focused social media account, earning reposts from Stanford NLP, Amazon Research, Hugging Face, and AI researchers. She has also worked with AI/ML newsletters and global communities with 100K+ members and authored clear and concise explainers and historical articles.
Shin, T., Razeghi, Y., Logan IV, R. L., Wallace, E., & Singh, S. (2020). Autoprompt: Eliciting knowledge from language models with automatically generated prompts. arXiv Preprint arXiv:2010.15980. β©