Extending AI Capabilities with REST API's
- Eli the Computer Guy
- Dec 3
- 1 min read
Code and Workbook on Github
Description
It's time for your AI application to make friends with its fellow computers and learn to ask them for help. If you ask for information about the weather, your location, current topics of other things an LLM has no built is way of knowing that information. With Python you can use REST API's to communicate with other services that can provide that information.
So you can ask your AI whether you need a rain coat, and it will fid you geographic location, get the weather for where you are and then answer based off of this information.
There are countless REST API's available that can provide everything from weather information, to cat facts. Understanding how to connect to these API's, get the data you care about, and then feed that information to your LLM will take your AI project to the next level.
This class will go over:
What are REST API's
What is JSON
How to Connect to REST API's
How to Parse JSON
How to feed API's data to your LLM
And much more
We will explain how these services work. Demonstrate how to use these services in live code, and you will have time to create simple labs to get the feel for how easy AI can be.