Programming: Everyday Decision-Making Algorithms
Kühne Logistics University Hamburg - Winter 2024
How do
Large Language
Models work?
Photo by Taylor Vick on Unsplash
Tip
Currently, Cursor is my favorite one. But this might change in the future, as there is a lot of competition in this space.
.py
files.py
fileCtrl + L
to open the chatTask: Paste the following prompt in to the chat:
Can you please write me a small random number guessing game in python? It should work for one player in the terminal. The player should guess a number between 1-10 and get hints about whether his guess was too large or too small. After 3 tries, end the game if he didn’t succeed with a nice message.
Copy the generated code and paste it into your file.
Note
And that’s it for the introduction to AI!
You now have the basic knowledge to start working with AI!.
Tutorial V.I - Programming with AI | Dr. Tobias Vlćek | Home