New Feature: docs example for PZERO OpenAI-compatible endpoint
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
- #14350 của @wasim-builds — đã đóng, không merge
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 72/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- csharp
- Lĩnh vực
- documentation
Hướng nghiên cứu
Xác định tài liệu về connector OpenAI và entry point AddOpenAIChatCompletion, sau đó đọc các ví dụ về provider ở gần đó. Thêm một ví dụ có tên PZERO, thể hiện endpoint /v1, model ID trong catalog, API key dựa trên môi trường và connector hiện có; hoàn tất khi snippet rõ ràng và nhất quán với phần tài liệu xung quanh.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- C#
- Star
- 28.7k
- Fork
- 4.8k
- Merge trung bình
- 1 ngày 21 giờ
- Pull request đã merge (30 ngày)
- 28
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của microsoft/semantic-kernel
-
Python: Rejected system messages leave AgentChat permanently activeCó thể đã có người làm @Michael-Duck đã nhận 4 ngày trước. Đang mởpython triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
microsoft/semantic-kernel#14638 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Python: Bug: Anthropic, Bedrock, Google AI and Vertex AI tool formatters ignore include_in_function_choices=FalseCó thể đã có người làm @wasim-builds đã nhận 9 ngày trước. Đang mởpython triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
microsoft/semantic-kernel#14615 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Python: Bug: AnnotationContent and StreamingAnnotationContent to_element writes CitationType.X, so annotations in a rendered chat history fail to parseCó thể đã có người làm @CRYPTONIKAV đã nhận 12 ngày trước. Đang mởpython triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
microsoft/semantic-kernel#14590 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Python: Bug: TimePlugin timeZoneOffset and timeZoneName always return an empty stringCó thể đã có người làm @jeevan1098 đã nhận 11 ngày trước. Đang mởpython triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
microsoft/semantic-kernel#14583 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
.Net: gpt-image-1 is the default image model in the .NET OpenAI connector, and OpenAI shuts it down on October 23Có thể đã có người làm @nightcityblade đã nhận 23 ngày trước. Đang mở.NET triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
microsoft/semantic-kernel#14526 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của microsoft/semantic-kernel
Issue tương tự
-
is:bug is:FQNIssue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
nunit/nunit3-vs-adapter#1527 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug effort:S P3
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
nightscout/nocturne#2840 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
CI: миграции на пустой PostgresĐang mởtrack:release
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
-
[Bug] [Go] Ack returns nil when the server answers with a non-OK statusCó thể đã có người làm @leizhiyuan đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
apache/rocketmq-clients#1465 ·
Maintainer thường phản hồi trong vòng 2 ngày