technology-selection
dotnet · Development
指导 .NET 8+ 应用中 AI 与机器学习功能的技术选型与实现,使用 ML.NET、Microsoft.Extensions.AI (MEAI)、Microsoft Agent Framework (MAF)、GitHub Copilot SDK、ONNX Runtime 及 OllamaSharp。涵盖从经典机器学习到现代 LLM 编排,再到本地推理的全栈能力。适用于在 .NET 项目中添加分类、回归、聚类、异常检测、推荐、LLM 集成(文本生成、摘要、推理)、结合向量搜索的 RAG 流水线、带工具调用的智能体工作流、Copilot 扩展或通过 ONNX Runtime 实现自定义模型推理。不要用于 .NET Framework 项目(需 .NET 8+),纯数据工程或 ETL 任务且无机器学习/人工智能组件,或需要自定义深度学习训练循环的项目(请使用 Python + PyTorch/TensorFlow,再导出为 ONNX 供 .NET 推理)。
Guides technology selection and implementation of AI and ML features in .NET 8+ applications using ML.NET, Microsoft.Extensions.AI (MEAI), Microsoft Agent Framework (MAF), GitHub Copilot SDK, ONNX Runtime, and OllamaSharp. Covers the full spectrum from classic ML through modern LLM orchestration to local inference. Use when adding classification, regression, clustering, anomaly detection, recommendation, LLM integration (text generation, summarization, reasoning), RAG pipelines with vector search, agentic workflows with tool calling, Copilot extensions, or custom model inference via ONNX Runtime to a .NET project. DO NOT USE FOR projects targeting .NET Framework (requires .NET 8+), the task is pure data engineering or ETL with no ML/AI component, or the project needs a custom deep learning training loop (use Python with PyTorch/TensorFlow, then export to ONNX for .NET inference).
npx skills add https://github.com/dotnet/skills --skill technology-selection
星标 3360 · 安装量 437