Live data from Hacker News

AI teaches itself to use an API

twitter.com

121–130 of 162 posts

Re: AI teaches itself to use an API

#121

A little off topic but I do wish we had some more precise language for machine learning applications. When we say it "knows" something it seems to anthropomorphize it, as if it's conscious. As a start to replace "knows" maybe "infers" or "calculates"

knowledge is possession of facts so computers can know things

"understanding" on the other hand...

Re: AI teaches itself to use an API

#122
post #36

So the AI can learn to use APIs that follow perfect RESTful semantics, are fully documented and intuitively behave exactly like one would expect. Our jobs are safe.

You already have Zapier and their competitors which are filling this need (and they didn't destroy the whole industry)

Re: AI teaches itself to use an API

#123
post #26

Earlier quoted context omitted.

How did you do this?

I told it "Here is a shell prompt, try running a command..." then copied its command into the shell, copied the output back into ChatGPT, with the prompt "Here's the output, try another" and so on.

I did the same yesterday. don't forget to add the following to the prompt: "for dangerous commands, such as `rm` emit a "danger!" warning.

if such a warning occurs, I insert a confirmation dialogue.

Next: parse and compile the code and language in

```language blocks ```

Re: AI teaches itself to use an API

#124
post #78
post #36

So the AI can learn to use APIs that follow perfect RESTful semantics, are fully documented and intuitively behave exactly like one would expect. Our jobs are safe.

Our jobs are safe for now. That's not my takeaway. Our jobs will eventually be "unsafe."

Yep, they're safe in 2023. At the rate things are going, I don't even know what's gonna happen in 2024.

Re: AI teaches itself to use an API

#125
post #78

Earlier quoted context omitted.

Our jobs are safe for now. That's not my takeaway. Our jobs will eventually be "unsafe."

Our jobs could eventually become unnecessary

People who say this are just short sighted.

Unless all jobs are unnecessary, you just change your job.

People seem to assume that if robots can code, all coders are out of a job, but I mean, if I didn't have to code, I'd just start all the businesses I've always wanted to start because like all the business people who are going to be replacing me with a bot, I too will have the time to replace business people with my bots.

Of course by this stage, if coders are replaced, pretty much all jobs will be replaced, millions, maybe billions of people will be jobless and without any ability to earn a wage, in other words, you won't be the only one with real problems when coders lose their jobs, it's just a matter of time till most jobs follow.

Not sure what we're hoping to get out of the AI future, but it seems like we're very intent on finding out at this point.

Maybe we're all just working towards making Ray Kurzeweil immortal at this stage?

My gut tells me though, we'll just be augmenting ourselves for a long time, and things will become faster paced.

Re: AI teaches itself to use an API

#126
post #75

Earlier quoted context omitted.

3D printers are cute and all, but untill it can build a car engine, this is not a valid argument

I bet with a lathe, a 3d printer and AGI you could make the tools you need to build an engine. I’m not sure why you would though, since electric motors are both the future and 3D printable.

With a lathe and hand tools you Can build an engine, that's how first engines were built.

If that's the criteria, AI and 3D printing are superfluous. What are they contributing?

Re: AI teaches itself to use an API

#127
post #84

I’m a skeptic. There is no evidence behind this tweet that the technique works. I may be mistaken, but I don’t see the authors as having a background in the field. Likewise they don’t describe the technique in any detail. Sounds like snake oil to me, or fake it until you make it.

GPT3 has demonstrably been able to run/execute execute and make API requests with python for quite some time now. You can test it too. See here

https://twitter.com/sergeykarayev/status/1569377881440276481

https://twitter.com/sergeykarayev/status/1570868002954055682

None of this seems like it would be hard to implement. The memory would be the more out there thing but even that would be a matter of retrieval.

Re: AI teaches itself to use an API

#128

This video struck me as possibly being fake. Come on, just shuffling around some URL paths? Any idiot could create a video like that. Sorry, but no sorry.

GPT3 has demonstrably been able to run/execute execute and make API requests with python for quite some time now. You can test it too. See here

https://twitter.com/sergeykarayev/status/1569377881440276481

https://twitter.com/sergeykarayev/status/1570868002954055682

None of this seems like it would be hard to implement. The memory would be the more out there thing but even that would be a matter of retrieval.

Post reply on HN