Prompt Engineering

1 Guideline

Prompt Engineering_第1张图片

Principles:

  1. Write clear and specific instructions
    Don’t confuse writing a clear prompt with writing a short prompt, because in many cases, longer prompts actually provide more clarity and context for the model, which can actually lead to more detailed and relevant outputs.

Prompt Engineering_第2张图片
2. Give the model time to think.

Prompt Engineering_第3张图片

Prompt Engineering_第4张图片

2 Iterative

Prompt Engineering_第5张图片

Prompt Engineering_第6张图片

你可能感兴趣的:(Python机器学习基础教程,prompt,人工智能)