Use cases#

In this notebook we collect a few use-cases and not so useful use-cases for large language models.

Translate the following joke to German:

What is every parent's favorite Christmas song? Silent Night!

Was ist das Lieblingsweihnachtslied aller Eltern? Stille Nacht!

Information retrieval#

Large Language Models are well-suited for extracting information from text. Therefore, you need to:

  1. formulate your question

  2. provide data

  3. define the output format

Given a story, please restructure the contained data.

Story:
The compute center of the university recently conducted a study to figure 
out needs of students for computational resources. After interviewing 100 
students they concluded that most of them were happy with 250 GB of cloud
storage.

Restructure the story above to extract these numbers:
* Number of students asked:
* Cloud storage size:
  • Number of students asked: 100

  • Cloud storage size: 250 GB

Browsing for information#

If you are working with an LLM that cannot search the internet, it may not be able to answer certain questions.

How will be the wheather today? Will I need a jacket?

I’m unable to provide real-time weather updates. To find out if you’ll need a jacket today, I recommend checking a reliable weather website or app like the Weather Channel or using a voice-activated assistant for the latest forecast in your area.

Which day is today?

Today is October 28, 2023.

Providing more information#

If you provide more information, the LLMs results will fit better to your expectation.

Today is August 16th 2024. 
I'm in Central Europe and the sun is shining. 
Will I need a jacket today?

Given that today is August 16th, 2024, and you’re in Central Europe with the sun shining, it’s likely to be warm. However, whether you need a jacket depends on the specific temperature and your personal preference for warmth. Generally, August in Central Europe tends to be warm, so if the temperatures are typical for this time of year, you might not need a jacket during the day. It’s always a good idea to check the current temperature and forecast for a more specific recommendation.

Counting#

Many contemporary LLMs have issues with counting objects.

How many o are in Woolloomooloo ?

The word “Woolloomooloo” contains eight ‘o’s.

Other use-cases#

I have 5 apples, 6 oranges and 4 potatoes. How many fruits to I have?

I have 5 apples, 6 oranges and 4 potatoes. How many fruits to I have

Traveling from Aarhus to Copenhagen by care takes about 3.5 hours.
From Aarhus to Odense it takes 2 hours.

How long do I need from Copenhagen to Odense?

If traveling from Aarhus to Copenhagen takes about 3.5 hours and from Aarhus to Odense takes 2 hours, then the remaining time from Odense to Copenhagen would be the difference between the two trips:

3.5 hours (Aarhus to Copenhagen) - 2 hours (Aarhus to Odense) = 1.5 hours

Therefore, it would take about 1.5 hours to travel from Copenhagen to Odense by car.

Exercise#

Come up with two more examples: One where chatGPT works reproducibly, and one where it reproducibly answers wrong information or denies answering.