async def METHOD_NAME(self, payload: dict, in_edge=None) -> Result:
    dot = self._get_dot_accessor(payload)
    first_string = dot[self.config.first_string]
    second_string = dot[self.config.second_string]
    algorithm = self.config.algorithm
    return Result(port='payload', value={
        "similarity": search_similarity(algorithm, first_string, second_string)
    })