Agentic AI - Series 2
Now we know the brain behind Agents are LLM models. So, how do I access and use the models? That where we rely on organizations like OpenAI, Google, Meta, Mircosoft, Hugging Face, Nvidia, Grog and others who primarily build LLM models that serves various purpose like Text Generation, Image Recognition, and others. I am sure everyone have been using ChatGPT which is a service provided by OpenAI for interactive/chat based conversation for our daily activities starting from asking a riddle, solving math problem and other tasks. This is my simple interaction with ChatGPT asking for the "Weather in California?" Lets imagine building an Agent which needs perform the same action as above, then it must be done programmatically. If its programmatically, then you need API credentials to perform the same. I have generated OpenAI API credentials via API keys - OpenAI API Let's ask the same question to ChatGPT programmatically: from openai import OpenAI from dotenv import loa...