MCPcopy
hub / github.com/OpenBMB/UltraRAG / deleteKbFile

Function deleteKbFile

ui/frontend/src/shared/api/kb.ts:53–57  ·  view source on GitHub ↗
(category: string, filename: string)

Source from the content-addressed store, hash-verified

51}
52
53export async function deleteKbFile(category: string, filename: string): Promise<unknown> {
54 return httpRequest<unknown>(`/api/kb/files/${encodeURIComponent(category)}/${encodeURIComponent(filename)}`, {
55 method: "DELETE",
56 });
57}
58
59export async function syncMemoryToKb(indexMode: "append" | "overwrite" = "append"): Promise<{
60 task_id: string;

Callers 1

handleDeleteKbItemFunction · 0.90

Calls 1

httpRequestFunction · 0.90

Tested by

no test coverage detected