Show HN: Phind.com – Generative AI search engine for developers (phind.com)
Today we're launching 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. It's version 1.0 of what was previously known as Hello (beta.sayhello.so) and has been completely reworked to be more accurate and reliable.
Because it's connected to the internet, Phind is always up-to-date and has access to docs, issues, and bugs that ChatGPT hasn't seen. Like ChatGPT, you can ask followup questions. Phind is smart enough to perform a new search and join it with the existing conversation context. We're merging the best of ChatGPT with the best of Google.
You're probably wondering how it's different from the new Bing. For one, we don't dumb down a user's query the way that the new Bing does. We feed your question into the model exactly as it was asked, and are laser-focused on providing developers the most detailed and comprehensive explanations to code-related questions. Secondly, we've focused the model on providing answers instead of chatbot small talk. This is one of the major improvements we've made since exiting beta.
Phind has the creative abilities to generate code, write essays, and even compose some poems/raps but isn't interested in having a conversation for conversation's sake. It should refuse to state its own opinion and rather provide a comprehensive summary of what it found online. When it isn't sure, it's designed to say so. It's not perfect yet, and misinterprets answers ~5% of the time. An example of Phind's adversarial question answering ability is https://phind.com/search?q=why+is+replacing+NaCL+with+NaCN+i....
ChatGPT became useful by learning to generate answers it thinks humans will find helpful, via a technique called Reinforcement Learning from Human Feedback (RLHF). In RLHF, a model generates multiple candidate answers for a given question and a human rates which one is better. The comparison data is then fed back into the model through an algorithm such as PPO. To improve answer quality, we're deploying RLAIF — an improvement over RLHF where the AI itself generates comparison data instead of humans. Generative LLMs have already reached the point where they can review the quality of their own answers as good or better than an average human rater tasked with annotating data for RLHF.
We still have a long way to go, but Phind is state-of-the-art at answering complex technical questions and writing intricate guides all while citing its sources. We'd love to hear your feedback.
Examples:
https://phind.com/search?q=How+to+set+up+a+CI%2FCD+pipeline+...
https://phind.com/search?q=how+to+debug+pthread+race+conditi...
https://phind.com/search?q=example+of+a+c%2B%2B+semaphore
https://phind.com/search?q=What+is+the+best+way+to+deploy+a+...
https://phind.com/search?q=show+me+when+to+use+defaultdicts+...
Discord: https://discord.gg/qHj8pwYCNg
152 comments
[ 916 ms ] story [ 2805 ms ] threadhttps://www.microsoft.com/en-us/bing/apis/pricing
Thats like 30-searches per day (including any tweaking). How can a solo developer make an MVP based on this?
Interestingly, the very existence of the new Bing does us a favor in this regard -- it warms people up to the idea of using something other than Google, even if it's just for a subset of searches.
https://phind.com/search?q=show+ruby+code+snippet+to+search+...
Phind gets the meaning of computer vision completely wrong.
Google got the meaning right, but answers with a bunch of links of dubious quality.
The performance could be improved. I've having to wait several seconds before the summary is created.
https://phind.com/search?q=why+is+funcref+not+working+in+God...
Running this question again, I got:
> For example, ski resorts at Lake Tahoe usually open after Thanksgiving and close in late April, with February offering the best skiing conditions. In Colorado, the ski season generally runs from mid-November through mid-April, with February being the best time to ski due to the deepest base depth of snow on the mountains and plenty of powder still pouring in. However, early snowfall can bring early openings, and the weather can be unpredictable. In Park City, Utah, the best time to ski is from December to March, with January being the busiest month due to the Sundance Film Festival.
On the other hand, they did state it’s a developer focused search product for technical & factual questions. They’re aiming to make a bot that doesn’t provide opinions, or long convoluted conversations. On that basis your query isn’t a great representation of that.
But what should the answer be anyway? Winter? When there’s snow? When you have a break from work and enough money for a lift pass? When you’re feeling strong and healthy? Should the bot ask you clarifying questions to determine that?
If you asked a person this question they’d either ask you clarifying questions regarding what you actually want to know, or give you a vague answer based on where and when they like to go skiing.
https://phind.com/search?q=How+should+I+filter+a+dictionary+...
https://phind.com/search?q=How+would+I+use+php+to+encode+wit...
https://phind.com/search?q=How+do+I+get+my+data+from+a+datab...
For more complicated prompts it misses the mark a bit but this may be going outside of the intended use case.
https://phind.com/search?q=Create+a+python+class+that+can+pa...
It would be nice if it annotated the projects it suggested in the response. The above query talks about a project called "mov" in the "provided code" but I do not see any code provided.
Running it again, I got a code example:
> Create a python class that can parse MP4 headers
> To create a Python class that can parse MP4 headers, one can use the pymp4 library available on GitHub.
The Box class from this library can be used to build and parse MP4 headers.
The following code shows an example of using the Box class to build an MP4 header and then parse it:
from pymp4.parser import Box from io import BytesIO
header = Box.build(dict( type=b"ftyp", major_brand="iso5", minor_version=1, compatible_brands=["iso5", "avc1"])) print(header)
parsed_header = Box.parse(header) print(parsed_header)
That question wasn't my first question.
For clarity I asked different questions in the top search box assuming that would kick off a new session.
Maybe it's just me, or maybe that what was being aimed for?
https://phind.com/search?q=How+do+I+use+a+cache+that+is+like...
We're thinking about ways to enhance readability by breaking the core of the answer into its own paragraph.
Absolutely fantastic stuff, I’m excited to add this to my tool-belt. There’s a specific feeling of knowing that an answer to your question is very simple and exists somewhere on SO, but the mental effort of sifting pages of answers seems unappealing. It seems like Phind is well suited to do this job for you!
That simple act reduces your cognitive load, as a programmer you mind is two steps ahead assuming this trivial solution you know conceptually but do not want to spend the mental cycles and looking for the quick code so your mind can jump to the next step in the flow.
Great work
this currently returns a wall of text - 545 words for first paragraph. any way to chunk it up? or get a bullet point version?
I hate this so much, I have firefox nightly 107, how is everyone flagging me as out of date ... is it a bad library that you are all using?
I found someone complaining about a similar thing except on WhatsApp Web which also tells them to update Firefox even though they're on FF 107.
Maybe FF changed something used in common feature-detection checks. Perhaps it's fixed in FF 108+.
I think this is probably something that only cloudflare can fix
For everyone not on Firefox, this is one reason why we kept saying a browser monoculture is bad.
"Best California style burrito in Austin".
Nearly every engine shows me burrito shops in California, some give shove reddit links to the top. Google was the only decent response. Phind response is what I would expect from an assistant who researched this for 5-10 minutes of searching the web. Great work!
(now add maps to those results!)
Personally I hope it ends up either freemium or with a reasonable price ideally token based. I very much want to pay to incentivize development of good products but I already subscribe to enough things which is why I hope for more token based services.
(Of course if something is good enough and the pricing is reasonable there are sometimes room for exceptions. Kagi and Telegram are the latest ones for me and only Kagi is "safe", Telegram is mostly as a way to express my gratitude.)
The feature relates to a problem I've encountered as an active intermediate developer with managing the multidunious and varied queries that i might do both getting up to speed and solving problems in-the-wild. I find that what i learn and use doesn't stick right away, so rather than making the same query (and in this case sometimes getting different results) resorted to keeping 3 notebooks for each subject: a technical reference, a working notebook, and a learning log. That's a lot of notebooks!
I mention this because knowledge management and effective learning go hand in hand. And learning something you didn't know seems to be the problem domain of ai search for developers.
Organizing query results thematically by learning trees would be a gargantuan undertaking, and probably far outside the scope of what is already an excellent service. Just putting that out there.
Thanks!