PredictionWithDetails
Represents a prediction with details.
Interface: PredictionWithDetails
Represents a prediction with details.
Extends
Properties
created_at
created_at:
string
Timestamp when the prediction was created.
Inherited from
error
error:
null|TaskError
Error details if the prediction failed.
execution_time
execution_time:
null|string
Time taken to execute the prediction.
Inherited from
id
id:
string
Unique identifier for the prediction.
Inherited from
input
input:
Record<string,JsonValue>
Input data provided for the prediction.
metrics
metrics:
null|Record<string,JsonValue>
Usage metrics returned by the model.
model
model:
PredictionModel
The model of the prediction.
Inherited from
output
output:
JsonValue
Output generated by the prediction.
setup_time
setup_time:
null|string
Time taken to set up the prediction environment.
Inherited from
status
status:
Status
Current status of the prediction.
Inherited from
stream
stream:
boolean
Whether the prediction supports streaming. This value may change to false if streaming is no longer available for the prediction, such as after it has expired.
updated_at
updated_at:
string
Timestamp of the last update to the prediction.