From f69d236a4afc0ca58a33f8d387f9bbcced905f1f Mon Sep 17 00:00:00 2001 From: Fredrik Gullberg Date: Tue, 29 Aug 2023 23:53:00 +0200 Subject: [PATCH] docs: Fix spelling mistakes in apis.ipynb (#9911) - Description: Fix spelling mistakes in apis.ipynb - Issue: [#9910](https://github.com/langchain-ai/langchain/issues/9910) Co-authored-by: Fredrik Gullberg --- docs/extras/use_cases/apis.ipynb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/extras/use_cases/apis.ipynb b/docs/extras/use_cases/apis.ipynb index 31d0119919..728eb4e92e 100644 --- a/docs/extras/use_cases/apis.ipynb +++ b/docs/extras/use_cases/apis.ipynb @@ -145,7 +145,7 @@ "source": [ "## Functions \n", "\n", - "We can unpack what is hapening when we use the functions to calls external APIs.\n", + "We can unpack what is happening when we use the functions to call external APIs.\n", "\n", "Let's look at the [LangSmith trace](https://smith.langchain.com/public/76a58b85-193f-4eb7-ba40-747f0d5dd56e/r):\n", "\n", @@ -155,10 +155,10 @@ "https://www.klarna.com/us/shopping/public/openai/v0/api-docs/\n", "```\n", "\n", - "* The prompt then tells the LLM to use the API spec wiith input question:\n", + "* The prompt then tells the LLM to use the API spec with input question:\n", "\n", "```\n", - "Use the provided API's to respond to this user query:\n", + "Use the provided APIs to respond to this user query:\n", "What are some options for a men's large blue button down shirt\n", "```\n", "\n", @@ -278,7 +278,7 @@ "![Image description](/img/api_chain.png)\n", "\n", "* [Here](https://github.com/langchain-ai/langchain/blob/bbd22b9b761389a5e40fc45b0570e1830aabb707/libs/langchain/langchain/chains/api/base.py#L82) we make the API request with the API url.\n", - "* The `api_answer_chain` takes the response from the API and provides us with a natural langugae response:\n", + "* The `api_answer_chain` takes the response from the API and provides us with a natural language response:\n", "\n", "![Image description](/img/api_chain_response.png)" ]