From 429ab8bef6a6b55343a28f51f634d7bdb25fcf49 Mon Sep 17 00:00:00 2001 From: Li Jiang Date: Thu, 7 Dec 2023 22:03:07 +0800 Subject: [PATCH 1/2] Add a comment to explain the role of UNSTRUCTURED_FORMATS --- autogen/retrieve_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autogen/retrieve_utils.py b/autogen/retrieve_utils.py index 6f423b30715f..4d69e6262ab3 100644 --- a/autogen/retrieve_utils.py +++ b/autogen/retrieve_utils.py @@ -53,7 +53,7 @@ "rtf", "rst", "xlsx", -] +] # these formats will be parsed by unstructured if it's installed if HAS_UNSTRUCTURED: TEXT_FORMATS += UNSTRUCTURED_FORMATS TEXT_FORMATS = list(set(TEXT_FORMATS)) From 7855c4b2a6e717d2536c6cc7cd5caf1d93e16532 Mon Sep 17 00:00:00 2001 From: Li Jiang Date: Fri, 8 Dec 2023 16:45:34 +0800 Subject: [PATCH 2/2] Update comments --- autogen/retrieve_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autogen/retrieve_utils.py b/autogen/retrieve_utils.py index 4d69e6262ab3..d65fabb440bb 100644 --- a/autogen/retrieve_utils.py +++ b/autogen/retrieve_utils.py @@ -53,7 +53,7 @@ "rtf", "rst", "xlsx", -] # these formats will be parsed by unstructured if it's installed +] # These formats will be parsed by the 'unstructured' library, if installed. if HAS_UNSTRUCTURED: TEXT_FORMATS += UNSTRUCTURED_FORMATS TEXT_FORMATS = list(set(TEXT_FORMATS))