Skip to content

Commit

Permalink
Shorten wget commands (langchain-ai#14211)
Browse files Browse the repository at this point in the history
- **Description:** The commands can be more efficient if the output name
is set to the destined filename instead of renaming in the second
command.
  • Loading branch information
Perry Lee authored and aymeric-roucher committed Dec 11, 2023
1 parent b6b5ceb commit 3e122f9
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions docs/docs/integrations/toolkits/openapi.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
},
{
Expand Down

0 comments on commit 3e122f9

Please sign in to comment.