Skip to main content

Synopsis

moorcheh-edge upload-vectors --vectors-file PATH [--base-url URL]

Options

FlagRequiredDescription
--vectors-fileYesPath to JSON with {"vectors": [...]}
--base-urlNoAPI base URL (default http://localhost:8080)

File format

{
  "vectors": [
    {
      "id": "item-1",
      "vector": [0.01, -0.02, "... match allowed dimension ..."],
      "text": "Optional label for search results"
    }
  ]
}
Allowed dimensions on first upload: 128, 256, 384, 768, 1024, 1536.
Cannot upload vectors to a text store (or vice versa). Run moorcheh-edge clear-store first to switch modes.

Example

moorcheh-edge upload-vectors --vectors-file vectors.json
See API: Upload.