Skip to content

Examples and guides for using the OpenAI API

Fixed JSON formatting bug in arxiv_functions (#562)

aalmaksour82a74a7a794092
diff --git a/examples/How_to_call_functions_for_knowledge_retrieval.ipynb b/examples/How_to_call_functions_for_knowledge_retrieval.ipynb
index 48125e49..bfa7fb5a 100644
--- a/examples/How_to_call_functions_for_knowledge_retrieval.ipynb
+++ b/examples/How_to_call_functions_for_knowledge_retrieval.ipynb
@@ -596,6 +596,8 @@
" },\n",
" \"required\": [\"query\"],\n",
" },\n",
+ " },\n",
+ " {\n",
" \"name\": \"read_article_and_summarize\",\n",
" \"description\": \"\"\"Use this function to read whole papers and provide a summary for users.\n",
" You should NEVER call this function before get_articles has been called in the conversation.\"\"\",\n",