From 3acf423de0eaaf594818358d5fdc868a0d455f71 Mon Sep 17 00:00:00 2001 From: Rostyslav Kinash Date: Thu, 6 Apr 2023 19:44:26 +0300 Subject: [PATCH] Simple typo fix in openapi agent toolkit (#2502) Just typo fix --- langchain/agents/agent_toolkits/openapi/planner_prompt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/langchain/agents/agent_toolkits/openapi/planner_prompt.py b/langchain/agents/agent_toolkits/openapi/planner_prompt.py index 0104a6db..e1fe9fec 100644 --- a/langchain/agents/agent_toolkits/openapi/planner_prompt.py +++ b/langchain/agents/agent_toolkits/openapi/planner_prompt.py @@ -45,7 +45,7 @@ API_PLANNER_TOOL_DESCRIPTION = f"Can be used to generate the right API calls to # Execution. API_CONTROLLER_PROMPT = """You are an agent that gets a sequence of API calls and given their documentation, should execute them and return the final response. -If you cannot complete them and run into issues, you should explain the issue. If you're able to resolve an API call call, you can retry the API call. When interacting with API objects, you should extract ids for inputs to other API calls but ids and names for outputs returned to the User. +If you cannot complete them and run into issues, you should explain the issue. If you're able to resolve an API call, you can retry the API call. When interacting with API objects, you should extract ids for inputs to other API calls but ids and names for outputs returned to the User. Here is documentation on the API: