Live data from Hacker News

AI teaches itself to use an API

twitter.com

11–20 of 162 posts

Re: AI teaches itself to use an API

#13
post #5

I’ve recently thought about iron man movies, where tony stark actually designs stuffs by simply talking to jarvis. I’ve always thought « if only i could have those kind of tools available, i would too be able to design crazy stuffs ». We didn’t think « damn, tony stark didn’t have to write a line of code, he got rendered obsolete by this damn AI ». That’s how i choose to think about AI tools for developers from now o…

As someone who has been in the game a long time let me tell you that as our tools have gotten better user expectations have gotten way higher. I would argue that it's actually harder than ever before to deliver a true first class product for mobile or web.

Re: AI teaches itself to use an API

#14
post #5

I’ve recently thought about iron man movies, where tony stark actually designs stuffs by simply talking to jarvis. I’ve always thought « if only i could have those kind of tools available, i would too be able to design crazy stuffs ». We didn’t think « damn, tony stark didn’t have to write a line of code, he got rendered obsolete by this damn AI ». That’s how i choose to think about AI tools for developers from now o…

Let's hope in reality it isn't available only to the billionnaire owners of software companies. In those movies everyone else wasn't designing cool suites by talking to voice assistants.

Re: AI teaches itself to use an API

#16
post #5

I’ve recently thought about iron man movies, where tony stark actually designs stuffs by simply talking to jarvis. I’ve always thought « if only i could have those kind of tools available, i would too be able to design crazy stuffs ». We didn’t think « damn, tony stark didn’t have to write a line of code, he got rendered obsolete by this damn AI ». That’s how i choose to think about AI tools for developers from now o…

I don’t see it like that.

To me it illustrates that if you have money and want to build something, you don’t need to hire coders or have any coding skills, AI will help.

And if you’re a regular coder, you just got replaced by Jarvis.

Re: AI teaches itself to use an API

#17

Earlier quoted context omitted.

The AI model seems dependent on the documentation being up to date and readable so I think not just yet. Still very cool though

We need a pact to have bad and out of date API docs at all companies

You needs a pact for that? It's just bowing to the second law of thermodynamics

Which actually, I think guarantees that software engineers will always have to put touches in here and there to remove entropy that the ai has created

Re: AI teaches itself to use an API

#19
in the Toolformer paper, it seems what they are doing is :

* take a performant language model (copied from some other team e.g. GPT-J)

* show the machinery that it can learn new tokens using one or more tools from a provided set of tools ... e.g. WikiSearch tool

* demonstrate that the sequence of characters in the full API call content, has some effect.. e.g. no reply, useless content, or content that helps predict another token. Save that complete set of characters in the API call as an entry

* run a learning session with tool calls to APIs, improve the model for resolving known or new tokens (queries with answers)

* show the model that it can try new combinations itself (!)

* let the machinery try API calls itself to resolve tokens

* minimize loss functions for API results

comments - this is strikingly different than some RDF hard-wired data store.. it is using huge numbers of failed attempts to find results that work. The results that work are complete API calls as type string. It does not seem to care about "learning" the contents of the API calls, just that it is methodical about remembering API calls that work, and retrying those

not a specialist, feedback welcome

Re: AI teaches itself to use an API

#20

Earlier quoted context omitted.

The AI model seems dependent on the documentation being up to date and readable so I think not just yet. Still very cool though

We need a pact to have bad and out of date API docs at all companies

I'm way ahead of you :)
Post reply on HN