Browse Source

fix: api function name

Timothy J. Baek 1 năm trước cách đây
mục cha
commit
8fd1b62e04
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/lib/apis/rag/index.ts

+ 1 - 1
src/lib/apis/rag/index.ts

@@ -64,7 +64,7 @@ export const uploadWebToVectorDB = async (token: string, collection_name: string
 	return res;
 };
 
-export const queryVectorDB = async (
+export const queryCollection = async (
 	token: string,
 	collection_name: string,
 	query: string,