Yes.
The trick is to use it as an LLM and not a procedural, transactional data set.
For instance, “how do I create a new thread in Python”. Then ask “how do I create a new thread in Python 3.8”. The answers will (probably) be different.
Any interface to chatgpt or similar can help users craft good prompts this way. It just takes thinking about the problem a little differently.
One wildly inefficient but illustrative approach is to use chatgpt itself to optimize the queries. For the Python threading example, I just asked it “ A user is asking a search engine ‘how do I create threads in Python’. What additional information will help ensure the results are most useful to the user?”.
The results:
> The user's current level of programming experience and knowledge of Python
> The specific version of Python being used
> The desired use case for the threads (e.g. parallel processing, concurrent execution)
> Any specific libraries or modules the user wants to use for thread creation
> The operating system the user is running on (as this may affect the availability of certain threading options)
So if you imagine something like Google autocomplete, but running this kind of optimization advice while the user builds their query, the AI can help guide the user to being specific enough to get the most relevant results.