We can't have much more confidence that other humans are conscious (solipsism) than we can that dogs are conscious. We could say that other humans have (1) a similar brain to us and (2) we are conscious, then say the corollary (3) other humans are conscious, is likely true. But I could make the same argument for dogs, only premise (1) is slightly weaker.