AI Contd.. AI Categories: Predictive AI: This predicts based on historical data. Generative AI: This generates a new content which can be multi modal(text/audio/image/video) Descriptive AI: This tells what has happened according to data. () Prescriptive AI: This tells me what to do according to data. (Recomendation systems) ANN (Artificial Neural Network) ANN will have… Continue reading Gen-AI Developer Classroom notes 30/Jul/2025
Category: Classroom notes
Gen-AI Developer Classroom notes 29/Jul/2025
Artificial Intelligence Artificial intelligence refers to capability of system to perform tasks like human. Augmented Intelligence: AI works with humans (enhances human productivity) Human traits learn reason memory AI Winters AI Categories by strength: Narrow AI: AI performing domain specific tasks General AI: AI can perform tasks equal to humans Super AI: AI can perform… Continue reading Gen-AI Developer Classroom notes 29/Jul/2025
Gen-AI Developer Classroom notes 27/Jul/2025
Running MCP Server in docker Lets create an MCP Server’s basic structure Refer Here for the basic template Refer Here
Gen-AI Developer Classroom notes 27/Jul/2025
Running MCP Server in docker Lets create an MCP Server’s basic structure Refer Here for the basic template Refer Here
Gen-AI Developer Classroom notes 26/Jul/2025
Docker compose This file helps in creating a single command start and destroy for the entire application. This is majorly used in developer environments. Docker compose file is written in YAML format. YAML This is a file format which stores any data in the form of name value pairs Yaml is collection of key value… Continue reading Gen-AI Developer Classroom notes 26/Jul/2025
Gen-AI Developer Classroom notes 25/Jul/2025
Next Steps Containerizing Applications/Agents Overview Lets learn to containerize applications What is a container ? Container Image (Docker Image) => This contains software that packages up code and all its dependencies. This is required to run a container. Registry is a repository of docker images. Docker hub is a default registry Tags are versions and… Continue reading Gen-AI Developer Classroom notes 25/Jul/2025
Gen-AI Developer Classroom notes 22/Jul/2025
MCP Server contd Using linked in api Sharing on linked in Lets use linked_api_client which has methods to perform operations To get the info and post """This module will have necessary functions to post to your linked in """ import os from functools import lru_cache from dotenv import load_dotenv from linkedin_api.clients.restli.client import RestliClient PROFILE_RESOURCE =… Continue reading Gen-AI Developer Classroom notes 22/Jul/2025
Gen AI Developer Classroom Notes – 21/Jul/2025
Gen-AI Developer Classroom notes 19/Jul/2025
Async Programming Async programming is ensure we are not getting blocked. A function defined with the following syntax is referred as coroutine async def …..(): ….. A coroutine is function that can be paused or resumed Coroutines to execute require a scheduler. A scheduler runs on a single thread and manages tasks effeciently Await waits… Continue reading Gen-AI Developer Classroom notes 19/Jul/2025
Gen-AI Developer Classroom notes 19/Jul/2025
Async Programming Async programming is ensure we are not getting blocked. A function defined with the following syntax is referred as coroutine async def …..(): ….. A coroutine is function that can be paused or resumed Coroutines to execute require a scheduler. A scheduler runs on a single thread and manages tasks effeciently Await waits… Continue reading Gen-AI Developer Classroom notes 19/Jul/2025
Gen-AI Developer Classroom notes 16/Jul/2025
Resolution to the problem Ensure VIRTUAL_ENV Environment variable does not exist on your system In StdioServerParameters, if relative paths are not working add full paths for command and full path for args server_params = StdioServerParameters( command=r"C:\khajaclassroom\GenerativeAI\agenticai\june25\langgraph-learning\.venv\Scripts\python.exe", # Make sure to update to the full absolute path to your math_server.py file args=[r"C:\khajaclassroom\GenerativeAI\agenticai\june25\langgraph-learning\experiments\mcp_math.py"], ) Lets Build an… Continue reading Gen-AI Developer Classroom notes 16/Jul/2025
Gen-AI Developer Classroom notes 15/Jul/2025
Messages lanchain has different types of Messages System Message: We use this set context. Human Message: This is question which we ask AI Message: This is generally reply from model Tool Message: This is message which involves calling tools Lets interact with llm using these messages Refer Here Tools LLMS have started adding capability which… Continue reading Gen-AI Developer Classroom notes 15/Jul/2025
Gen-AI Developer Classroom notes 14/Jul/2025
Langchain contd Runnable interface and Refer Here for key methods Models in Langchain Text Models Chat Models For our purpose we use chat models & all chat models are derived from BaseChatModel, here we get additional capabilities rather than just invoke and stream we can Chat Models have a method which is bind tools which… Continue reading Gen-AI Developer Classroom notes 14/Jul/2025
Gen-AI Developer Classroom notes 12/Jul/2025
Langchain & LangGraph Langchain: Langchain abstracts the llm interactions Langchain provides all the necessary tooling to build the ai enable applications Langgraph: Langgraph helps in building complex agent by creating workflows as graphs Refer Here Abstraction To interact with models (llm) langchain has chat models setup: create a new folder execute uv init create virtual… Continue reading Gen-AI Developer Classroom notes 12/Jul/2025
Gen-AI Developer Classroom notes 10/Jul/2025
MCP Servers contd Lets try integrating our mcp server with llm and get the work done On windows, Create and environmental variables VIRTUAL_ENV and pass the value of your folder of .venv C:\khajaclassroom\GenerativeAI\agenticai\june25\mcp\servers\dummy_sales_data\.venv Now run the mcp based on configuration from claude, it should work How to integrate this MCP server with MCP Host In… Continue reading Gen-AI Developer Classroom notes 10/Jul/2025
Gen-AI Developer Classroom notes 09/Jul/2025
Data Generator MCP contd Refer Here for new changes ensure you have delete all the containers and volumes Get the latest version of the code cd into the folder june25/mcp/servers/dummy_sales_data Run the command docker compose up -d Now open docker desktop and click on phpmyadmin port (8080) Every time to remove all the data generated… Continue reading Gen-AI Developer Classroom notes 09/Jul/2025
Gen-AI Developer Classroom notes 07/Jul/2025
MCP Servers contd… Resources and Prompts Refer Here for official docs on mcp resources Refer Here for changes done to implement a simple resource Refer Here for the official docs of prompts Refer Here for the changes to implement prompts Lets build mcp server Lets assume we have ecommerce website and the data is stored… Continue reading Gen-AI Developer Classroom notes 07/Jul/2025
Gen-AI Developer Classroom notes 05/Jul/2025
MCP Server In the last session we have used existing mcp Servers with Claude Desktop. Goal: Today lets try to write our own mcp server and call it from claude Introduce mcp inspector. MCP Server has 3 components tools resources prompts Steps Refer Here for mcp server quick start with python. Create a new directory… Continue reading Gen-AI Developer Classroom notes 05/Jul/2025
Gen-AI Developer Classroom notes 02/Jul/2025
Lets play with mcp Ensure Claude Desktop is installed. Lets run a simple mcp server and interact with claude desktop In todays session the claude desktop will be used as mcp host Mcp servers might be developed in python or nodejs or java or c# MCP servers can also run in docker containers Lets install… Continue reading Gen-AI Developer Classroom notes 02/Jul/2025
Gen-AI Developer Classroom notes 01/Jul/2025
MCP Contd MCP Architecture Overview MCP Server: This is server side of mcp which works with external datasources (Google Drive, Slack, Github…………….) MCP Host: This is an IDE/LLM Chat Interface/Python code Host creates one mcp client per mcp server MCP Client: Interacts with MCP Server Transport Layer: Stdio transport: MCP Client and MCP Server on… Continue reading Gen-AI Developer Classroom notes 01/Jul/2025
