From d682a45fa9f0194acc1e6b6155e00b1f8c23730c Mon Sep 17 00:00:00 2001 From: giuliapl Date: Thu, 13 Mar 2025 11:00:29 +0100 Subject: [PATCH] fix typo in function call description --- examples/data/oai_docs/function-calling.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/data/oai_docs/function-calling.txt b/examples/data/oai_docs/function-calling.txt index f58570b586..c79d011884 100644 --- a/examples/data/oai_docs/function-calling.txt +++ b/examples/data/oai_docs/function-calling.txt @@ -8,7 +8,7 @@ Learn how to connect large language models to external tools. In an API call, you can describe functions and have the model intelligently choose to output a JSON object containing arguments to call one or many functions. The Chat Completions API does not call the function; instead, the model generates JSON that you can use to call the function in your code. -The latest models (`gpt-4o`, `gpt-4-turbo`, and `gpt-3.5-turbo`) have been trained to both detect when a function should to be called (depending on the input) and to respond with JSON that adheres to the function signature more closely than previous models. With this capability also comes potential risks. We strongly recommend building in user confirmation flows before taking actions that impact the world on behalf of users (sending an email, posting something online, making a purchase, etc). +The latest models (`gpt-4o`, `gpt-4-turbo`, and `gpt-3.5-turbo`) have been trained to both detect when a function should be called (depending on the input) and to respond with JSON that adheres to the function signature more closely than previous models. With this capability also comes potential risks. We strongly recommend building in user confirmation flows before taking actions that impact the world on behalf of users (sending an email, posting something online, making a purchase, etc). This guide is focused on function calling with the Chat Completions API, for details