-
Book Overview & Buying
-
Table Of Contents
Supercharged Coding with GenAI
By :
Before you proceed to the next chapter, make sure that you can confidently answer the following questions:
Question 1: What are the three factors that determine the quality of output of an LLM?
Answer: Model mastery, evaluation capabilities, and prompt precision. Model mastery means how much the LLM trained on this specific task, evaluation capabilities means how much we can assess the desirability of the outcome, and prompt precision means to what extent the prompt is crafted to tell the model what exactly we need.
Question 2: What are the best practices for a coding-related task prompt?
Answer: The best practices are the five S’s, structuring the prompt to accommodate supporting data such as code and steps, including surrounding context on the task, focusing on a single task per prompt, and keeping specific and short instructions.
Question 3: Which parts of a prompt can be reproducible?
Answer: When following the best practices of precise...