Create a new event within the current step
create_event
function creates a new event within the current active step. Events represent individual actions or API calls within a step. While LLM calls are automatically tracked as events when using instrumented providers, you can also create custom events manually.
update_event()
and end_event()
update_event
- Update an existing eventend_event
- End an eventcreate_step
- Create a step to contain events