Function createConversationState

  • Creates a new conversation state in persistent storage.

    Type Parameters

    • Schema = Record<string, any>

    Parameters

    • conversationId: string

      Conversation related to the state.

    • state: Schema

      The state object to be saved

    Returns Promise<void>