Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

参考资料

Gradio.NET

  • NuGet 包页面 https://www.nuget.org/packages/Gradio.Net,包版本、目标框架、依赖与发布记录。全书锁定的版本是 0.6.30.8。
  • 源码仓库 https://github.com/feiyun0112/Gradio.Net,快速开始、gr 工厂与核心类型两种写法、十份官方演示(Interface、Blocks、Chat、Streaming、Form、Files、Media、Multipage、Themes、Charts)。
  • 包内 API 文档,安装后位于 %USERPROFILE%\.nuget\packages\gradio.net\0.6.30.8\lib\net10.0\Gradio.Net.xml。公共成员的类型、参数与默认值以它为准;正文只写其中能由示例复现的部分。
  • 上游 Gradio 文档 https://www.gradio.app/docs,组件名与参数名的来源。Gradio.NET 是 Gradio 6.30.0 的 .NET 移植,前端与协议与上游一致;本书不要求读者读过这份文档。

.NET 与 ASP.NET Core

OpenAI 兼容接口