boxmot.attributes.backends.http
Shared asynchronous HTTP transport and validation for attribute backends.
HttpAttributeBackend
HttpAttributeBackend(config: AttributeConfig)
Bases: ABC
Send a same-track storyboard and validate schema-constrained responses.
extract
async
extract(
track_id: int,
samples: Sequence[AttributeSample],
images: Sequence[bytes],
) -> dict[str, Any]
Request and validate one analysis; ownership stays with the caller.
request_payload
abstractmethod
Build the provider payload for the prompt and encoded storyboard.