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