EdgeClient.inferences.get_inference_details
Retrieves details of an inference that has been submitted.
EdgeClient.inferences.get_inference_details(model_identifier: str, model_version: str, input_sources: List[InputSource], explain=False, tags=None)
This method allows users to retrieve details of an inference that has been submitted.
Parameters
Parameter | Type | Description | Example |
---|---|---|---|
inference_identifier | str | The inference identifier. | '14856eb1-0ad8-49e7-9da3-887acb80fea5' |
Returns
A Inference
object returned from Inference API
Examples
from modzy.edge import InputSource
inference = edge_client.perform_inference(
"text-classifier",
"1.0.0",
[
InputSource(
key="input.txt",
text="A sample bit of text to run an inference on."
)
],
explain=False,
tags={
"a tag key": "some tag value",
"another tag key": "another tag value",
},
)
inference_details = edge_client.get_inference_details(inference.identifier)
Updated 9 months ago