microsoft/kernel-memory

AzureBlobs is not working

Closed this issue · 1 comments

Context / Scenario

Here is the configuration relevant for AzureBlobs:

var azureBlobConfig = new AzureBlobsConfig();
azureBlobConfig.Auth = AzureBlobsConfig.AuthTypes.ConnectionString;
azureBlobConfig.ConnectionString = _parametersAzureService.StorageConnectionString;
azureBlobConfig.Container = "smemory";//_parametersAzureService.StorageContainerName;

  IKernelMemory kernelMemory = new KernelMemoryBuilder()
        .WithAzureOpenAITextGeneration(chatConfig)
        .WithAzureOpenAITextEmbeddingGeneration(embeddingConfig)
        .WithAzureBlobsDocumentStorage(azureBlobConfig)             
        //uncomment the line below to use Azure AI Search
        .WithAzureAISearchMemoryDb(searchConfig)
        .Build<MemoryServerless>();

What happened?

Document is not uploaded to Azure Blob.

There is no example showing how to use AzureBlobs/.

Importance

edge case

Platform, Language, Versions

C#, latest version

Relevant log output

dluc commented

Hi @aitrailblazer could you try running this example: https://github.com/microsoft/kernel-memory/blob/main/examples/007-dotnet-serverless-azure/Program.cs?

You should see an example006 container in your blob service, with two virtual folders

Image

Image

Image

Image