Show HN: GPT-4-powered web searches for developers (opens in a new tab)phind.com
1401 pointsToday we’re launching GPT-4 answers on Phind.com, a developer-focused search engine that uses generative AI to browse the web and answer technical questions, complete with code examples and detailed explanations. Unlike vanilla GPT-4, Phind feeds in relevant websites and technical documentation, reducing the model’s hallucination and keeping it up-to-date. To use it, simply enable the “Expert” toggle before doing a search.
GPT-4 is making a night-and-day difference in terms of answer quality. For a question like “How can I RLHF a LLaMa model”, Phind in Expert mode delivers a step-by-step guide complete with citations (https://phind.com/search?cache=0fecf96b-0ac9-4b65-893d-8ea57...) while Phind in default mode meanders a bit and answers the question very generally (https://phind.com/search?cache=dd1fe16f-b101-4cc8-8089-ac56d...).
GPT-4 is significantly more concise and “systematic” in its answers than our default model. It generates step-by-step instructions over 90% of the time, while our default model does not.
We’re particularly focused on ML developers, as Phind can answer questions about many recent ML libraries, papers, and technologies that ChatGPT simply cannot. Even with ChatGPT’s alpha browsing mode, Phind answers technical questions faster and in more detail.
For example, Phind running on “Expert” GPT-4 mode can concisely and correctly tell you how to run an Alpaca model using llama.cpp: (https://phind.com/search?cache=0132c27e-c876-4f87-a0e1-cc48f...). In contrast, ChatGPT-4 hallucinates and writes a make function for a fictional llama.cpp.
We still have a long way to go and would love to hear your feedback.
Comments (414) 162 threads
Show all comments
Showing thread 7 of 162
Context: I have a piece of Druid SQL code that a coworker wanted to debug. I asked Phind to help me debug it and provided it all the context. Phind made an assertion about a possible bug in my code and suggested a variation. However when I pressed it to explain the anomaly it went about in circles. When I followed up, it veered off course with an apology and a totally irrelevant answer.
>I apologize for any confusion caused. The SELECT MAX("N_logins") and SELECT MAX(res."N_logins") statements are the same in terms of functionality.
>In the context provided [Source 2], these SELECT statements are not related to the Druid SQL query discussed earlier. Rather, they are related to the limits.conf file in Linux, which specifies system resource limits for users and processes.
Understandably it's just a limitation of the current LLM's resoning abilities, somehting you'd uncover by prompting them to play a game of Tic Tac Toe
Are they expected to be able to justify their answers?
Anyway, getting back to the sort of part of my answer to you. We’ve had an issue where junior engineers trust GPT a little too much. This is more a psychological I suppose, but where they might not take what they find by “google programming” for granted, they are much more likely to believe that what GPT is telling them is correct. Which can be an issue when what GPT is telling then isn’t correct. Where our more senior engineers will laugh at it, and correct it’s mistakes, our juniors will trust it.
I’ll give you one example, we had a new programmer pull some information from a web-service and have GPT help them handle the json. GPT told the developer to disable our rules linter and handle the json dynamically, doing something like items.items[0].haps, and other such things. Which works, until it doesn’t. You can scoff at us for using a lot of Typescript on the backend, and we certainly shouldn’t have allowed this to ever get build in our automation, but that would still create something that might cause some really funny errors down the line. I know, because part of why I’m there is because the organisation used to do these things all the time, and it’s lead to a lot of “funny” things they needs to be cleaned up.
Anyway, this isn’t necessarily a criticism of GPT, because it still does other things well, but it is a risk you need to consider, because I do think someone is going to be able to justify those answers you talk about, and if it’s not GPT then it’ll have to be the developer who uses GPT. In many cases it won’t be an issue, because we live in a world that’s sort of used to IT not working all the time, but you probably wouldn’t want your medical software to be written in this manner.
No one will consider the risk under deadline pressure. The deeper down a tech stack you go barely anyone knows what the hell is going on anymore, and or how to fix it, precisely because of half baked code added in this fashion, which accumulates over time.
At the end of the day dealing with blackbox tech is similar to dealing with ppl or groups of ppl behaving in strange inefficient ways.
Continue this thread — 5 replies
That's where I am struggling to reconcile the new roles AI enables. Do we still need to be software experts? If so, usually I already know what to write, so why bother having an intermediate step. I never think to myself, I should delegate this task I am half way through to a junior. That's harder than just finishing it.
I hear this question a lot, and I think it's phrased wrong. There's certain problems that require accuracy, high quality, or confidence in reasoning. ChatGPT is ill suited for those problems. Other problems can tolerate poor accuracy, and ChatGPT will be suitable for those problems.
I wouldn't want my doctor using ChatGPT. But if a history game used ChatGPT to show historical quotes on a loading screen, I'd be OK if some were inaccurate or misattributed.
The expectation comes from the problem you're trying to solve. As we get a better understanding of ChatGPT limits our expectations will get better aligned.