RunState: {
    id: string;
    logs: Record<string, LogEntry>;
    name: string;
    streamed_output: any[];
    type: string;
    final_output?: any;
}

Type declaration

  • id: string

    ID of the sub-run.

  • logs: Record<string, LogEntry>

    List of sub-runs contained in this run, if any, in the order they were started. If filters were supplied, this list will contain only the runs that matched the filters.

  • name: string

    Name of the object being run.

  • streamed_output: any[]

    List of output chunks streamed by Runnable.stream()

  • type: string

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

  • Optional final_output?: any

    Final output of the run, usually the result of aggregating streamed_output. Only available after the run has finished successfully.

Generated using TypeDoc