Yep. There are several scenes in TNG where a crew member, Geordi comes to mind, is collaborating with the computer, having a back and forth brainstorming conversation, solving a problem. Very much like using an LLM today.
https://youtu.be/kLBYFWgpvos?t=56 0:56 - "Yesterday's Enterprise" is that the episode you're thinking of by chance?
https://youtu.be/kLBYFWgpvos?t=56 0:56 - "Yesterday's Enterprise" is that the episode you're thinking of by chance?