From b4f340b8bda8a5ae5eb1eae234b390e36ae845e0 Mon Sep 17 00:00:00 2001 From: Chris Weaver <25087905+Weves@users.noreply.github.com> Date: Mon, 12 Jun 2023 00:53:19 -0700 Subject: [PATCH] Adding more details to file connector description (#97) * Adding more details to file connector description --- web/src/app/admin/connectors/file/page.tsx | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/web/src/app/admin/connectors/file/page.tsx b/web/src/app/admin/connectors/file/page.tsx index d88cdb87b..330bb9e86 100644 --- a/web/src/app/admin/connectors/file/page.tsx +++ b/web/src/app/admin/connectors/file/page.tsx @@ -83,8 +83,27 @@ export default function File() {

Upload Files

Specify files below, click the Upload button, and the contents of - these files will be searchable via Danswer! + these files will be searchable via Danswer! Currently only .txt{" "} + and .zip files (containing only .txt files) are supported.

+
+ NOTE: if the original document is accessible via a link, you can + add a line at the very beginning of the file that looks like: +
+
+ #DANSWER_METADATA={"{"}"link": "{""}"{"}"} +
+
{" "} + where {""} is the link to the file. This will enable + Danswer to link users to the original document when they click on the + search result. More details on this can be found in the{" "} + + documentation. + +