Interface ProgressChatResponseContent

interface ProgressChatResponseContent {
    kind: "progress";
    message: string;
    asDisplayString(): undefined | string;
    asString(): undefined | string;
    merge(nextChatResponseContent): boolean;
    toLanguageModelMessage(): LanguageModelMessage | LanguageModelMessage[];
}

Hierarchy

Implemented by

Properties

kind: "progress"
message: string

Methods

  • Represents the content as a string. Returns undefined if the content is purely informational and/or visual and should not be included in the overall representation of the response.

    Returns undefined | string

  • Returns LanguageModelMessage | LanguageModelMessage[]