<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def vectorize_dialogues(self, dialogues):
 """ Take in a list of dialogues and vectorize them all """

        return np.array([self.vectorize_dialogue(d) for d in dialogues])