(self, question: str)
| 28 | self.conversations.append(conversation) |
| 29 | |
| 30 | def addQuestion(self, question: str): |
| 31 | conversation = {"question": question} |
| 32 | self.conversations.append(conversation) |
| 33 | |
| 34 | def addAnswer(self, answer: str): |
| 35 | self.conversations[-1]["answer"] = answer |