Expand description
Message types for Edge Impulse model communication.
This module defines the message structures used for communication between the runner and the Edge Impulse model process via Unix sockets. All messages are serialized to JSON for transmission.
The communication follows a request-response pattern with the following types:
- Initialization messages (
HelloMessage
) - Classification requests (
ClassifyMessage
) - Model information responses (
ModelInfo
) - Inference results (
InferenceResponse
) - Error responses (
ErrorResponse
) - Threshold messages (
SetThresholdMessage
)
Structs§
- Classify
Message - Message containing features for classification.
- Error
Response - Response indicating an error condition.
- Hello
Message - Initial handshake message sent to the model process.
- Inference
Response - Response containing inference results.
- Model
Info - Response containing model information and parameters.
- SetThreshold
Message - Message for setting model thresholds
- SetThreshold
Response - Different types of threshold configurations that can be set
Enums§
- Inference
Result - Represents different types of inference results.
- Threshold
Config