Not every computer AI that can pass the Turing test is considered sentient.
Right. As I said, it was never meant to be a test of sentience, just of mimicry. Turing thought that if a machine could be programmed to mimic intelligent behavior, it could assist in studying how human intelligence works, similarly to how computer simulations of the weather are used to learn about and predict the weather.
In the movie
Ex Machina, when Oscar Isaac's and Domnhall Gleeson's characters talked about the Turing test at first, I was afraid the movie was falling into the usual trap of presenting it as proof of sentience, but then afterward they talked about the flaws in the idea and made it clear that it wasn't enough of a test on its own. By contrast, the surprisingly similar low-budget film
The Machine from the previous year (with Caity Lotz in the title role) uncritically embraces the idea that the Turing test is the single definitive proof of artificial consciousness.
I’m open to the possibility an AI could be sentient, provided it has the ability to generate its own priorities based on absorbing and adapting to completely unexpected information.
I've never seen any reason to believe AIs couldn't be sentient. It's just a matter of the complexity of the neural network, regardless of what it's made of. And of course in Trek, it's a given that at least some AIs have been sentient -- Rayna Kapec, V'Ger, Data, Lore, Lal, the "Evolution" nanites, Moriarty, the Countess, the exocomps, the entity birthed by the
Enterprise in "Emergence," the
Voyager EMH, the Think Tank's AI member,
mayyyyybe Vic Fontaine. Also probably the Shore Leave planet's computer, as seen in "Once Upon a Planet." And the Guardian of Forever, if that can be considered an AI.
Aside from Rayna, though, I don't think TOS portrayed its AIs as genuinely sapient beings; they were usually pretty rigidly constrained by their programming and incapable of flexibility or creativity. Of the Exo III androids, Ruk may have been sentient, but Andrea and dupli-Kirk seemed pretty limited, and even Korby seemed a slave to his programming at the end. If he was sentient, it was only by duplicating the original Korby's mind. The M-5 had some degree of humanlike thought, but again, it was by copying Daystrom's engrams. By contrast, while Landru was a computer simulation of its creator, it didn't seem to have any genuine intelligence, just rigid algorithms. And Mudd's androids seemed to be nothing more than drones operated by a single central mainframe with very limited intelligence and adaptability.