diff --git a/docs/src/docs/utilities/openai.ipynb b/docs/src/docs/utilities/openai.ipynb index ad9687fd3..0916e0e71 100644 --- a/docs/src/docs/utilities/openai.ipynb +++ b/docs/src/docs/utilities/openai.ipynb @@ -89,7 +89,7 @@ "# Define a smart, public model.\n", "smart_pirate = gpt3(messages=[pirate_system_message])\n", "\n", - "smart_pirate.create([{\"role\": \"user\", \"content\": \"Hello!\"}])" + "smart_pirate.create(messages=[{\"role\": \"user\", \"content\": \"Hello!\"}])" ] }, {