NameError: name 'get_completion' is not defined

Hallo!
In the Tactic 3: Ask the model to check whether conditions are satisfied
I received the error above: NameError: name ‘get_completion’ is not defined
SOS
:smiling_face_with_tear:

be sure to execute the notebook cell in which that function is defined before executing a cell in which it is called.