From 37df6dc5f3f948af392912eebf06172301f332be Mon Sep 17 00:00:00 2001 From: Stanislas Polu Date: Tue, 31 Oct 2023 12:20:35 +0100 Subject: [PATCH] Copy fixes (#2310) * Fix copy * Copy on limitations --- connectors/admin/prod.sh | 12 ---------- core/admin/forever.sh | 9 -------- core/admin/prod.sh | 3 --- front/admin/prod.sh | 14 ------------ .../w/[wId]/builder/data-sources/managed.tsx | 22 +++++++++++++++---- front/pages/w/[wId]/welcome.tsx | 2 +- 6 files changed, 19 insertions(+), 43 deletions(-) delete mode 100755 connectors/admin/prod.sh delete mode 100755 core/admin/forever.sh delete mode 100755 core/admin/prod.sh delete mode 100755 front/admin/prod.sh diff --git a/connectors/admin/prod.sh b/connectors/admin/prod.sh deleted file mode 100755 index 477490c91242..000000000000 --- a/connectors/admin/prod.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh - -# See https://docs.datadoghq.com/tracing/trace_collection/library_config/nodejs/ - -export DD_ENV=prod -export DD_SERVICE=connectors -export NODE_OPTIONS='-r dd-trace/init' -export DD_LOGS_INJECTION=true -export DD_RUNTIME_METRICS_ENABLED=true -export NODE_ENV=production - -env $(cat .env.local) npx tsx ./src/start.ts -p 3002 2>&1 | tee -i /var/log/datadog/dust_connectors.log diff --git a/core/admin/forever.sh b/core/admin/forever.sh deleted file mode 100755 index bae873dbdca4..000000000000 --- a/core/admin/forever.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -export $(cat .env.local | xargs) - -until cargo run --release --bin dust-api -do - echo "[DUST-CORE-CRASH] Restarting dust-api in 1 second..." - sleep 1 -done \ No newline at end of file diff --git a/core/admin/prod.sh b/core/admin/prod.sh deleted file mode 100755 index e26afc3aba78..000000000000 --- a/core/admin/prod.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -./admin/forever.sh 2>&1 | tee -i /var/log/datadog/dust_core.log diff --git a/front/admin/prod.sh b/front/admin/prod.sh deleted file mode 100755 index 8048eb1b9ae1..000000000000 --- a/front/admin/prod.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh - -npx next build - -# See https://docs.datadoghq.com/tracing/trace_collection/library_config/nodejs/ - -export DD_ENV=prod -export DD_SERVICE=front -export NODE_OPTIONS='-r dd-trace/init' -export DD_LOGS_INJECTION=true -export DD_RUNTIME_METRICS_ENABLED=true -export NODE_ENV=production - -npx next start 2>&1 | tee -i /var/log/datadog/dust_front.log diff --git a/front/pages/w/[wId]/builder/data-sources/managed.tsx b/front/pages/w/[wId]/builder/data-sources/managed.tsx index 0ffd9f0b2976..1b26e33029e0 100644 --- a/front/pages/w/[wId]/builder/data-sources/managed.tsx +++ b/front/pages/w/[wId]/builder/data-sources/managed.tsx @@ -591,10 +591,24 @@ export default function DataSourcesView({ Limitations - Dust doesn't synchronize external files shared within a Notion page - or a Slack channel. On Google Drive, files with extracted text - bigger than 750KB are excluded. On GitHub, the code base is not - synchronized. +
    +
  • + Slack: Dust doesn't take into + account external files or content behind a url. +
  • +
  • + Notion: Dust doesn't take + into account external files or content behind a url. +
  • +
  • + Google Drive: Dust doesn't + take into account files with more than 750Kb of extracted text. +
  • +
  • + Github: take into account + files with more than 750Kb of extracted text. +
  • +
diff --git a/front/pages/w/[wId]/welcome.tsx b/front/pages/w/[wId]/welcome.tsx index 0b334638c775..6ca206c2a418 100644 --- a/front/pages/w/[wId]/welcome.tsx +++ b/front/pages/w/[wId]/welcome.tsx @@ -239,7 +239,7 @@ export default function Welcome({

You're ready to go!

-

Here is a 3 minutes video to get you started with Dust.

+

Here is a short video to get you started with Dust.