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

    A class that implements the TranscriptStore interface using Azure Blob Storage.

    Implements

    • TranscriptStore
    Index

    Constructors

    • Constructs a new instance of the BlobsTranscriptStore class.

      Parameters

      • connectionString: string

        The connection string for the Azure Blob Storage account.

      • containerName: string

        The name of the container to use for storing transcripts.

      • Optionaloptions: BlobsTranscriptStoreOptions

        Optional configuration options for the store.

      • blobServiceUri: string = ''

        Optional URI for the blob service.

      • OptionaltokenCredential: StorageSharedKeyCredential | AnonymousCredential | TokenCredential

        Optional credentials for authenticating with the blob service.

      Returns BlobsTranscriptStore

    Methods

    • Deletes all transcripts for a specific conversation.

      Parameters

      • channelId: string

        The ID of the channel.

      • conversationId: string

        The ID of the conversation.

      Returns Promise<void>

      A promise that resolves when the deletion is complete.

    • Retrieves transcript activities for a specific conversation.

      Parameters

      • channelId: string

        The ID of the channel.

      • conversationId: string

        The ID of the conversation.

      • OptionalcontinuationToken: string

        Optional token for paginated results.

      • OptionalstartDate: Date

        Optional start date to filter activities.

      Returns Promise<PagedResult<Activity>>

      A promise resolving to a paged result of activities.

    • Lists all transcripts for a specific channel.

      Parameters

      • channelId: string

        The ID of the channel.

      • OptionalcontinuationToken: string

        Optional token for paginated results.

      Returns Promise<PagedResult<TranscriptInfo>>

      A promise resolving to a paged result of transcript information.