Skip to content

Conversation

@dluc
Copy link
Collaborator

@dluc dluc commented Nov 19, 2024

Allow to reuse KM configuration utilities in apps.

  • IConfigurationBuilder.AddKernelMemoryConfigurationSources(...): adds to .NET ConfigurationBuilder the sources used by KM service, such as appsettings.json, appsettings.<ENV>.json (not case sensitive), user secrets and env vars. Extension available in Microsoft.KernelMemory.Core nuget.
  • IKernelMemoryBuilder.ConfigureDependencies(...): configures and wires up all .NET dependencies accordingly to the given configuration. Extension available in Microsoft.KernelMemory nuget.

@dluc dluc merged commit 6173e9b into microsoft:main Nov 19, 2024
6 checks passed
@dluc dluc deleted the servext branch November 19, 2024 02:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant