Type Alias ChatOpenAIReasoningSummary

ChatOpenAIReasoningSummary: {
    id: string;
    status?:
        | undefined
        | "in_progress"
        | "completed"
        | "incomplete";
    summary: (Summary & {
        index?: number;
    })[];
    type: "reasoning";
}

The summary of a model's reasoning step.

Type declaration

  • id: string

    The unique identifier of the reasoning content.

  • Optionalstatus?:
        | undefined
        | "in_progress"
        | "completed"
        | "incomplete"

    The status of the item. One of in_progress, completed, or incomplete. Populated when items are returned via API.

  • summary: (Summary & {
        index?: number;
    })[]

    The summary of the reasoning step. The index field will be populated if the response was streamed. This allows LangChain to recompose the reasoning summary output correctly when the AIMessage is used as an input for future generation requests.

  • type: "reasoning"

    The type of the object. Always reasoning.