<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def krai_from_raw(self, amount):
 """ Divide a raw amount down by the krai ratio. :param amount: Amount in raw to convert to krai :type amount: int :raises: :py:exc:`nano.rpc.RPCException` 1 """


        amount = self._process_value(amount, 'int')

        payload = {"amount": amount}

        resp = self.call('krai_from_raw', payload)

        return int(resp['amount'])