Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Dependency Injection with ITextEmbeddingGenerator #503

Merged
merged 3 commits into from
May 21, 2024

Conversation

marcominerva
Copy link
Contributor

Motivation and Context (Why the change? What's the scenario?)

See #334. This PR replaces #444 so that it excludes unnecessary changes.

@dluc dluc added the waiting for author Waiting for author to reply or address comments label May 20, 2024
@marcominerva marcominerva requested a review from dluc May 21, 2024 07:37
@dluc dluc merged commit 6805f73 into microsoft:main May 21, 2024
6 checks passed
@marcominerva marcominerva deleted the textembeddinggenerator-di branch May 22, 2024 07:24
dluc pushed a commit that referenced this pull request May 27, 2024
## Motivation and Context (Why the change? What's the scenario?)

Allow to inject IMemoryDb types, without the need to build an instance.

Related to #503, it
allows to register an `IMemoryDb` using Dependency Injection.
sangar-1028 added a commit to sangar-1028/kernel-memory that referenced this pull request Oct 21, 2024
## Motivation and Context (Why the change? What's the scenario?)

Allow to inject IMemoryDb types, without the need to build an instance.

Related to microsoft/kernel-memory#503, it
allows to register an `IMemoryDb` using Dependency Injection.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting for author Waiting for author to reply or address comments
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants