Google’s “Prompt Engineering” White Paper (PDF File) – AI Tutorial Materials
A super detailed prompt learning guide shared by Lee Boonstra, a developer from abroad, which is worth reading for everyone.
This article provides a detailed introduction to how to effectively interact with large models through Prompt Engineering and how to write prompts to obtain the desired output.
It includes an introduction to the output configuration of the large model, such as output length, sampling control, temperature value, and the selection of Top-K and Top-P.
It simultaneously covers various prompt technologies, including general prompts, context prompts, role prompts, Chain-of-Thought (CoT), Tree-of-Thought (ToT), and so on.
And provide relevant code examples and clear comments to help everyone better understand and practice.
PDF document address: Web link