C1M2_Assignment - Errors on Submit

@DLAl1

Your codes in all missing the important instruction string object

although you mention prompt for exercise 1 but didn’t elaborate about how to write the essay topic.

Also remember the instruction just before grade function cell clearly mentions topic is a string object, compare how the model implements the str object to get response from llm in the same exercise.

similar mistakes have been done in exercise 2 and 3, but here you did add the prompt instructions, but remember all the 3 exercise prompt instruction needs to be written using f-string.

In the subsequent exercise 2 and 3 where it mentions draft(exercise 2) and original draft and reflection which is the feedback needs to string object, something like

For example

prompt =f”"" Write a detail essay topic regarding how i spent my holiday in the year end 2025.
The draft need to have a proper introduction, description and summary.

topic:
{topic}
"""

I also read your exercise 2 and 3 prompt instruction, I would suggest you to improvise them using the Requirements pointers given just before the exercise.

Do these corrections, you should be able to pass the assignment. In all 3 exercises the major points you are missing is you need to include input and output for exercise 1;, and for exercise 2 and 3 input, output and requirements instructions mentioned under exercise headers.

Good Luck! let me know if you need any further help.

Regards

DP