Bug: Issue with API Version Compatibility When Using AzureOpenAI
還沒有人認領這個 Issue。
評估
研究方向
從 semantickernel-concepts/semantickernel-syntax-examples/src/main/java/com/microsoft/semantickernel/samples/syntaxexamples/chatcompletion/responseschema/Example_ChatWithResponseFormat.java 中的回應結構描述範例開始,追蹤 AzureOpenAI 用戶端的設定方式。重現 API 版本錯誤,然後確認用戶端能夠接受所需的 API 版本,且範例能以 json_schema 執行。
由索引模型根據 Issue 內容生成。
描述
Describe the bug
I am currently working with the Azure GPT-35-Turbo and encountered an issue while trying to implement an example from the Microsoft Semantic Kernel Java SDK. Specifically, I was following the example provided here
To Reproduce
Upon execution, I received the following error messages indicating a problem related to the API version compatibility:
14:56:37 WARN c.m.s.s.KernelFunctionFromPrompt - Something went wrong while rendering the semantic function or while executing the text completion. Function: null.genapi. Error: Status code 400, "response_format value as json_schema is enabled only for api versions 2024-08-01-preview and later"
Exception in thread "main" com.azure.core.exception.HttpResponseException: Status code 400, "response_format value as json_schema is enabled only for api versions 2024-08-01-preview and later"
It appears that the response_format value json_schema is only enabled for API versions "2024-08-01-preview" and later. The error logs suggest that the current API version I am using does not support this feature.
Expected behavior
An additional parameter to specify the API version to use by the client.
- 主要語言
- Java
- 星號
- 276
- 分支
- 57
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
microsoft/semantic-kernel-java 的其他 Issue
-
難度 5/5 一週以上 新手友好度 20/100
microsoft/semantic-kernel-java#334 · 1 則留言 ·
-
Feature Parity Inquiry: Multi-Agent Orchestration and Roadmap Alignment with Python/.NET Versions未關閉
難度 5/5 一週以上 新手友好度 25/100
microsoft/semantic-kernel-java#331 · 7 則留言 ·
-
Bug: HTTP 404 Error When Using OpenAI-Compatible Endpoint with Semantic Kernel 1.4.4-RC1可能重新可做 @johnoliver 於 426 天前認領,目前沒有進行中的 PR。 未關閉bug triage
microsoft/semantic-kernel-java#330 · 3 則留言 · 已指派 1 人 ·
-
bug triage
難度 5/5 一週以上 新手友好度 20/100
microsoft/semantic-kernel-java#328 · 1 則留言 ·
-
Java: Remove SK planners可能已有人在做 @johnoliver 於 479 天前認領。 未關閉
microsoft/semantic-kernel-java#323 · 1 個 reaction · 已指派 2 人 ·
查看 microsoft/semantic-kernel-java 的全部 Issue
相似的 Issue
-
難度 1/5 1 小時以內 新手友好度 90/100
bancolombia/scaffold-clean-architecture#1002 ·
維護者通常 1 天內回覆
-
CalendarEventAttendance/get returns eventAttendanceStatus while the doc says attendanceStatus可能已有人在做 @chibenwa 今天認領。 未關閉bug claude
難度 1/5 1 小時以內 新手友好度 90/100
linagora/tmail-backend#2697 · 1 則留言 ·
維護者通常 1 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 75/100
apache/skywalking#14120 ·
維護者通常 1 天內回覆
-
[BUG] Case-insensitive search suggestions miss items when the JVM default locale is Turkish可能已有人在做 @thswlsqls 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 78/100
維護者通常 1 天內回覆
-
enhancement
難度 2/5 1-3 小時 新手友好度 75/100
維護者通常 1 天內回覆