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
theusus#
What will be or is the pricing model of Phind?

As a privacy concerned person is the search engine focused on ensuring it doesn't consume user data.

ck_one2 replies#
It's a good step up from using pure GPT4.

What do you think how they built it? How do you access content from other pages so quickly?
My guess is that they have crawled a lot of popular developer docs pages (Mozilla, Stackoverflow, Youtube, etc) and created embeddings for all paragraphs on these sites. Then for each search query they use a clever prompt + use the knowledge from the embeddings look up.

rushingcreek1 reply#
Something like that :)
ck_one#
It looks like you are using the bing api to search the web and then somehow integrate the result into the answer. Will do more digging ;)

Cool project and it seems like you and your team have working on it long before the hype began.

mrg3_2013#
Would you need to create a new set of text embeddings ? Do you know if it could be done cheaply ?
have_faith#
A UX model that I think is more powerful (but less sexy) is to focus on the "dumb" parts of the question, that is: surfacing url's and fragments from those url's that relate to the question, and then sprinkle some LLM summarising on top. Instead of leading with a meandering LLM explanation of the subject with some references thrown on top. I want to AI to assist instead of lead. The UX of an unravelling conversation should be the sideline of my quest for answers, not the main show. If this was a preferable UX to developers we would design our existing documentation sites very differently.

Unrelated, a search I made: I asked it how state management could be handled in html Web Components. It described how server side state works in Microsoft's Blazor, described React and Redux, and then briefly mentioned hooks and class based components in React. None of which is related to Web Components.

djokkataja#
These directions don't work, though:

> Download the tinyLM.hpp file from the tinyLM GitHub repository and include it in your project.
"tinyLM GitHub repository" links to https://github.com/sksg/tinyLM/blob/master/tinyLM.hpp, but that's a 404 page. And digging around in the actual repository doesn't show a tinyLM.hpp file anywhere--it looks like the project never actually developed beyond a gitignore and a readme.

Load more comments