From 052c797429d7febb198638552066e4ca5d627345 Mon Sep 17 00:00:00 2001 From: Johnny Lim Date: Sun, 2 Jul 2023 16:17:30 +0900 Subject: [PATCH] Fix typo (#7023) This PR fixes a typo. --- docs/docs_skeleton/docs/get_started/quickstart.mdx | 2 +- langchain/document_loaders/url.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs_skeleton/docs/get_started/quickstart.mdx b/docs/docs_skeleton/docs/get_started/quickstart.mdx index 8250083adc..8af28aa297 100644 --- a/docs/docs_skeleton/docs/get_started/quickstart.mdx +++ b/docs/docs_skeleton/docs/get_started/quickstart.mdx @@ -138,7 +138,7 @@ The chains and agents we've looked at so far have been stateless, but for many a The Memory module gives you a way to maintain application state. The base Memory interface is simple: it lets you update state given the latest run inputs and outputs and it lets you modify (or contextualize) the next input using the stored state. -There are a number of built-in memory systems. The simplest of these are is a buffer memory which just prepends the last few inputs/outputs to the current input - we will use this in the example below. +There are a number of built-in memory systems. The simplest of these is a buffer memory which just prepends the last few inputs/outputs to the current input - we will use this in the example below. import MemoryLLM from "@snippets/get_started/quickstart/memory_llms.mdx" import MemoryChatModel from "@snippets/get_started/quickstart/memory_chat_models.mdx" diff --git a/langchain/document_loaders/url.py b/langchain/document_loaders/url.py index be14ed27c8..3007fe9954 100644 --- a/langchain/document_loaders/url.py +++ b/langchain/document_loaders/url.py @@ -117,7 +117,7 @@ class UnstructuredURLLoader(BaseLoader): elements = partition_html(url=url, **self.unstructured_kwargs) except Exception as e: if self.continue_on_failure: - logger.error(f"Error fetching or processing {url}, exeption: {e}") + logger.error(f"Error fetching or processing {url}, exception: {e}") continue else: raise e