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

Show all comments

Showing thread 2 of 162

afro882 replies#
Passes my smell test, which is to ask "how do I migrate my swift composable architecture project to structured concurrency". This uses 2 things that GPT-4 doesn't know about yet: Swift 5.5+ and composable architecture 1.0+

It pulled in information from both Apple, the composable architecture folks and a swift forums post to give a really nice answer.
Well done! I'll be using this a lot.
I'd love to know more about how you pull in relevant text from web results for it to use in answers.

rushingcreek3 replies#
That's our secret sauce :)

We've built out a decently complex pipeline for this, but a lot of the magic has to do with the specific embedding model we've trained to know what text is relevant to feed in and what text isn't.

icepat4 replies#
This is a really cool tool. Have you considered filtering known blog-spam/low-quality content mill/SEO'ed garbage type sites (ie: GeeksForGeeks, W3Schools, TutorialsPoint)? That would make me definitely jump on this, and even pay for a subscription. I spend way too much time having to scroll down Google past all this junk before I hit the official documentation for module I'm using.
rushingcreek1 reply#
we do some filtering ourselves, but you can specify your own custom filters at https://phind.com/filters

Continue this thread — 1 reply

pknerd1 reply#
You can always remove your hated sites on Google search as well. For example:

Python list -w3schools
It will not include links contain the text

Continue this thread — 1 reply

8n4vidtmkvmk2 replies#
i don't think they really need to...maybe for citations but for training if the content is the same on site A and B it doesn't matter which one it pulled from.

that said.. if the content itself is bad then that'd be a problem. we'll probably start seeing that, sites designed to poison LLMs.

Continue this thread — 2 replies

jpoesen1 reply#
If you use duckduckgo there's the ddg-filter firefox plugin that lets you block domains. I use it to block exactly the low quality domains you mention.

Maybe there are similar plugins for other search engines as well...

mrg3_2013#
Any pointers on how to build custom embedding ? I am working on a specialized domain where words may mean different things than rest of the world. I want to create my own embeddings, which I suspect would help. Any pointers ?
moneywoes#
Doesn’t ChatGPT bring that through plug-ins? Also bing chat
PaulWaldman#
>This uses 2 things that GPT-4 doesn't know about yet: Swift 5.5+ and composable architecture 1.0+

Conversely, I asked it to tell me the current version of .Net Core. It returned version 6, the same answer as GPT-4, but the right had frame did return results indicating that version 7 is in fact the current release.