From 74920605252dc593603fd46897a7a65631f9108e Mon Sep 17 00:00:00 2001 From: northern-64bit <75195383+northern-64bit@users.noreply.github.com> Date: Wed, 21 Jun 2023 03:42:30 +0200 Subject: [PATCH] Fix typo in docstring of format_tool_to_openai_function (#6479) Fixes typo "open AI" to "OpenAI" in docstring of `format_tool_to_openai_function` in `langchain/tools/convert_to_openai.py`. --- langchain/tools/convert_to_openai.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/langchain/tools/convert_to_openai.py b/langchain/tools/convert_to_openai.py index d780e8ab..82c0a47f 100644 --- a/langchain/tools/convert_to_openai.py +++ b/langchain/tools/convert_to_openai.py @@ -15,7 +15,7 @@ class FunctionDescription(TypedDict): def format_tool_to_openai_function(tool: BaseTool) -> FunctionDescription: - """Format tool into the open AI function API.""" + """Format tool into the OpenAI function API.""" if isinstance(tool, StructuredTool): schema_ = tool.args_schema.schema() # Bug with required missing for structured tools.