-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
.Net Stream Json Parser as Utility for Connectors. (#5574)
### Motivation and Context As a proven useful component created by @Krzysztof318 in the Gemini Connector implementation, I'm bringing this as a Utility that can be used internally across different connectors for streaming deserialization of SSE and Non-SSE responses. - Hugging Face updates using the utility - Unit tests moved to SemanticKernel.UnitTests for the tool - StreamJsonParser tests removed from HuggingFace UnitTests - Added extra Example using streaming with HuggingFace Zephyr model.
- Loading branch information
1 parent
87ead74
commit e32ab5e
Showing
8 changed files
with
532 additions
and
367 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
185 changes: 0 additions & 185 deletions
185
...Connectors/Connectors.HuggingFace.UnitTests/Client/TextGenerationStreamJsonParserTests.cs
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 0 additions & 20 deletions
20
dotnet/src/Connectors/Connectors.HuggingFace/Client/IStreamJsonParser.cs
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.