From the course: Prompt Engineering: How to Talk to the AIs

Unlock the full course today

Join today to access over 23,200 courses taught by industry experts.

Advanced prompt examples

Advanced prompt examples

- Okay, so now that we have set the foundation for how to create prompts with a basic component, it is time to get a bit more creative and also dive into some of the problems with generative AI and how to mitigate them. But before we begin with the more advanced examples, you should keep in mind that the modeled response is stochastic, meaning that it's randomly determined and therefore will be different every time you present the same prompt. Now sometimes this randomness is something that you're looking for. Now, in other cases though, you want to get as close as possible to a factually correct response. And that response should not change much if you call the model several times. Models have some parameters you can tweak to reduce their creativity, particularly the so-called temperature which you should reduce to decrease model variability. However those parameters alone will not solve all your problems.…

Contents