From 1cc146f5654c3719cb264d6bae0e2421123b2bd3 Mon Sep 17 00:00:00 2001 From: Yuhong Sun Date: Sun, 8 Sep 2024 09:11:29 -0700 Subject: [PATCH 1/2] k --- backend/requirements/default.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/backend/requirements/default.txt b/backend/requirements/default.txt index 09d58d510b8..64e1176daf0 100644 --- a/backend/requirements/default.txt +++ b/backend/requirements/default.txt @@ -26,7 +26,6 @@ huggingface-hub==0.20.1 jira==3.5.1 jsonref==1.1.0 langchain==0.1.17 -langchain-community==0.0.36 langchain-core==0.1.50 langchain-text-splitters==0.0.1 litellm==1.43.18 From 5bbe286050048f2962215f70775eda08668c2efe Mon Sep 17 00:00:00 2001 From: Yuhong Sun Date: Sun, 8 Sep 2024 09:40:51 -0700 Subject: [PATCH 2/2] k --- backend/danswer/connectors/google_drive/connector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/danswer/connectors/google_drive/connector.py b/backend/danswer/connectors/google_drive/connector.py index 27c82f8f498..1a4f91d1726 100644 --- a/backend/danswer/connectors/google_drive/connector.py +++ b/backend/danswer/connectors/google_drive/connector.py @@ -327,7 +327,7 @@ def extract_text(file: dict[str, str], service: discovery.Resource) -> str: export_mime_type = "text/plain" elif mime_type in [ GDriveMimeType.PLAIN_TEXT.value, - GDriveMimeType.MARKDOWN.value + GDriveMimeType.MARKDOWN.value, ]: export_mime_type = mime_type