r/programming • • Jul 27 '23

StackOverflow: Announcing OverflowAI

https://stackoverflow.blog/2023/07/27/announcing-overflowai/
504 Upvotes

298 comments sorted by

View all comments

621

u/fork_that Jul 27 '23

I swear, I can't wait for this buzz of releasing AI products ends.

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?

302

u/AgoAndAnon Jul 27 '23

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.

54

u/nzodd Jul 27 '23

"We have disregarded your question entirely. Here is some information on how to write Hello world in the language you selected."

love,
OverflowAI

→ More replies (3)

11

u/Dreamtrain Jul 28 '23

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"

34

u/amazondrone Jul 27 '23

Only if they remove keyword search. Which they might do, one day, but I bet they don't soon nor if people keep using it.

Probably. Hopefully.

33

u/[deleted] Jul 27 '23

[removed] — view removed comment

12

u/All_Work_All_Play Jul 28 '23

You've just triggered PTSD in so many people. You monster.

8

u/DAS_BEE Jul 28 '23 edited Jul 28 '23

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

→ More replies (19)

6

u/batweenerpopemobile Jul 28 '23

deploy ai only search
search usage goes up 400%
engagement targets hit
no one can find anything and just try till they give up

6

u/dcoolidge Jul 27 '23

Keyword searches are good for language specifics.

→ More replies (5)

25

u/phillipcarter2 Jul 27 '23

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.

→ More replies (3)

5

u/Rudy69 Jul 27 '23

I don’t know how it will go but I find on stackoverflow often the accepted answer is the worst…. Usually the answers below are better and more updated

33

u/halt_spell Jul 27 '23 edited Jul 27 '23

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.

20

u/quentech Jul 27 '23

I wonder if the people running EE realize they're sitting on a gold mine right now

How so? The site effectively died almost 15 years ago. A huge amount of their content is all but irrelevant in 2023.

→ More replies (3)

16

u/matthieum Jul 27 '23

EE was a shitshow.

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.

7

u/Iamonreddit Jul 27 '23

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.

7

u/rwinger3 Jul 27 '23

What's EE?

18

u/qq123q Jul 27 '23

expertsexchange

36

u/send_me_a_naked_pic Jul 27 '23

expert... sex change?

32

u/miclugo Jul 27 '23

They eventually moved to experts-exchange.com because of this.

→ More replies (2)

14

u/ansible Jul 27 '23

Would you really want a non-expert doing your sex change? That seems like a bad idea.

→ More replies (1)

7

u/murderous_rage Jul 27 '23

My favorite is the website that offers you the ability to search for the agency that represents a celeb you were interested in hiring:

whorepresents.com.

I see they are using a favicon that camel cases it to WhoRepresents, nice.

→ More replies (2)
→ More replies (3)
→ More replies (1)

12

u/halt_spell Jul 27 '23

Experts Exchange. They were the Q&A site for years before SO came along and executed what felt like an overnight takeover.

One big difference between EE and SO is EE didn't (doesn't?) close out duplicates.

12

u/send_me_a_naked_pic Jul 27 '23

Also, EE was a pay-walled website.

→ More replies (2)
→ More replies (3)
→ More replies (5)