    def chat(self, user, history, question):
        facts = self.passages(question)
        return self.call(
            "chat", user, facts, history, question)

    def order_status(self, user, order_id):
        facts = "Order record:\n" + ORDERS[order_id][0]
        ask = f"What is the status of order {order_id}?"
        return self.call(
            "order_status", user, facts, [], ask)

    def draft_reply(self, user, message):
        facts = self.passages(message)
        ask = "Draft a reply to this message: " + message
        text = self.call(
            "draft_reply", user, facts, [], ask)
        sign = "Kind regards,\nHarbour Support"
        return f"Hello,\n\n{text}\n\n{sign}"
