diff --git a/examples/How_to_call_functions_with_chat_models.ipynb b/examples/How_to_call_functions_with_chat_models.ipynb index 3f6baba..ea4f567 100644 --- a/examples/How_to_call_functions_with_chat_models.ipynb +++ b/examples/How_to_call_functions_with_chat_models.ipynb @@ -81,7 +81,7 @@ "metadata": {}, "outputs": [], "source": [ - "@retry(wait=wait_random_exponential(min=1, max=40), stop=stop_after_attempt(3))\n", + "@retry(wait=wait_random_exponential(multiplier=1, max=40), stop=stop_after_attempt(3))\n", "def chat_completion_request(messages, functions=None, function_call=None, model=GPT_MODEL):\n", " headers = {\n", " \"Content-Type\": \"application/json\",\n",