From 641e401ba857e7f6f895b54fbb02c0560d2283a5 Mon Sep 17 00:00:00 2001 From: Perry Lee Date: Mon, 4 Dec 2023 12:03:47 -0800 Subject: [PATCH] Shorten wget commands (#14211) - **Description:** The commands can be more efficient if the output name is set to the destined filename instead of renaming in the second command. --- docs/docs/integrations/toolkits/openapi.ipynb | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/docs/docs/integrations/toolkits/openapi.ipynb b/docs/docs/integrations/toolkits/openapi.ipynb index fa7e5e9830..3460495be8 100644 --- a/docs/docs/integrations/toolkits/openapi.ipynb +++ b/docs/docs/integrations/toolkits/openapi.ipynb @@ -93,12 +93,9 @@ } ], "source": [ - "!wget https://raw.githubusercontent.com/openai/openai-openapi/master/openapi.yaml\n", - "!mv openapi.yaml openai_openapi.yaml\n", - "!wget https://www.klarna.com/us/shopping/public/openai/v0/api-docs\n", - "!mv api-docs klarna_openapi.yaml\n", - "!wget https://raw.githubusercontent.com/APIs-guru/openapi-directory/main/APIs/spotify.com/1.0.0/openapi.yaml\n", - "!mv openapi.yaml spotify_openapi.yaml" + "!wget https://raw.githubusercontent.com/openai/openai-openapi/master/openapi.yaml -O openai_openapi.yaml\n", + "!wget https://www.klarna.com/us/shopping/public/openai/v0/api-docs -O klarna_openapi.yaml\n", + "!wget https://raw.githubusercontent.com/APIs-guru/openapi-directory/main/APIs/spotify.com/1.0.0/openapi.yaml -O spotify_openapi.yaml" ] }, {