Skip to content

Examples and guides for using the OpenAI API

fix incorrect model name

joe-at-openai9943947cd99b
diff --git a/examples/How_to_call_functions_with_chat_models.ipynb b/examples/How_to_call_functions_with_chat_models.ipynb
index 3cbf98ab..c81e10de 100644
--- a/examples/How_to_call_functions_with_chat_models.ipynb
+++ b/examples/How_to_call_functions_with_chat_models.ipynb
@@ -513,7 +513,7 @@
"Your response should consist of ONLY the SQL query with the separator sql_start at the beginning and sql_end at the end\"\"\",\n",
" }\n",
" )\n",
- " response = chat_completion_request(messages, model=\"gpt-4-next\")\n",
+ " response = chat_completion_request(messages, model=\"gpt-4-0613\")\n",
"\n",
" # Retrying with the fixed SQL query. If it fails a second time we exit.\n",
" try:\n",
@@ -1354,9 +1354,9 @@
],
"metadata": {
"kernelspec": {
- "display_name": "tua",
+ "display_name": "Python 3 (ipykernel)",
"language": "python",
- "name": "tua"
+ "name": "python3"
},
"language_info": {
"codemirror_mode": {
@@ -1368,7 +1368,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
- "version": "3.10.11"
+ "version": "3.9.9"
}
},
"nbformat": 4,