text: = ""        self.stop = False        self.stopping_probability = stopping_probability        self.termination_clause = "Finish the conversation by stating a concluding message and thanking everyone."        self.continuation_clause = "Do not end the conversation. Keep the conversation going by adding your own ideas."        # 1. have a prompt for generating a response to the previous speaker        self.response_prompt_template = PromptTemplate(            input_variables=["message_history", "termination_clause"],            template=f"""{{message_history}}Follow up with an insightful comment.{{termination_clause}}{self.prefix}        """,        )        # 2. have a prompt for deciding who to speak next        self.choice_parser = IntegerOutputParser(            regex=r"<(\d+)>", output_keys=["choice"], default_output_key="choice"        )        self.choose_next_speaker_prompt_template = PromptTemplate(            input_variables=["message_history", "speaker_names"],            template=f"""{{message_history}}Given the above conversation, select the next speaker by choosing index next to their name: {{speaker_names}}{self.choice_parser.get_format_instructions()}Do nothing else.        """,        )        # 3. have a prompt for prompting the next speaker to speak