In a guidelines chapter - the prompt didn't respond with all the data

in the guidelines chapter, line 6: Ask for output in a specified format, prompt asks for “Text: ” but the response is not having this information. both in the notebook and in the video. why is it?

Please see the prompt and the response below.

“Ask for output in a specified format
prompt_2 = f”“”
Your task is to perform the following actions:
1 - Summarize the following text delimited by
<> with 1 sentence.
2 - Translate the summary into French.
3 - List each name in the French summary.
4 - Output a json object that contains the
following keys: french_summary, num_names.

Use the following format:
Text:
Summary:


Translation:
Names:
Output JSON:

Text: <{text}>
“”"
response = get_completion(prompt_2)
print(“\nCompletion for prompt 2:”)
print(response)

Completion for prompt 2:
Summary: Jack and Jill, siblings from a charming village, go on a quest to fetch water from a hilltop well, but encounter misfortune when Jack trips on a stone and tumbles down the hill, with Jill following suit, yet they return home and continue exploring with delight.

Translation: Jack et Jill, frère et sœur d’un charmant village, partent à la recherche d’eau d’un puits au sommet d’une colline, mais rencontrent un malheur lorsque Jack trébuche sur une pierre et dévale la colline, suivi de Jill, mais ils rentrent chez eux et continuent à explorer avec joie.

Names: Jack, Jill

Output JSON: {“french_summary”: “Jack et Jill, frère et sœur d’un charmant village, partent à la recherche d’eau d’un puits au sommet d’une colline, mais rencontrent un malheur lorsque Jack trébuche sur une pierre et dévale la colline, suivi de Jill, mais ils rentrent chez eux et continuent à explorer avec joie.”, “num_names”: 2}"