From 5018af883982b33c1fe208b6a932c575d738be30 Mon Sep 17 00:00:00 2001 From: millerick Date: Wed, 2 Aug 2023 16:48:01 -0700 Subject: [PATCH] docs: fix some grammar (#8654) ### Description Fixes a grammar issue I noticed when reading through the documentation. ### Maintainers @baskaryan Co-authored-by: mmillerick --- docs/docs_skeleton/docs/modules/agents/agent_types/index.mdx | 2 +- .../docs/modules/agents/agent_types/openai_functions_agent.mdx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs_skeleton/docs/modules/agents/agent_types/index.mdx b/docs/docs_skeleton/docs/modules/agents/agent_types/index.mdx index 42b6fa1373a..7327159eee8 100644 --- a/docs/docs_skeleton/docs/modules/agents/agent_types/index.mdx +++ b/docs/docs_skeleton/docs/modules/agents/agent_types/index.mdx @@ -28,7 +28,7 @@ navigating around a browser. ### [OpenAI Functions](/docs/modules/agents/agent_types/openai_functions_agent.html) Certain OpenAI models (like gpt-3.5-turbo-0613 and gpt-4-0613) have been explicitly fine-tuned to detect when a -function should to be called and respond with the inputs that should be passed to the function. +function should be called and respond with the inputs that should be passed to the function. The OpenAI Functions Agent is designed to work with these models. ### [Conversational](/docs/modules/agents/agent_types/chat_conversation_agent.html) diff --git a/docs/docs_skeleton/docs/modules/agents/agent_types/openai_functions_agent.mdx b/docs/docs_skeleton/docs/modules/agents/agent_types/openai_functions_agent.mdx index c47b93a6b34..2c7ae5670a5 100644 --- a/docs/docs_skeleton/docs/modules/agents/agent_types/openai_functions_agent.mdx +++ b/docs/docs_skeleton/docs/modules/agents/agent_types/openai_functions_agent.mdx @@ -1,6 +1,6 @@ # OpenAI functions -Certain OpenAI models (like gpt-3.5-turbo-0613 and gpt-4-0613) have been fine-tuned to detect when a function should to be called and respond with the inputs that should be passed to the function. +Certain OpenAI models (like gpt-3.5-turbo-0613 and gpt-4-0613) have been fine-tuned to detect when a function should be called and respond with the inputs that should be passed to the function. In an API call, you can describe functions and have the model intelligently choose to output a JSON object containing arguments to call those functions. The goal of the OpenAI Function APIs is to more reliably return valid and useful function calls than a generic text completion or chat API.