How To Trigger APIs using GPT | Build Your Own AI Smart Assistant
Link to code: https://github.com/ai-powered-coder/trigger-apis-using-gpt/blob/main/main.py OpenAI's website: http://openai.com/ OpenAI's Python library: https://github.com/openai/openai-python If there is one topic that pretty much drove the internet nuts over the past few weeks, it would be GPT, particularly ChatGPT. We all saw these videos where people ask ChatGPT crazy questions, starting from how to trade stocks to what’s the meaning of life. In this video, we’ll be talking about how to take GPT to the next level by using it to trigger APIs. In this way you can integrate it into many use cases in your apps, or even use it to build a complete smart assistant (Siri on Steroids). But first of all, a little bit of background. What’s GPT? GPT stands for (Generative Pre-trained Transformer) is a powerful large language model developed by OpenAI. It can be used to generate text that is contextually relevant and grammatically correct, as well as to generate creative text. GPT is capable of a wide range of tasks, from question answering and summarization to translation and text generation. One of the limitations of GPT is that it cannot read from the internet or call APIs to access external data. This means that GPT cannot access external sources of information and must rely solely on the data that it is given at training time. But actually with a little bit of prompt engineering we can use GPT to trigger APIs. And that’s what we’re gonna take a look at in this video.
Link to code: https://github.com/ai-powered-coder/trigger-apis-using-gpt/blob/main/main.py OpenAI's website: http://openai.com/ OpenAI's Python library: https://github.com/openai/openai-python If there is one topic that pretty much drove the internet nuts over the past few weeks, it would be GPT, particularly ChatGPT. We all saw these videos where people ask ChatGPT crazy questions, starting from how to trade stocks to what’s the meaning of life. In this video, we’ll be talking about how to take GPT to the next level by using it to trigger APIs. In this way you can integrate it into many use cases in your apps, or even use it to build a complete smart assistant (Siri on Steroids). But first of all, a little bit of background. What’s GPT? GPT stands for (Generative Pre-trained Transformer) is a powerful large language model developed by OpenAI. It can be used to generate text that is contextually relevant and grammatically correct, as well as to generate creative text. GPT is capable of a wide range of tasks, from question answering and summarization to translation and text generation. One of the limitations of GPT is that it cannot read from the internet or call APIs to access external data. This means that GPT cannot access external sources of information and must rely solely on the data that it is given at training time. But actually with a little bit of prompt engineering we can use GPT to trigger APIs. And that’s what we’re gonna take a look at in this video.