Renames transcribe_summarise to get text summary

This commit is contained in:
Torantulino
2023-03-30 10:06:31 +01:00
parent d5a5e41640
commit 028d301678
2 changed files with 3 additions and 4 deletions

View File

@@ -48,8 +48,8 @@ def execute_command(command_name, arguments):
return navigate_website(arguments["action"], arguments["username"])
elif command_name == "register_account":
return register_account(arguments["username"], arguments["website"])
elif command_name == "transcribe_summarise":
return transcribe_summarise(arguments["url"])
elif command_name == "get_text_summary":
return get_text_summary(arguments["url"])
else:
return f"unknown command {command_name}"
# All other errors, return "Error: + error message"

View File

@@ -16,8 +16,7 @@ COMMANDS:
9. List GPT Agents: "list_agents", args: ""
10. Delete GPT Agent: "delete_agent", args: "key": "<key>"
9. Navigate & Perform: "navigate_website", args: "action": "click_button/input_text/register_account", "text/username": "<text>/<username>"
10.Register account: "register_account", args: "username": "<username>", "website": "<website>"
11.Transcribe & Summarise: "transcribe_summarise", args: "url": "<url>"
11. Get Text Summary: "get_text_summary", args: "url": "<url>"
RESOURCES: