Bug: Issue with API Version Compatibility When Using AzureOpenAI
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 45/100
Direzione di ricerca
Inizia dall'esempio dello schema della risposta in semantickernel-concepts/semantickernel-syntax-examples/src/main/java/com/microsoft/semantickernel/samples/syntaxexamples/chatcompletion/responseschema/Example_ChatWithResponseFormat.java e segui come viene configurato il client AzureOpenAI. Riproduci l'errore di versione dell'API, quindi verifica che il client possa accettare la versione API richiesta e che l'esempio venga eseguito con json_schema.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Java
- Stelle
- 276
- Fork
- 56
- Merge medio
- 17h 45m
- PR unite (30g)
- 4
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di microsoft/semantic-kernel-java
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
microsoft/semantic-kernel-java#334 · 1 commento ·
-
Feature Parity Inquiry: Multi-Agent Orchestration and Roadmap Alignment with Python/.NET Versions Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
microsoft/semantic-kernel-java#331 · 7 commenti ·
-
bug triage
microsoft/semantic-kernel-java#330 · 3 commenti · 1 assegnatario ·
-
bug triage
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
microsoft/semantic-kernel-java#328 · 1 commento ·
-
Java: Remove SK planners Aperta
microsoft/semantic-kernel-java#323 · 1 reazione · 2 assegnatari ·
Tutte le issue di microsoft/semantic-kernel-java
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
-
Two open-case totals on one screen: the Programs tile says 15,858 and the nav badge says 15,868 Apertabug frontend maui-pilot
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
objectionary/eo-graphs#74 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100