Documentation - v1.2.0-alpha.3
    Preparing search index...

    Configuration interface for DialogManager instances. Defines the required and optional settings needed to initialize and configure a dialog manager.

    interface DialogManagerConfiguration {
        conversationState: AgentState;
        expireAfter?: number;
        rootDialog: Dialog;
        stateConfiguration?: DialogStateManagerConfiguration;
        userState?: UserState;
    }
    Index

    Properties

    conversationState: AgentState

    The conversation state storage for maintaining dialog state across turns. This is required and manages the dialog stack and conversation-scoped data.

    expireAfter?: number

    Optional timeout duration in milliseconds after which inactive conversations expire. When set, conversations that haven't been accessed within this timeframe will have their state cleared. If not specified, conversations will not automatically expire.

    rootDialog: Dialog

    The root dialog that will be started when the dialog manager begins execution. This dialog serves as the entry point for the conversation flow.

    stateConfiguration?: DialogStateManagerConfiguration

    Optional configuration for the dialog state manager. Provides advanced settings for how dialog state is managed and persisted.

    userState?: UserState

    Optional user state storage for maintaining user-scoped data across conversations. When provided, enables persistence of user-specific information beyond individual conversations.