C# samples to demonstrate the integration of Phi-3 and Phi-4 models in a .NET app using ONNX #260
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Purpose
This pull request introduces a new set of C# labs to demonstrate the integration of Phi-3 and Phi-4 models in a .NET environment. The changes include the addition of project files, solution configuration, and sample code for various labs.
New Labs and Projects:
md/04.HOL/dotnet/csharplabs.md: Added documentation for the Phi-3 labs using C#, including prerequisites, instructions for downloading models, and descriptions of the sample projects.md/04.HOL/dotnet/src/LabsPhi.sln: Created a new Visual Studio solution file that includes multiple projects for the labs. The solution file organizes the Phi-3 and Phi-4 projects, includingLabsPhi301,LabsPhi302,LabsPhi303,LabsPhi304, and chat projectsLabsPhi4-Chat-01OnnxRuntimeand `LabsPhi4-Chat-02SK. These changes provide a comprehensive set of labs to showcase the capabilities of Phi-3 and Phi-4 models in various scenarios using C#Does this introduce a breaking change?
When developers merge from main and run the server, azd up, or azd deploy, will this produce an error?
If you're not sure, try it out on an old environment.
Does this require changes to learn.microsoft.com docs?
This repository is referenced by (https://azure.microsoft.com/products/phi-3)
which includes deployment, settings and usage instructions.
Type of change