Later, in 1950, these stories were compiled and published as a novel with an introductory framing story to connect the individual tales.
So, "I, Robot" is both a collection of short stories and a novel, depending on how you view it.