SageMakerCallbackHandler(
self,
run: Any,
)| Name | Type |
|---|---|
| run | Any |
Callback Handler that logs prompt artifacts and metrics to SageMaker Experiments.
Run object where the experiment is logged.
Run when LLM starts.
Run when LLM generates a new token.
Run when LLM ends running.
Run when LLM errors.
Run when chain starts running.
Run when chain ends running.
Run when chain errors.
Run when tool starts running.
Run when tool ends running.
Run when tool errors.
Run when agent is ending.
Run when agent ends running.
Run on agent action.
To log the input data as json file artifact.
Reset the steps and delete the temporary local directory.