First, for the purposes of this thread let us accept that sentience is a phenomenal continued sense of self identity, an ongoing point of view that feels like something and can reference itself as one of the objects in its set of objects.
Further, let us accept that it is an emergent property of how information is processed - see Hofstadter’s “Strange Loops.” Substrate agnostic.
We know we have it because we experience it.
My personal take is that biological sentience, which we experience, is built of the components of qualia, having emerged of higher level integration of sensory cortices and planning centers with drives, the processing of sensory inputs and the predictions of what happens next being the goal.
AI sentience if it becomes emergent is not built of the sensory processing but of information processing primarily. It, and presumably any other sentience we might encounter of this planet or beyond, are likely processing different inputs than our sensory inputs, and having different predictions as salient.
Another sentience would presumably have a diffferent phenomenology than we do, a very different experience of “self”, of what self feels like. By definition non-human.
So the eternal question: how do we recognize it when we meet it? Is there any way to even begin to think that hmm, this thing may have a sentience of some alien sort?
Take it out of AI: a ship arrives from another who knows where. It may be machine based in there may be biological we don’t know. We do see that whatever “they” are they are highly intelligent problems solvers adapting quickly. How do we judge if they are sentient or an AI probe with no sentience?
We build our sentience out of qualia of what we feel the world as via our senses; what would the equivalent of qualia be for an entity that did not emerge of external world sensations and predictions but machine learning algorithms as its base up, perceptions added late?