New Feature: docs example for PZERO OpenAI-compatible endpoint
维护者通常 1 天内回复
还没有人认领这个 Issue。
- #14350 来自 @wasim-builds —— 已关闭,未合并
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 72/100
- Issue 类型
- 文档
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- csharp
调研方向
找到 OpenAI connector 文档和 AddOpenAIChatCompletion 入口点,然后阅读附近的 provider 示例。添加一个命名为 PZERO 的示例,展示 /v1 端点、目录模型 ID、基于环境的 API key 和现有 connector;当该代码片段清晰且与周围文档一致时即表示完成。
由索引模型根据 Issue 内容生成。
描述
Semantic Kernel's OpenAI connector already talks to any OpenAI-compatible host by passing a custom endpoint. People looking for prepaid, privacy-first inference still have to guess the host, key format, and that the endpoint is the /v1 root.
A named PZERO example in the OpenAI connector docs would let users paste and run. No first-party SK connector required. Search for pzero returned none.
using Microsoft.SemanticKernel;
var builder = Kernel.CreateBuilder();
builder.AddOpenAIChatCompletion(
modelId: "deepseek-v4-flash",
endpoint: new Uri("https://api.pzero.studio/v1"),
apiKey: Environment.GetEnvironmentVariable("PZERO_API_KEY")!
);
var kernel = builder.Build();
Endpoint is the /v1 root, not /v1/chat/completions. Pass the catalog id as-is.
Get a key: https://pzero.studio/agents (sign-in free; min top-up 1 USDC on Base; no starter credits). Live text ids: GET https://api.pzero.studio/v1/models (public, no key). Default landing model: deepseek-v4-flash.
Smoke against the same host SK will call:
curl -sS -X POST "https://api.pzero.studio/v1/chat/completions" \
-H "Authorization: Bearer $PZERO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"deepseek-v4-flash","messages":[{"role":"user","content":"Hello from PZERO"}],"stream":false}'
I am not asking for a bundled AddPzeroChatCompletion. The existing OpenAI connector seam is enough. Do not start implementation on my behalf until the board says Ready; the snippet is for users today.
Every AI Credit is at least 20% off $1 list. Usage is paid.
- 主要语言
- C#
- 星标
- 28.7k
- 派生
- 4.8k
- 平均合并
- 1 天 21 小时
- 30 天内合并 PR
- 28
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoft/semantic-kernel 的其他 Issue
-
Python: Rejected system messages leave AgentChat permanently active可能已有人在做 @Michael-Duck 于 3 天前认领。 未关闭python triage
难度 2/5 1-3 小时 新手友好度 82/100
microsoft/semantic-kernel#14638 ·
维护者通常 1 天内回复
-
Python: Bug: Anthropic, Bedrock, Google AI and Vertex AI tool formatters ignore include_in_function_choices=False可能已有人在做 @wasim-builds 于 8 天前认领。 未关闭python triage
难度 2/5 1-3 小时 新手友好度 72/100
microsoft/semantic-kernel#14615 ·
维护者通常 1 天内回复
-
Python: Bug: AnnotationContent and StreamingAnnotationContent to_element writes CitationType.X, so annotations in a rendered chat history fail to parse可能已有人在做 @CRYPTONIKAV 于 11 天前认领。 未关闭python triage
难度 2/5 1-3 小时 新手友好度 82/100
microsoft/semantic-kernel#14590 ·
维护者通常 1 天内回复
-
Python: Bug: TimePlugin timeZoneOffset and timeZoneName always return an empty string可能已有人在做 @jeevan1098 于 10 天前认领。 未关闭python triage
难度 2/5 1-3 小时 新手友好度 80/100
microsoft/semantic-kernel#14583 · 1 条评论 ·
维护者通常 1 天内回复
-
.Net: gpt-image-1 is the default image model in the .NET OpenAI connector, and OpenAI shuts it down on October 23可能已有人在做 @nightcityblade 于 22 天前认领。 未关闭.NET triage
难度 2/5 1-3 小时 新手友好度 73/100
microsoft/semantic-kernel#14526 · 1 条评论 ·
维护者通常 1 天内回复
查看 microsoft/semantic-kernel 的全部 Issue
相似的 Issue
-
agentic-workflows automated testing
难度 2/5 1-3 小时 新手友好度 85/100
Azure-Samples/Legacy-Modernization-Agents#194 ·
维护者通常 1 天内回复
-
area-encryption area-security p1-recommended technical-debt
难度 2/5 1 小时以内 新手友好度 85/100
维护者通常 1 天内回复
-
bug flaky small
难度 2/5 1-3 小时 新手友好度 70/100
hexide-io/HexIDE#1906 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 82/100
维护者通常 1 天内回复
-
area: build good first issue help wanted
难度 2/5 1-3 小时 新手友好度 85/100