Because with a keyword search, I can eventually figure out that "no, there isn't any answer related to this thing".
With a context search, there are two problems:
First, I never really know if there isn't an answer, or if the search just doesn't want to show me the answer.
Second, AI search results tend to push "common answers". But as a career programmer, usually if I am searching for something I need a niche answer. This will make it harder to find that niche answer.
But as a career programmer, usually if I am searching for something I need a niche answer.
yeah it may be great for "how do I use reduce to get two arrays from this?", "how do I get the highest rated movie from this arraylist?" but not very helpful for "fudgery.js is not fudging and I've already set up all the tom foolery"
This, but much better than I could have written. I'm worried that AI bots will take over traditional search engines that let you, the user, try to narrow down the results with your own ability to provide the right input. With AI bots, they might spew out a lot of useless or made-up crap and overtake traditional search engines because it's "easier" or cheaper and satisfies 90% of users needs, but ends up locking us out of a lot of really niche information
E: or AI search works really well at first, but then the companies that run them neglect to maintain and update the systems (because obviously their new yacht and executive bonuses are way more important) and so the systems degrade over time until they're similarly useless in the way I described before
E2: and just to reiterate for those in management: that's a BAD thing
ChatGPT also uses embedding vectors, but it's for the session you're in. That's how it's able to "understand" past things you mentioned and piece together building context without overflowing the context windows.
Using vector search to pluck out "relevant" things to pass to GPT is a good way to make the GPT calls more reliable, but they're still not going to be deterministic (even with temp set to 0), and you're introducing very challenging retrieval problems into this system. For example, the phrase "I love bananas" is very similar to "I do not love bananas" (most embedding models will score this between 0.85 and 0.9). That's...hard to account for. And on SO there's a LOT of things that negate words, descripting things as what NOT to do, or using quotes that highlight something someone says and refute it. GPT can do better with these kind of subtleties, but now we're back to not using vector search for similar things, and potentially long latencies from chaining several GPT calls.
All's to say that this is all promising, but I think we should have some skepticism that it's going to be better than ChatGPT, at least at first.
Using signals like "this was an accepted answer" isn't related to vector search, but it is a likely good way to apply weights to what gets passed into a GPT call in the first place. There's, again, some cases where the accepted answer is not actually the correct one, but one mitigation against this is to source the answer, plant the link there, and encourage people to explore it for more details.
Because their whole site is dependent on people being willing to answer questions for free. That's already been on the decline for a while and it's likely all answers will be outdated by the time this gets rolled out. At that point they'll have to hire people to answer questions... so an AI can answer questions.
See the insanity?
EDIT: Writing out this comment made me realize something. In a dramatic twist, the very means by which SO attempted to be a better resource than EE has directly resulted in their data being less useful. I wonder if the people running EE realize they're sitting on a gold mine right now.
It may have marketed itself as "experts" answering questions, but having read some of the answers -- it was paywalled with a JS pop-up, you could simply read the HTML source -- quite often they were junior-level at best, if not outright wrong.
I'm very glad SO launched within a few months of my starting work; the quality of answers was vastly better, especially at the beginning.
The answers were still on the page because Google refused to index them if EE would show the answers to the crawler but not the user clicking through from Google.
Whenever I ended up there, you would see the blurred answers etc at the top of the page, a load of random stuff below that and then at the very end of the page the actually readable answers. No need to go into the source.
150
u/Determinant Jul 27 '23
Unlike ChatGPT, this uses a vector database to produce much higher quality responses based on actual accepted answers.
Why wouldn't anyone want to replace keyword search with context search?