ToolChoiceObject.DeserializeToolChoiceObject Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static Azure.AI.AgentServer.Contracts.Generated.OpenAI.ToolChoiceObject DeserializeToolChoiceObject(System.Text.Json.JsonElement element, System.ClientModel.Primitives.ModelReaderWriterOptions options = default);
static member DeserializeToolChoiceObject : System.Text.Json.JsonElement * System.ClientModel.Primitives.ModelReaderWriterOptions -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.ToolChoiceObject
Public Shared Function DeserializeToolChoiceObject (element As JsonElement, Optional options As ModelReaderWriterOptions = Nothing) As ToolChoiceObject
Parameters
- element
- JsonElement
- options
- ModelReaderWriterOptions