.Net: Extend function calling model to support strict mode #9786
Labels
ai connector
Anything related to AI connectors
function_calling
.NET
Issue or Pull requests regarding .NET code
sk team issue
A tag to denote issues that where created by the Semantic Kernel team (i.e., not the community)
Context: {Azure}OpenAI support the 'strict' mode for function calling that tells the model to adhere to JSON schema of the function definition:
Source: https://platform.openai.com/docs/guides/function-calling
Enabling this mode should ensure that the arguments generated by the model for a function call exactly match the JSON Schema provided in the function definition.
ToDo: Add the new
AllowStrictSchemaAdherence
property to theFunctionChoiceBehaviorOptions
class allowing activation of the strict mode for function calling.The text was updated successfully, but these errors were encountered: