Upsert and search vectors
Upsert asset- or frame-level vectors in batches and run scoped nearest-neighbor search.
space.upsert("ASSET_ID", [0.1, 0.2, 0.3], frame_index=12)
space.upsert_many([
{"asset_id": "ASSET_A", "vector": [0.1, 0.2, 0.3]},
{"asset_id": "ASSET_B", "frame_index": 4, "vector": [0.3, 0.2, 0.1]},
])
results = space.search(
[0.1, 0.2, 0.3],
limit=25,
project_id="PROJECT_ID",
level="frame",
)Operating contract
Concern
Required behavior
Failure and recovery boundary
Condition
Response