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
reinsdyr#
This is amazing! I've been fed up with the SEO soup google has been serving up the last few years. There are good results on there, but you need to dig to find the good bits you care about. For code debugging stack exchange is often my go to, but for concise code examples and good explanation of how to do something with code, I really like the way phind summarizes the information in a straightforward way.

Makes me want to start coding more in my spare time, as my biggest hurdle is often finding information about how to start or how to do something more complex. I see it as a great way to learn. If it hallucinates something it's not the end of the world, and I'll usually catch it pretty fast.

yawnxyz1 reply#
Whoa. I asked it how to use Facebook's new Segment Anything model on a specific use case in microbiology and it spat out all the code I needed.

What in the world?! This is dark magic.

tinyhouse#
The magic is GPT4. Basically show GPT4 the right context, which today you can use a good retriever model for (I'm sure they also fine-tuned it, probably on GPT4 generated data...), a little bit of good prompt engineering, and viola.
ranguna#
This might be good for simple questions or complex ones that have been asked 1000s times online, but it starts to fail a bit for nich stuff:

> 403 error when updating firebase runtime config using service account
This gave me an answer with 4 bullet points:
Re-authenticate, which doesn't make sense because I'm using a service account.
Verify that the service account has the correct permissions. Which is close, but it doesn't really say the permissions I need.
Use the correct account, which is a good tip for sanity checking, but not too useful.
Run firebase in debug mode, which again is a good tip, but doesn't give me the answer immediately.
A search on a normal search engine links me to a github issue with the answer on the most thumbed up comment.
Chatgpt free version gave me a top notch response about missing permission and it even gave me a possible permission to add, although it was not the correct one compared with the github issue.

pncnmnp1 reply#
Awesome! I can see myself using this everyday.

Are you using LangChain? I'm curious, and if you are, which agents are you experimenting with (such as SERP API)?
Additionally, have you tried playing around with "Question Answering with Sources" (https://python.langchain.com/en/latest/modules/chains/index_...)? If so, how effective has it been in practice?

rushingcreek#
We're not using LangChain -- we built out our core retrieval pipeline long before it existed. But we're big fans! And we hope to contribute some of the things we learned to open source.

Load more comments