Skip to content

Commit

Permalink
Fix typo in docstring of format_tool_to_openai_function (#6479)
Browse files Browse the repository at this point in the history
Fixes typo "open AI" to "OpenAI" in docstring of
`format_tool_to_openai_function` in
`langchain/tools/convert_to_openai.py`.
  • Loading branch information
northern-64bit authored Jun 21, 2023
1 parent b3c49e9 commit 7492060
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion langchain/tools/convert_to_openai.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

1 comment on commit 7492060

@vercel
Copy link

@vercel vercel bot commented on 7492060 Jun 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

langchain – ./

langchain-git-master-langchain.vercel.app
python.langchain.com
langchain-langchain.vercel.app

Please sign in to comment.