7 references to FailureReason
Microsoft.Extensions.AI (7)
ChatCompletion\ChatResponse{T}.cs (7)
63FailureReason.ResultDidNotContainJson => throw new InvalidOperationException("The response did not contain JSON to be deserialized."), 64FailureReason.DeserializationProducedNull => throw new InvalidOperationException("The deserialized response is null."), 65FailureReason.ResultDidNotContainDataProperty => throw new InvalidOperationException("The response did not contain the expected 'data' property."), 118private T? GetResultCore(out FailureReason? failureReason) 129failureReason = FailureReason.ResultDidNotContainJson; 145failureReason = FailureReason.ResultDidNotContainDataProperty; 154failureReason = FailureReason.DeserializationProducedNull;