.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
triage
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: