Answering¶
The successful shape, and the failure taxonomy. The error
category is not paperwork: KAI-C routes on it, so the difference
between a transport_error and a model_error is the
difference between one dropped frame and a retry storm.
opennvr_adapter_sdk.InferResponse
¶
Bases: BaseModel
Successful response shape for POST /infer.
opennvr_adapter_sdk.ErrorCategory
¶
Bases: str, Enum
Failure envelope category. Consumers use this to decide retry policy.
opennvr_adapter_sdk.ErrorDetail
¶
Bases: BaseModel
The error block inside the failure envelope.
opennvr_adapter_sdk.FailureEnvelope
¶
Bases: BaseModel
Standard error response used by every endpoint.
opennvr_adapter_sdk.FairQueuing
¶
Bases: str, Enum
How KAI-C should schedule traffic across cameras into this adapter.