Update the status, inputs, output of a Flow Log.
Marking a Flow Log as complete will trigger any monitoring Evaluators to run. Inputs and output (or error) must be provided in order to mark it as complete.
Unique identifier of the Flow Log.
Status of the Trace. When a Trace is marked as complete
, no more Logs can be added to it. Monitoring Evaluators will only run on completed Traces.
The inputs passed to the Flow Log.
The output of the Flow Log. Provide None to unset existing output
value. Provide either this or error
.
The error message of the Flow Log. Provide None to unset existing error
value. Provide either this or output
.
Unique identifier for the Log.
List of Evaluator Logs associated with the Log. These contain Evaluator judgments on the Log.
Flow used to generate the Log.
When the logged event started.
When the logged event ended.
Generated output from your model for the provided inputs. Can be None
if logging an error, or if creating a parent Log with the intention to populate it later.
User defined timestamp for when the log was created.
Error message if the log is an error.
Duration of the logged event in seconds.
Captured log and debug statements.
Raw request sent to provider.
Raw response received the provider.
The inputs passed to the Flow Log.
Identifies where the model was called from.
Any additional metadata to record.
Unique identifier for the Datapoint that this Log is derived from. This can be used by Humanloop to associate Logs to Evaluations. If provided, Humanloop will automatically associate this Log to Evaluations that require a Log for this Datapoint-Version pair.
The ID of the parent Log to nest this Log under in a Trace.
Array of Batch IDs that this Log is part of. Batches are used to group Logs together for offline Evaluations
End-user ID related to the Log.
The name of the Environment the Log is associated to.
Whether the request/response payloads will be stored on Humanloop.
Identifier for the Flow that the Trace belongs to.
Identifier for the Trace that the Log belongs to.
Logs nested under this Log in the Trace.
Status of the Trace. When a Trace is marked as complete
, no more Logs can be added to it. Monitoring Evaluators will only run on completed Traces.