UmweltDocs
Reference/Commands/embedding.dropSpace
embedding.dropSpacecommandsince 0.1

Removes an embedding space and every vector in it.

Request
umwelt call story.umw embedding.dropSpace '{
  "projectId": "ball",
  "spaceId": "demo"
}'
Request
const result = await client.embeddingDropSpace({ projectId: 'ball', spaceId: 'demo' });
Request
var result = engine.EmbeddingDropSpace(new EmbeddingSpaceRef { ProjectId = "ball", SpaceId = "demo" });
Response
{
  "removed": 1
}

Payload

FieldTypeDescription
projectIdrequiredstringThe project to write to.
spaceIdrequiredstringThe embedding space.

Result

FieldTypeDescription
removedalwaysintegerHow many vectors were removed.

Rules

No history is touched. Vectors are derived data: dropping them changes no record and no read, only how search orders by meaning.

Errors

VALIDATION_FAILEDThe payload is malformed.
NOT_FOUNDThe project or the space does not exist.
HANDSHAKE_REQUIREDOver the protocol, hello was not sent first.

Every code is listed in Errors.

See also

Was this page helpful?