From 9ab97b834aa47d733317c5e1fcd3c481c0b2fae8 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Thu, 11 Jul 2024 13:22:24 -0700 Subject: [PATCH] revert: reset vector db --- src/lib/apis/rag/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/apis/rag/index.ts b/src/lib/apis/rag/index.ts index b32e544ee..5c0a47b35 100644 --- a/src/lib/apis/rag/index.ts +++ b/src/lib/apis/rag/index.ts @@ -425,7 +425,7 @@ export const resetUploadDir = async (token: string) => { export const resetVectorDB = async (token: string) => { let error = null; - const res = await fetch(`${RAG_API_BASE_URL}/reset`, { + const res = await fetch(`${RAG_API_BASE_URL}/reset/db`, { method: 'GET', headers: { Accept: 'application/json',