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
illnewsthat1 reply#
This worked well for the one sample query I tried. Running unlimited GPT-4 API calls (plus search API calls maybe?) for people sounds expensive.

What is your monetization strategy for this tool?

rushingcreek1 reply#
Thanks! We're going to have a 'Pro' tier where users can ask much longer questions and paste in longer code snippets among other productivity-focused features.
zht2 replies#
So you’re going to encourage people to paste in code, likely from work, into GPT-4?
rushingcreek1 reply#
We're working on building out our own models of similar quality that will have stricter privacy guarantees.

Continue this thread — 1 reply

column#
"We're building a road" So, you're encouraging employees to be reckless with the company cars?
Etheryte3 replies#
It seems to work nicely on simple queries, however there are some rough corners which I don't think have a simple solution. For example the query "how to set the timezone in react-datepicker" first offers a Stack Overflow solution from 2019, however that answer is outdated and no longer works. The other solution offered copies code from a different Stack Overflow answer verbatim, which is problematic since it doesn't correctly license the code — code on SO is CC BY-SA which means you have to both attribute credit and link to the license.
adamkochanowicz#
This is likely because it is using GPT 3.5 turbo in part of its stack who's knowledge base is cut off in September 2021.
tiagod1 reply#
Is a code example on how to use an OSS library API copyrighteable?

My intuition is it shouldn't be

Etheryte#
The answer is actual code on how to manipulate datetimes forward and backwards between timezones, it's not simply an API call.
pmoriarty#
> that answer is outdated and no longer works

This is one of the biggest challenges that I see for LLMs in relation to codig: Giving answers that work on the particular language and library version(s) you're developing for.
Most of the data these LLMs are trained on aren't labeled as to version number, so they really have no way of determining which version of a particular language or library the code they provide will work on.
It might work if you're doing something generic enough. Otherwise you're going to have to rely on luck on it working with your particular version.
I can't think of a way to overcome this.

codekaze#
I absolutely loved it! One of the problems I kept facing when using GPT-4 was how old its training data was. This is just amazing. I've already spent almost $30 alone on GPT-4 this month alone. So I'd really consider paying you for this service instead.

Load more comments