3 references to DeserializeWithErrorHandling
Aspire.Dashboard (3)
Model\GenAI\GenAIVisualizerDialogViewModel.cs (3)
190
var instructionParts =
DeserializeWithErrorHandling
(GenAIHelpers.GenAISystemInstructions, systemInstructions, GenAIMessagesContext.Default.ListMessagePart)!;
239
var inputParts =
DeserializeWithErrorHandling
(description, messages, GenAIMessagesContext.Default.ListChatMessage)!;
305
return
DeserializeWithErrorHandling
($"{type} event content for message #{index}", json, jsonTypeInfo);