diff --git a/backend/endpoints/v1/workspaces/index.js b/backend/endpoints/v1/workspaces/index.js index c665ca27..31ed492e 100644 --- a/backend/endpoints/v1/workspaces/index.js +++ b/backend/endpoints/v1/workspaces/index.js @@ -315,7 +315,6 @@ function workspaceEndpoints(app) { return; } - console.log(workspace); const value = await WorkspaceDocument[methods[statistic]]( "workspace_id", workspace.id diff --git a/backend/utils/vectordatabases/providers/weaviate/index.js b/backend/utils/vectordatabases/providers/weaviate/index.js index ebd85917..9e21a611 100644 --- a/backend/utils/vectordatabases/providers/weaviate/index.js +++ b/backend/utils/vectordatabases/providers/weaviate/index.js @@ -66,7 +66,6 @@ class Weaviate { var totalVectors = 0; for (const collection of collections) { if (!collection || !collection.name) continue; - console.log({ dim: await this.indexDimensions(collection.name) }); totalVectors += (await this.namespaceWithClient(client, collection.name)) ?.vectorCount || 0; diff --git a/frontend/src/pages/WorkspaceDashboard/Statistics/index.tsx b/frontend/src/pages/WorkspaceDashboard/Statistics/index.tsx index bbfd038f..89695c06 100644 --- a/frontend/src/pages/WorkspaceDashboard/Statistics/index.tsx +++ b/frontend/src/pages/WorkspaceDashboard/Statistics/index.tsx @@ -60,7 +60,7 @@ const Statistics = ({ }, [organization?.slug, workspace?.slug]); return ( -
+
@@ -82,7 +82,7 @@ const Statistics = ({
-
+
ID:{' '} diff --git a/frontend/src/pages/WorkspaceDashboard/index.tsx b/frontend/src/pages/WorkspaceDashboard/index.tsx index 7e88ed0e..2687c130 100644 --- a/frontend/src/pages/WorkspaceDashboard/index.tsx +++ b/frontend/src/pages/WorkspaceDashboard/index.tsx @@ -21,6 +21,7 @@ import qDrantLogo from '../../images/vectordbs/qdrant.png'; import WeaviateLogo from '../../images/vectordbs/weaviate.png'; import SyncConnectorModal from '../../components/Modals/SyncConnectorModal'; import UpdateConnectorModal from '../../components/Modals/UpdateConnectorModal'; +import QuickActionsSidebar from '../Dashboard/QuickActionSidebar'; export default function WorkspaceDashboard() { const { user } = useUser(); @@ -130,8 +131,8 @@ export default function WorkspaceDashboard() { deleteWorkspace={deleteWorkspace} /> } + hasQuickActions={true} > - {!!organization && (
)} - + +
+
+ +
+ +
); diff --git a/workers/functions/deleteEmbedding/index.js b/workers/functions/deleteEmbedding/index.js index 32d63ff6..bff56efa 100644 --- a/workers/functions/deleteEmbedding/index.js +++ b/workers/functions/deleteEmbedding/index.js @@ -221,18 +221,15 @@ async function cleanupCacheFile(documentVector) { const document = await WorkspaceDocument.get({ id: Number(documentVector.document_id), }); - console.log({ document }); if (!document) return; const digestFilename = WorkspaceDocument.vectorFilename(document); const existingInfo = await cachedVectorInformation(digestFilename); - - console.log({ digestFilename, existingInfoExists: existingInfo.exists }); if (!existingInfo.exists) return; const updatedData = existingInfo.chunks.filter( (obj) => obj.vectorDbId !== documentVector.vectorId ); - console.log({ updatedData: updatedData }); + await storeVectorResult(updatedData, digestFilename); return; }