langchain_core.tracers.log_stream.LogEntry¶

class langchain_core.tracers.log_stream.LogEntry[source]¶

A single entry in the run log.

id: str¶

ID of the sub-run.

name: str¶

Name of the object being run.

type: str¶

Type of the object being run, eg. prompt, chain, llm, etc.

tags: List[str]¶

List of tags for the run.

metadata: Dict[str, Any]¶

Key-value pairs of metadata for the run.

start_time: str¶

ISO-8601 timestamp of when the run started.

streamed_output_str: List[str]¶

List of LLM tokens streamed by this run, if applicable.

final_output: Optional[Any]¶

Final output of this run. Only available after the run has finished successfully.

end_time: Optional[str]¶

ISO-8601 timestamp of when the run ended. Only available after the run has finished.