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

    Module @microsoft/agents-hosting-storage-blob

    @microsoft/agents-hosting-storage-blob

    This package allows to configure Azure Blob Storage as the backend for Agents conversation State

    const blobStorage = new BlobStorage(process.env.BLOB_STORAGE_CONNECTION_STRING!, process.env.BLOB_CONTAINER_ID!)
    const conversationState = new ConversationState(blobStorage)
    const userState = new UserState(blobStorage)

    note: you must assign RBAC permissions to your storage account

    const echo = new AgentApplication<TurnState>({
    storage: new BlobsStorage('', undefined, undefined,
    'https://agentsstate.blob.core.windows.net/nodejs-conversations',
    new MsalTokenCredential(loadAuthConfigFromEnv()))
    })

    Classes

    BlobsStorage
    BlobsTranscriptStore

    Interfaces

    BlobsStorageOptions
    BlobsTranscriptStoreOptions

    Variables

    BlobStorageErrors