It wasn't literally a computer as you would typically understand it to be- it was just structured in a way analogous to a computerized AI. It was more like, say, Cortana but not based on a donor's brain patterns. Sentience, both for this fictional gem and in reality, is just a result of complex and vastly numerous connections.
XI Wiki




