feat: 删除模型数据

This commit is contained in:
archer
2023-03-31 00:23:41 +08:00
parent 8239c58494
commit 837c132d24
5 changed files with 54 additions and 21 deletions

View File

@@ -48,7 +48,7 @@ export async function generateVector(next = false): Promise<any> {
.then((vector) =>
redis.sendCommand([
'JSON.SET',
`${VecModelDataIndex}:${dataId}:${i}`,
`${VecModelDataIndex}:${item.id}`,
'$',
JSON.stringify({
dataId,