Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
C# SDK Docs Update Summary
What changed
README.md — Complete rewrite. The old README referenced non-existent v2 APIs (
StartModelAsync,GetModelInfoAsync) and wrong build paths. New version is feature-focused with correct v2 API usage throughout.Sections added: Features, Installation, WinML (top-level), Quick Start, Usage (Initialization, Catalog, Model Lifecycle, Chat Completions, Streaming, Chat Settings, Audio Transcription, Audio Settings, Web Service, Configuration table, Disposal), API Reference, Tests.
Microsoft.AI.Foundry.Local.csproj — Added
<GenerateDocumentationFile>true</GenerateDocumentationFile>to emit XML docs at build time. Fixed a mismatched<param>tag onModel.SelectVariant(modelId→variant) that became a build error with doc generation enabled.GENERATE-DOCS.md — New file documenting how to regenerate the API reference markdown using xmldoc2md.
docs/api/*.md — 16 auto-generated API reference files from XML doc comments (all public types, internal
Detailnamespace excluded).Files added
GENERATE-DOCS.mddocs/api/(16 files)Files modified
README.mdsrc/Microsoft.AI.Foundry.Local.csprojsrc/Model.cs(param tag fix)