Ask a question to get started
Enter to sendā¢Shift+Enter new line
on_llm_end( self, response: LLMResult, *, run_id: UUID, parent_run_id: UUID |
End a trace for an LLM or chat model run.
Note:
This async callback also handles both run types. Async chat models start with on_chat_model_start, but there is no on_chat_model_end; completion is routed here for callback API compatibility.
on_chat_model_start
on_chat_model_end