Title: Bug: Issue with API Version Compatibility When Using AzureOpenAI · Issue #244 · microsoft/semantic-kernel-java · GitHub
Open Graph Title: Bug: Issue with API Version Compatibility When Using AzureOpenAI · Issue #244 · microsoft/semantic-kernel-java
X Title: Bug: Issue with API Version Compatibility When Using AzureOpenAI · Issue #244 · microsoft/semantic-kernel-java
Description: 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 Rep...
Open Graph Description: 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 fo...
X Description: 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 fo...
Opengraph URL: https://github.com/microsoft/semantic-kernel-java/issues/244
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Bug: Issue with API Version Compatibility When Using AzureOpenAI","articleBody":"**Describe the bug**\nI 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](https://github.com/microsoft/semantic-kernel-java/blob/main/samples/semantickernel-concepts/semantickernel-syntax-examples/src/main/java/com/microsoft/semantickernel/samples/syntaxexamples/chatcompletion/responseschema/Example_ChatWithResponseFormat.java)\n\n\n\n**To Reproduce**\nUpon execution, I received the following error messages indicating a problem related to the API version compatibility:\n\n```\n14: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\"\nException 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\"\n```\n\nIt 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.\n\n**Expected behavior**\nAn additional parameter to specify the API version to use by the client.\n\n","author":{"url":"https://github.com/TmmmmmR","@type":"Person","name":"TmmmmmR"},"datePublished":"2024-10-09T13:01:25.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/244/semantic-kernel-java/issues/244"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:89dab67f-ca6e-570e-1915-ea4297c57923 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BD8C:3046CB:FCBC0E:17219DF:6A4E384E |
| html-safe-nonce | 8375e0d436de41113e98dd2dd0f8a6a79de63bbd830390e40ea3650056542d56 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDhDOjMwNDZDQjpGQ0JDMEU6MTcyMTlERjo2QTRFMzg0RSIsInZpc2l0b3JfaWQiOiIyMjIyNDEzMDIyMTY0MzAxOTAyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | edaf870573910171de8d44b8d704132a5c320fbf8c1162a9de63dc8df7626a68 |
| hovercard-subject-tag | issue:2575872521 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/semantic-kernel-java/244/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a9ee70180d6778d27a7ab3398da28ec6bf96b964ce167c3a00728742ca125754/microsoft/semantic-kernel-java/issues/244 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a9ee70180d6778d27a7ab3398da28ec6bf96b964ce167c3a00728742ca125754/microsoft/semantic-kernel-java/issues/244 |
| og:image:alt | 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 fo... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | TmmmmmR |
| hostname | github.com |
| expected-hostname | github.com |
| None | 030096ee0db095447bfe77409d33bfac127ca7128299c58deef27c52eaa1b1f0 |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/semantic-kernel-java git https://github.com/microsoft/semantic-kernel-java.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 814249293 |
| octolytics-dimension-repository_nwo | microsoft/semantic-kernel-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 814249293 |
| octolytics-dimension-repository_network_root_nwo | microsoft/semantic-kernel-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 42a6d378d7587a44c93aca255096cd66b7c8eb2d |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width