From the course: How to Use AI Reasoning Models: Practical Applications with Hands-On Exercises

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Best practices for prompt engineering with o-series

Best practices for prompt engineering with o-series

- [Narrator] Want to get the best results from the O-Series models? Here are six key prompting techniques to maximize their performance. The first one is to give clear, concise, and direct instructions to keep the model focused. The second one, avoid explicit chain-of-thought instruction. They can reduce efficiency. Now, let's try to understand this with an example. The example shown here uses a chain-of-thought prompting technique accompanied along with the initial instruction. This instruction prompts the model to generate a function that outputs the ticker symbols for all the companies in the S&P500, and it's followed by a chain of thought to think step by step identifying all companies, creating functions, and looping through each company. Using chain of thought can produce overly verbose and inefficient outputs, which can be costly, especially when using the reasoning model as they are expensive in nature. Without chain of thought, the output is more concise and to the point…

Contents