Microsoft.Agents.Storage.Blobs 0.2.290-alpha

Prefix Reserved
This is a prerelease version of Microsoft.Agents.Storage.Blobs.
dotnet add package Microsoft.Agents.Storage.Blobs --version 0.2.290-alpha
                    
NuGet\Install-Package Microsoft.Agents.Storage.Blobs -Version 0.2.290-alpha
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Microsoft.Agents.Storage.Blobs" Version="0.2.290-alpha" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.Agents.Storage.Blobs" Version="0.2.290-alpha" />
                    
Directory.Packages.props
<PackageReference Include="Microsoft.Agents.Storage.Blobs" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Microsoft.Agents.Storage.Blobs --version 0.2.290-alpha
                    
#r "nuget: Microsoft.Agents.Storage.Blobs, 0.2.290-alpha"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=Microsoft.Agents.Storage.Blobs&version=0.2.290-alpha&prerelease
                    
Install Microsoft.Agents.Storage.Blobs as a Cake Addin
#tool nuget:?package=Microsoft.Agents.Storage.Blobs&version=0.2.290-alpha&prerelease
                    
Install Microsoft.Agents.Storage.Blobs as a Cake Tool

Microsoft.Agents.Storage.Blobs

About

  • An Agent is inherently stateless. Once your Agent is deployed, it may not run in the same process or on the same machine from one turn to the next. However, your Agent may need to track the context of a conversation so that it can manage its behavior and remember answers to previous questions. The state and storage features of the Agents SDK allow you to add state to your Agent.
  • Microsoft.Agents.State use Storage to persist state to memory, Azure Blobs, or CosmosDb.

Main Types

  • BlobsStorage

Registering BlobsStorage

appsettings.json

{
  "BlobsStorageOptions": {
    "ConnectionString": "{blobs_connection_string}",
    "ContainerName": "{blobs_container_name}"
  }
}

Program.cs

builder.Services.AddSingleton<IStorage>((sp) => new BlobsStorage(
    builder.Configuration["BlobsStorageOptions:ConnectionString"],
    builder.Configuration["BlobsStorageOptions:ContainerName"]));

See the other BlobsStorage constructors for additional options.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.2.290-alpha 35 21 hours ago
0.2.287-alpha 50 4 days ago
0.2.286-alpha 89 5 days ago
0.2.282-alpha 134 6 days ago
0.2.277-alpha 120 8 days ago
0.2.271-alpha 72 11 days ago
0.2.267-alpha 105 12 days ago
0.2.257-alpha 109 13 days ago
0.2.180-alpha 442 14 days ago
0.2.171-alpha 87 19 days ago
0.2.162-alpha 125 21 days ago
0.2.154-alpha 119 22 days ago
0.2.153-alpha 50 25 days ago
0.2.151-alpha 93 a month ago
0.2.146-alpha 141 a month ago
0.2.141-alpha 144 a month ago
0.2.137-alpha 183 a month ago