20250412 新增清除milvus数据的方法
This commit is contained in:
parent
8737f6bbf1
commit
030a839cb8
@ -54,4 +54,9 @@ public class MilvusController {
|
|||||||
embeddingStore.addAll(embeddings, segments);
|
embeddingStore.addAll(embeddings, segments);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@RequestMapping("/clear")
|
||||||
|
public void ClearShopData() {
|
||||||
|
embeddingStore.removeAll();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user