Skip to content

callbacks

callbacks

Customize and extend LLMeter with callback hooks

Callbacks provide an API through which you can trigger custom code at defined points in the test Run (or Experiment) lifecycle and augment the output results or statistics. Some built-in examples include:

  • Logging run details to MLFlow, with MlflowCallback
  • Calculating cost estimates, with CostModel

For creating your own custom callbacks, see the Callback base class.