Function updateConversationState

  • Updates the state of a conversation in persistent storage.

    Type Parameters

    • Schema = Record<string, any>

    Parameters

    • conversationId: string

      Conversation ID associated with the State

    • state: Schema

      The new state object to be saved

    Returns Promise<void>

    A promise that resolves when the state has been updated