浏览代码

fix: api function name

Timothy J. Baek 1 年之前
父节点
当前提交
8fd1b62e04
共有 1 个文件被更改,包括 1 次插入1 次删除
  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,