Simple typo fix in openapi agent toolkit (#2502)

Just typo fix
This commit is contained in:
Rostyslav Kinash 2023-04-06 19:44:26 +03:00 committed by GitHub
parent 26314d7004
commit 3acf423de0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,7 +45,7 @@ API_PLANNER_TOOL_DESCRIPTION = f"Can be used to generate the right API calls to
# Execution. # 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. 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: Here is documentation on the API: