Lurker News
Hi HN,

Today 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

Earlier comments
an_aparallel#
I just tried getting some info about doing regex commands - the default response gave me a solution for Python, then i asked for plain regex, got that, then the same thing in Powershell...god this is what the internet is about. Amazing :) Now to verify in regex101...
leogout#
Hello, thank you for sharing this project. I saw this entry on HN this morning and thought I could try it for one day. I have been a professional google user for the last 6 years so my search queries are biased, I tend to search for keywords exclusively in english. It's been refreshing to be able to talk in my native language and to explain clearly what my problem is instead of searching for broad keywords and narrow it down manually as I am used to.

One thing I found annoying was that I cannot copy paste part of the prompt while it is being generated because I cannot select it, the selection gets canceled.

jumploops1 reply#
The web search aspect of this is great, I find that GPT-4's knowledge cut-off leads me down pathways far too often where a library is now out-of-date (e.g Next.js, React)

We were actually joking that we should limit all of our dependencies to pre-2021 ;)
With that said, I tried a few toy examples and was led astray. One simple prompt:
> How do you center an emoji at 100px size in the middle of a blank html page using tailwindcss?
Led to a suggestion on how to do this with CSS, linking to StackOverflow. GPT-4 correctly used TailwindCSS in their result (even without any plugins).
My new workflow is "try GPT-4, fall back to Phind" -- I hope that order switches soon!

jumploops#
Very nice! It seems the "expert toggle" might not respect history? Looking back at my query from yesterday, the UI implies Expert mode was enabled, but I bet it wasn't when I first ran it.

Thanks for a great tool.

legel#
I just asked a very technical question that previously (1) ChatGPT did not answer well and (2) nobody has answered well. I actually had already answered the question for myself (“How to do PBR rendering in PyTorch3D?”) but decided to ask Phind as a test. In fact, the links and step-by-step guide from Phind did clarify a bit. More importantly, I can verify it gives a correct result free from hallucinations. I’ve been waiting for someone to develop this constraint on top of GPT: it is forced to reference and point to real documentation/websites. Thanks to the team, congratulations.

Load more comments