OpenAIPromptExecutionSettings.ResponseFormat should be using for structed outputs? #9071
-
Hi, I was reading this recently published article: https://devblogs.microsoft.com/semantic-kernel/using-json-schema-for-structured-output-in-net-for-openai-models/ You were using OpenAIPromptExecutionSettings to use the property ResponseFormat When I use it, I get the message: 'Feature is for evaluation purposes only and is subject to change or removal in future updates.' It also seems that PromptExecutionSettings doesnt have this property. Is ResponseFormat on OpenAIPromptExecutionSettings the correct method I should be using for structed outputs? Will this being changed or removed soon? Thanks :) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @ConnorGuard, thanks for your question. Since the json_schema structured outputs is OpenAI specific functionality, yes, OpenAIPromptExecutionSettings is correct. The reason you're seeing the |
Beta Was this translation helpful? Give feedback.
Hi @ConnorGuard, thanks for your question. Since the json_schema structured outputs is OpenAI specific functionality, yes, OpenAIPromptExecutionSettings is correct.
The reason you're seeing the
Feature is for evaluation purposes...
message is because this is experimental. It's still experimental for OpenAI, and thus subject to change on their side, which forces changes on our side.