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 AsBuilder extensions for IChatClient and IEmbeddingGenerator #5652

Merged
merged 3 commits into from
Nov 18, 2024

Conversation

stephentoub
Copy link
Member

@stephentoub stephentoub commented Nov 16, 2024

Enables a fluent style of construction of a pipeline from a client/generator, and not having to specify the generic type parameters for the embedding generator builder.

Microsoft Reviewers: Open in CodeFlow

Enables a fluent style of construction of a pipeline from a client/generator, and not having to specify the generic type parameters for the embedding generator builder.
@stephentoub stephentoub changed the title Add ToBuilder extensions for IChatClient and IEmbeddingGenerator Add AsBuilder extensions for IChatClient and IEmbeddingGenerator Nov 18, 2024
@stephentoub stephentoub merged commit 930af05 into dotnet:main Nov 18, 2024
6 checks passed
@stephentoub stephentoub deleted the tobuilder branch November 18, 2024 15:12
stephentoub added a commit to stephentoub/extensions that referenced this pull request Nov 19, 2024
…net#5652)

* Add ToBuilder extensions for IChatClient and IEmbeddingGenerator

Enables a fluent style of construction of a pipeline from a client/generator, and not having to specify the generic type parameters for the embedding generator builder.

* Rename ToBuilder to AsBuilder
@github-actions github-actions bot locked and limited conversation to collaborators Dec 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants