3 references to Serialize
Microsoft.Extensions.AI.OpenAI (3)
OpenAIModelMapper.ChatCompletion.cs (1)
215using var toolChoiceJson = JsonDocument.Parse(JsonModelHelpers.Serialize(options.ToolChoice).ToMemory());
OpenAISerializationHelpers.cs (2)
57BinaryData binaryData = JsonModelHelpers.Serialize(openAiChatCompletion); 86BinaryData binaryData = JsonModelHelpers.Serialize(update);