SDK reference · Python SDK
prov.trace.inferences
prov.trace.inferences in the Python SDK: 2 methods. A run's activation profile, masked through the one chokepoint.
Methods
profile
prov.trace.inferences.profile(trace_id: str, pattern: Optional[str] = …) -> AnyCalls GET /v1/trace/inferences/{id}/profile.
compute_profile
prov.trace.inferences.compute_profile(trace_id: str, top_k: Optional[int] = …, messages: Optional[list] = …) -> AnyCompute one now (metered trace_profile).
Calls POST /v1/trace/inferences/{id}/profile.