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

.Net Hugging Face HttpClient Connector Update #5075

Merged

Conversation

RogerBarreto
Copy link
Member

@RogerBarreto RogerBarreto commented Feb 19, 2024

Motivation and Context

Resolves Partially #4947

Update Hugging Face connector segregating the responsibilities of the TextGenerationService, TextEmbeddingService, HttpClient, JsonParsing, EndPointResolving.

Description

This enables paving the way to support additional Hugging Face modalities

@RogerBarreto RogerBarreto requested a review from a team as a code owner February 19, 2024 14:31
@RogerBarreto RogerBarreto self-assigned this Feb 19, 2024
@shawncal shawncal added .NET Issue or Pull requests regarding .NET code kernel Issues or pull requests impacting the core kernel labels Feb 19, 2024
Copy link
Contributor

@Krzysztof318 Krzysztof318 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added a small suggestion for passing modelId

@RogerBarreto
Copy link
Member Author

RogerBarreto commented Feb 22, 2024

You need so big test data file embeddings_test_response_feature_extraction.json?

@Krzysztof318 Good point, didnt realize it was so big, updated to a smaller sample.

@RogerBarreto RogerBarreto linked an issue Feb 22, 2024 that may be closed by this pull request
@RogerBarreto RogerBarreto added this pull request to the merge queue Feb 23, 2024
Merged via the queue into microsoft:main with commit 316ff5d Feb 23, 2024
18 checks passed
@RogerBarreto RogerBarreto deleted the features/hugging-face-httpclient branch February 23, 2024 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation kernel Issues or pull requests impacting the core kernel .NET Issue or Pull requests regarding .NET code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

.Net: Update Hugging Face connector
6 participants