πŸ“™Delete Collection

Prerequisites

Requires a user auth token. See the API Auth section.

Deleting Collection

Deletes all embedding vectors from the collection. The endpoins requires:

  1. Database name: db

  2. A collection name: collection

import mindplug from "@/src/mindplugAPI"; // base instance

mindplug.post("/collection/delete", {
    db: "walmart",
    collection: "office supplies"
});

Sample Response

{
    "data": {
        "success": true
    }
}

Last updated