Skip to main content

Posts

Showing posts from July, 2024

Open AI ChatGPT Prompt Engineering

 Open AI ChatGPT Prompt Engineering source: https://www.udemy.com/course/ultimate-chatgpt-course-for-beginners Temperature Temperature controls the randomness of the AI's response and the temperature range goes from 0 to 2. The higher, the more random your response is going to be. So if you set a high temperature like 1.8, your AI is going to become really wild and throw some unexpected and creative outputs out there. But if you go for a lower temperature setting of maybe 0.2, it's going to play more safe and sticking to the most likely responses. Remember, going back to the previous video in the course, when it comes to understanding how ChatGPT actually works, it's based on predicting what the next word is going to be. So higher temperatures means it gets more creative in predicting the next word. Let's take a look at this in action. So I've opened up a new chat. I'm going to tell ChatGPT use temperature 0.2 in our conversation. And you can see, of co