Skip to main content

Returns

This method returns None. Traces are saved to the platform and the context is automatically cleared.

Example

galtea.traces.save_context(
    inference_result_id="YOUR_INFERENCE_RESULT_ID"
)

Parameters

inference_result_id
string
required
The ID of the inference result to associate the traces with.
After save_context() completes, the trace context is automatically cleared.