型・APIリファレンス
    Preparing search index...

    Interface AIChatSessionState

    AIChat セッション状態

    interface AIChatSessionState {
        apiMessageHistory: ChatMessage[];
        currentEditor: null | DetailPropertyEditor;
        currentValue: null | ReflectValue | ReflectValue[];
        displayLabel: string;
        elementRuntimeId: string;
        entityName: string;
        formData: Record<string, unknown>;
        isActive: boolean;
        isLoading: boolean;
        lastReflectEvent: null | ReflectEvent;
        messages: ChatMessage[];
        promptDefinitions: string[];
        selectedPromptDefinitionId: null | string;
        targetPropertyName: string;
        viewName: string;
    }
    Index

    Properties

    apiMessageHistory: ChatMessage[]

    API送信用の会話履歴(成功した ASSISTANT / USERのみ)

    currentEditor: null | DetailPropertyEditor

    対象プロパティエディター

    currentValue: null | ReflectValue | ReflectValue[]

    対象プロパティ値

    displayLabel: string

    対象プロパティの表示用ラベル

    elementRuntimeId: string

    エレメントランタイムID

    entityName: string

    Entity定義名

    formData: Record<string, unknown>

    フォームデータ(項目値が処理されていない)

    isActive: boolean

    パネルの開閉状態

    isLoading: boolean

    ローディング状態

    lastReflectEvent: null | ReflectEvent

    最後の反映イベント(Undo用)

    messages: ChatMessage[]

    チャット履歴メッセージ一覧

    promptDefinitions: string[]

    プロンプト定義ID一覧

    selectedPromptDefinitionId: null | string

    ユーザが選択したプロンプト定義ID

    targetPropertyName: string

    対象のProperty名(出力先)

    viewName: string

    View定義名