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