Skip to article frontmatterSkip to article content

Prompting language models

Authors
Affiliations
Leipzig University
Helmholtz Center for Environmental Research - UFZ

In this notebook we will send basic prompts to ChatGPT and receive answers.

Which countries are in central Europe?
Loading...

A comment on reproducibility

Note that prompt responses may not be very reproducible. You can execute the same prompt twice and receive different responses.

Which countries are in central Europe?
Loading...

Precise results

As you can see, the language model has to speculate a bit because we haven’t defined precisely, what region we refer to. The more precise our prompt is, the more precise (and reproducible) will results be.

Which countries are part of the Schengen region in 2024?
Loading...
Which countries are part of the Schengen region in 2024?
Loading...

Exercise

Continue asking questions about well-known facts such as continents and countries. Afterwards, ask philosophical questions such as for the meaning of life.