Pytest Lets create a new virtual environment with pytest Create a new folder and cd into it uv init . uv add pytest code . select python interpreter (ctrl + shift + p) and select current interpreter Create a new file called as test_main.py Prompt You are a python expert I have started learning how… Continue reading Python Classroom notes 30/Apr/2026
Author: continuous learner
enthusiastic technology learner
Gen-AI Developer Classroom notes 30/Apr/2026
MCP Server – First look MCP is a type-c charger tool for agents what it means is Can work with agentic framework like lang*, llamaindex, crewai… Can work with any llm MCP is a standard proposed by Anthropic and MCP Standard had few updates MCP has two major components server: exposes the environment Zerodha mcp:… Continue reading Gen-AI Developer Classroom notes 30/Apr/2026
Gen-AI Developer Classroom notes 27/Apr/2026
Customer Support Tickets and grievance Setting up the customer care database Ensure Docker Desktop is installed Windows Mac Now lets start the postgres container with sample schema in it Run the container docker run –name customer-care-db \ -e POSTGRES_USER=myuser \ -e POSTGRES_PASSWORD=mypassword \ -e POSTGRES_DB=mydb \ -p 5432:5432 \ -d postgres:16 Windows docker run –name… Continue reading Gen-AI Developer Classroom notes 27/Apr/2026
Python Classroom notes 26/Apr/2026
External packages in python Python Core Python Standard Library External packages Lets build a project which will get list of s3 buckets in AWS To deal with external packages we need package managers Package manager is a software used to manage external packages Pacakge managers give us three options Install upgrade remove Popular package managers… Continue reading Python Classroom notes 26/Apr/2026
Gen-AI Developer Classroom notes 26/Apr/2026
How can model interact with external environment Tool calling Enabled Models Model cannot call tools, Given multiple tools to it, it can decide which tool will solve your problem and generate a structured output Prompt Role: You will Show me raw llm output on the scenarios which i ask Prompt: I have passed a tool… Continue reading Gen-AI Developer Classroom notes 26/Apr/2026
Gen-AI Developer Classroom notes 23/Apr/2026
What is used to train LLMs Training Phase Supervised Fine Tuning RLHF Distillation Reasoning Models
Python Classroom notes 22/Apr/2026
Exception Handling Lets build a simple application which tell fortune In python we have a class hierarchy for exceptions Base is Base Exception and Exception → Base class for almost all application errors Exceptions are handled in python by try except block import sys if __name__ == "__main__": try: name = input("Enter you name: ")… Continue reading Python Classroom notes 22/Apr/2026
Gen-AI Developer Classroom notes 22/Apr/2026
sub graph Refer Here for changes Refer Here for docs
Gen-AI Developer Classroom notes 22/Apr/2026
What LLM does ? Large Language models just predict the next token. LLMs can generate various types of data (Modal) Text Image Audio Video Code LLM predict next token and that is passed back to the llm and this continues till end of statement or token limit reached
Gen-AI Developer Classroom notes 22/Apr/2026
What LLM does ? Large Language models just predict the next token. LLMs can generate various types of data (Modal) Text Image Audio Video Code LLM predict next token and that is passed back to the llm and this continues till end of statement or token limit reached
Gen-AI Developer Classroom notes 21/Apr/2026
Foundations Definitions and Terms Artificial Intelligence Machine Learning Neural Network Deep learning Vector Representation GPU How to use LLM LLM creation Company offers it directly Use LLM via Cloud Services Buy hardware and run opensource models on premises
Gen-AI Developer Classroom notes 19/Apr/2026
Customer Support Tickets and grievance Cases: Known issue and Known Resolution New Issue, Classify and Notify to right team Serious Issues , Notifying superiors Domain Options: Telecom E-Commerce Banking Health Care Hospitality Insurance App Based Highway Tolls Minimum Viable Product: User should have some web interface where he enters his concern Agent should respond and… Continue reading Gen-AI Developer Classroom notes 19/Apr/2026
Gen-AI Developer Classroom notes 19/Apr/2026
Customer Support Tickets and grievance Cases: Known issue and Known Resolution New Issue, Classify and Notify to right team Serious Issues , Notifying superiors Domain Options: Telecom E-Commerce Banking Health Care Hospitality Insurance App Based Highway Tolls Minimum Viable Product: User should have some web interface where he enters his concern Agent should respond and… Continue reading Gen-AI Developer Classroom notes 19/Apr/2026
Gen-AI Developer Classroom notes 18/Apr/2026
Long term memory Refer Here for long term memory In langgraph to store long term memory we need Runtime: for storing and retrieving store: This is where we pass type of long term memory Namespace: This is like a folder structure short term memory belongs to a thread and long term memory is across threads.… Continue reading Gen-AI Developer Classroom notes 18/Apr/2026
Python Classroom notes 17/Apr/2026
Add more features to todo list We dont support completed, we just remove the items We dont track times To do this we need to store id task planned start time planned end time Expected start time Expected end time category completed Version 1: Using JSON JSON (JavaScript Object Notation) is a file format which… Continue reading Python Classroom notes 17/Apr/2026
Python Classroom notes 15/Apr/2026
python arg parse contd… Subparser: This gives an option to create a different parser with argparse Refer Here Try building a cli around project euler calculator with general and financial
Gen-AI Developer Classroom notes 15/Apr/2026
Primitives Thread => This is the current conversation langraph accepts the config, As part of that config we can pass thread id To remember the conversations with in particular thread we use short term memory. To save the state at every node with in a thread langgraph has checkpointer Checkpoints prompt Explain configurable structure in… Continue reading Gen-AI Developer Classroom notes 15/Apr/2026
Gen-AI Developer Classroom notes 15/Apr/2026
Primitives Thread => This is the current conversation langraph accepts the config, As part of that config we can pass thread id To remember the conversations with in particular thread we use short term memory. To save the state at every node with in a thread langgraph has checkpointer Checkpoints prompt Explain configurable structure in… Continue reading Gen-AI Developer Classroom notes 15/Apr/2026
Python Classroom notes 14/Apr/2026
Building Command line Applications A command line application helps in a simpler interfaces easy to automate A command line application is supposed to have help validations Generally command line applications have two types of arguments positional arguments named arguments Prompt: Give me examples on building a write cli command with named arguments I’m interested in… Continue reading Python Classroom notes 14/Apr/2026
Gen-AI Developer Classroom notes 14/Apr/2026
MessagesState This is useful shortcut if you want to work with Messages This has built-in messages key It also has built-in add_messages Reducer Refer Here for notebook with state related stuff. Each graphs invocation is stateless To make it stateful : add previous state to current Langgraph supports this with, To understand them we need… Continue reading Gen-AI Developer Classroom notes 14/Apr/2026
