Theia API Documentation v1.65.0
    Preparing search index...
    interface QuestionResponseContent {
        handler: QuestionResponseHandler;
        kind: "question";
        options: { text: string; value?: string }[];
        question: string;
        request: MutableChatRequestModel;
        selectedOption?: { text: string; value?: string };
        asDisplayString?(): undefined | string;
        asString?(): undefined | string;
        merge?(nextChatResponseContent: ChatResponseContent): boolean;
        toLanguageModelMessage?(): LanguageModelMessage | LanguageModelMessage[];
    }

    Hierarchy (View Summary)

    Implemented by

    Index

    Properties

    kind: "question"
    options: { text: string; value?: string }[]
    question: string
    selectedOption?: { text: string; value?: 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