AI as a Copilot for APIs: Generating and Using API SDKs

Опубликовано: 03 Июнь 2024
на канале: Erik Wilde
361
3

Almost all developers have used copilot now, which ‪@GitHub‬ has popularized as "your AI pair programmer". But when it comes to developing with APIs and improving the developer experience of API consumers, how can that idea be adapted? Adeel Ali of ‪@apimatic‬ has some ideas where and when to best use AI.

The general idea is that while AI is powerful and useful, it also has some problem in terms of not always choosing deterministically, and of course the well-known phenomenon of hallucination.

How can we best build a solution to assist API users in their goal of working with an API? Adeel claims that fundamentally, there are three parts of the journey of an API developer:

① Understanding the domain and the functions of the API: This phase is about exploring and understanding the API itself. AI can help because when trained on all available documentation of an API, GenAI can help to build a chatbot that can answer questions about the API.

② Using the API as technically required by its design: This is the phase where it's about getting the mechanics of the API right. This is a deterministic task where it's possible to generate code in a deterministic way that helps with API mechanics on the client side.

③ Using the API to solve your problem: When it comes to implementing the solution then this once again can benefit from AI, only that now the training data is not so much the documentation but a number of existing use cases that then specifically help with using the generated code for a new scenario.

It seems that this division of tasks minimizes the number of times developers have to "trust" AI while still assisting in those two cases (① & ③) where providing a copilot can help.

If you're interested in more details here you can find resources to follow-up. One of them is the "API Co-Pilot" of APIMatic which for now is in private beta, but if you ask nicely Adeel Ali may let you try it!

👉 Introducing API Co-pilot - Your AI-powered Integration Assistant - https://docs.apimatic.io/changelog/in...

👉 API Adoption in the Age of AI Code Assistants (Adeel Ali presenting at 2024 San Francisco API meetup) -    • API Adoption in the Age of AI Code As...  

If you're interested in regular news from the API space, including updates about new tools and technologies, subscribe to "Getting APIs to Work" here:    / erikwilde  

#api #apimanagement #workflows #apiworkflows #codegeneration #genai #ai #copilot #apimatic #gettingapistowork #digitaltransformation


Смотрите видео AI as a Copilot for APIs: Generating and Using API SDKs онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Erik Wilde 03 Июнь 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 36 раз и оно понравилось людям.