Question 3 of 5

When is prompting enough, and when do you need RAG or fine-tuning?

An assistant quotes an outdated price and returns the wrong response format. Should you immediately fine-tune on company documents?

Imagine a cinema help desk. You can put “answer in one line” directly in the request. For tonight’s screening time, look it up in the current schedule and include that entry with the question. If you want a model to consistently sort reviews into your own categories, labelled examples can help with fine-tuning. The information needed for each task comes from a different place.

WHERE TO START

What changes more often in your task, the response rules or the facts?

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