diff --git a/step01_llm_app_dev/L1-Model_promt_parser.ipynb b/step01_llm_app_dev/L1-Model_promt_parser.ipynb index af9fc9e9..3f497efe 100644 --- a/step01_llm_app_dev/L1-Model_promt_parser.ipynb +++ b/step01_llm_app_dev/L1-Model_promt_parser.ipynb @@ -60,7 +60,7 @@ "\n", " # https://platform.openai.com/docs/guides/gpt/chat-completions-api\n", " # https://cookbook.openai.com/examples/how_to_format_inputs_to_chatgpt_models#2-an-example-chat-api-call\n", - " response: Iterator = openai.ChatCompletion.create(\n", + " response: Iterator = openai.chat.completions.create(\n", " model=model,\n", " messages=messages,\n", " temperature=0, \n",