Question 1 of 5

What makes up a request to an LLM application?

A short question exceeds the model limit because the application also sends instructions, history and retrieved documents.

First you write “Parcel 83 is late”, then ask “Where is it now?” If the app sends only the second message, “it” points to no particular parcel. Add the first message and read the request again. The model now has a parcel number, but it still needs the carrier’s data to report its location.

WHERE TO START

What will the model see if you send only the last message on the next call?

What to know before this question
Topic example · What goes into a request

Insert a message before the last one. What will the loop print?

messages = ["Hello", "Remember ticket 17"]
for message in messages:
    print(message)
Line notes
  1. Keep the text of two messages in order.
  2. Visit each message we plan to send.
  3. Display the current message.

How would you rate your understanding?

This is your self-assessment. Progress is saved in this browser.

Not rated yet

← Back to Your first AI application