Prompt Engineering Best Practices: Text Expansion

Prompt Engineering for Instruction-Tuned LLMs

Youssef Hosni
Towards AI
Published in
8 min readMar 26, 2024

--

Text expansion is the task of taking a shorter piece of text, such as a set of instructions or a list of topics, and having the large language model generate a longer piece of text, such as an email or an essay about some topic.

There are some great uses of this, such as if you use a large language model as a brainstorming partner. However, there are also some problematic use cases of this, such as if someone were to use it, they generate a…

--

--