Talking to Large Language Models
As large language models have become increasingly popular, an emerging field in machine learning and artificial intelligence is one that attempts to improve the performance of large language models at inference time through prompt engineering. Prompt engineering is the process of strategically formulating input prompts to effectively guide a large language model to generate the output you want. Large language models are great at understanding text, but they need specific instructions to carry out a task.
One of the most popular prompt engineering techniques is chain-of-thought prompting. Chain-of-thought prompting involves prompting a large language model to break a problem into subtasks and chain them together ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access