Prompt Engineering
When assigning a task to a language model (LLM), providing clear, specific instructions yields better results. Here are some effective ways to be specific:
1. Provide a role: For example, say, "You are a scientist who studies dark matter."
2. Define the audience: For instance, specify, "…for an audience of second graders."
3. Specify the tone: Indicate, "In a scholarly tone,…"
4. Indicate the format: For example, you can say, "In five bullet points,…"
Using these strategies can help improve the quality of the output.