Skip to content

Examples and guides for using the OpenAI API

Fix function description (#626)

Shantanu Nair8e6e058c6a1e
diff --git a/examples/How_to_call_functions_with_chat_models.ipynb b/examples/How_to_call_functions_with_chat_models.ipynb
index b434fcad..a368f033 100644
--- a/examples/How_to_call_functions_with_chat_models.ipynb
+++ b/examples/How_to_call_functions_with_chat_models.ipynb
@@ -595,7 +595,7 @@
"functions = [\n",
" {\n",
" \"name\": \"ask_database\",\n",
- " \"description\": \"Use this function to answer user questions about music. Output should be a fully formed SQL query.\",\n",
+ " \"description\": \"Use this function to answer user questions about music. Input should be a fully formed SQL query.\",\n",
" \"parameters\": {\n",
" \"type\": \"object\",\n",
" \"properties\": {\n",