revert: reset vector db

This commit is contained in:
Timothy J. Baek 2024-07-11 13:22:24 -07:00
parent 7ba7b959a8
commit 9ab97b834a

View File

@ -425,7 +425,7 @@ export const resetUploadDir = async (token: string) => {
export const resetVectorDB = async (token: string) => { export const resetVectorDB = async (token: string) => {
let error = null; let error = null;
const res = await fetch(`${RAG_API_BASE_URL}/reset`, { const res = await fetch(`${RAG_API_BASE_URL}/reset/db`, {
method: 'GET', method: 'GET',
headers: { headers: {
Accept: 'application/json', Accept: 'application/json',