yeah the first of the two with this is a GREAT example, the chief engineer of the ship has a problem he can't figure out so he has the computer make a 'chatgpt' version of the design head and they trouble shoot together.
It is JUST an interface, all the info had to be in the computer already... but by personifying it the engineer was able to come up with a solution.
now when personifying a computer program did it start to run into 'Barkly' and holo suit territory... yup and that is gross (on many levels) however this is pretty much what we are seeing the begining of. a computer you could just search for info on putting it as "what such and such would say" made generating his OWN idea easier useing all the info.
The computer isn't even real AI (they go out of there way to prove this with Data and Lore) it just does stuff and talks and is WAY closer to alexa running chatgpt on a super computer then it is to skynet.
back in the day me and my friends joked if you hooked a ferbie up to a bank of cray computer system and kept teaching it, you could almost have the enterprise computer... and still be 100 steps before data