Interface Inference
- All Known Implementing Classes:
DefaultInference
public interface Inference
Inference API
-
Method Summary
Modifier and TypeMethodDescriptionGet openapi description.explanations(String modelName) Not supported yet.ping()Get TorchServe status.predictions(String modelName, Object body) Predictions entry point to get inference using default model version.predictions(String modelName, String modelVersion, Object body) Predictions entry point to get inference using specific model version.
-
Method Details
-
apiDescription
Get openapi description.- Throws:
ApiException
-
ping
Get TorchServe status.- Throws:
ApiException
-
predictions
Predictions entry point to get inference using default model version.- Throws:
ApiException
-
predictions
Predictions entry point to get inference using specific model version.- Throws:
ApiException
-
explanations
Not supported yet.- Throws:
ApiException
-