BlobTranscript.psm1

# Import the Azure Storage module
Import-Module Az.Storage

function Send-Transcript {
    param (
        [string]$transcript,
        [string]$storageAccountName,
        [string]$storageAccountKey,
        [string]$containerName,
        [string]$blobName
    )

    # Connect to the storage account
    $context = New-AzStorageContext -StorageAccountName $storageAccountName -StorageAccountKey $storageAccountKey

    # Upload the transcript to the blob storage
    Set-AzStorageBlobContent -File $transcript -Container $containerName -Blob $blobName -Context $context
}