def METHOD_NAME(self):
    prompt = "Rephrase: Kairon is envisioned as a web based microservices driven suite that helps train Rasa contextual AI assistants at scale."
    gpt_response = {"error": {"message": "'100' is not of type 'integer' - 'max_tokens'", "type": "invalid_request_error", "param": None, "code": None} }
    responses.add(
        "POST",
        Utility.environment["plugins"]["gpt"]["url"],
        status=400, json=gpt_response,
        match=[responses.matchers.json_params_matcher(
            {'model': 'text-davinci-003', 'prompt': prompt, 'temperature': 0.7, 'max_tokens': 40})],
    )
    response = PluginFactory.get_instance(PluginTypes.gpt).execute(
        key="asdfghjkl",
        prompt=prompt
    )
    assert response == gpt_response