Examples and guides for using the OpenAI API
Fix ask_database in call functions with chat model example
Piaoyang Cui9079129d7b4a
diff --git a/examples/How_to_call_functions_with_chat_models.ipynb b/examples/How_to_call_functions_with_chat_models.ipynbindex a80f6e14..e50977a0 100644--- a/examples/How_to_call_functions_with_chat_models.ipynb+++ b/examples/How_to_call_functions_with_chat_models.ipynb@@ -428,7 +428,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",