This PR fixes a typo.
This commit is contained in:
Johnny Lim 2023-07-02 16:17:30 +09:00 committed by GitHub
parent dc2264619a
commit 052c797429
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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. 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 MemoryLLM from "@snippets/get_started/quickstart/memory_llms.mdx"
import MemoryChatModel from "@snippets/get_started/quickstart/memory_chat_models.mdx" import MemoryChatModel from "@snippets/get_started/quickstart/memory_chat_models.mdx"

View File

@ -117,7 +117,7 @@ class UnstructuredURLLoader(BaseLoader):
elements = partition_html(url=url, **self.unstructured_kwargs) elements = partition_html(url=url, **self.unstructured_kwargs)
except Exception as e: except Exception as e:
if self.continue_on_failure: 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 continue
else: else:
raise e raise e