Object Oriented Programming object is an entity which is real (my bank account) Since we create multiple objects we use classes which define blue print Principle: Design a class Create an object work with objects Class will have members (attributes), members are nothing but variables Class will have methods Refer Here for programiz article In… Continue reading Python Classroom notes 25/Mar/2026
Gen-AI Developer Classroom notes 25/Mar/2026
AI Agent Simple chatbot: Generally Rule based AI Agent: This is the system which uses LLM to figure out what has to be done to acheive the goal Since LLM makes decisions, it can build autonomous systems (minimal or no human intervention.) Think of AI Agent as an employee or your peer. Agentic AI involes… Continue reading Gen-AI Developer Classroom notes 25/Mar/2026
Python Classroom notes 24/Mar/2026
Object Oriented Programming Mental model: Every thing is object Object has Contents: What it has Characteristics: What it can do Library as a system Objects: book: characterstics: rent contents: id author title librarian characteristics: lend books collect books Contents: username emailid User: Characteristic: rent book return book pay subscription Contents: username mobileno email rack Characteristics:… Continue reading Python Classroom notes 24/Mar/2026
Gen-AI Developer Classroom notes 24/Mar/2026
Tool calling LLMs generate text (audio, video, images, code) mostly from trained data Imagine we need the following current stock price next 5 days of weather latest news about tech OpenAI introduced LLMs with tool calling ability LLM decide which tool to call and your system/program will execute the tool and pass the response back… Continue reading Gen-AI Developer Classroom notes 24/Mar/2026
Python Classroom notes 23/Mar/2026
Lets add sales Watch classroom recording Refer Here for the changes Exercise: To implement reducing items from inventory when sale is confirmed.
Gen-AI Developer Classroom notes 23/Mar/2026
Prompt Engineering Contd Chain of Thought This kind of prompts enable reasoning and keyword step by step Example Each pen costs 10 rs and pencil costs 5 rs Tell me what would be price of 17 pens and 20 pencils with 10% discount step by step Multiple Answers When we are evaluating plans Example you… Continue reading Gen-AI Developer Classroom notes 23/Mar/2026
Python Classroom notes 20/Mar/2026
Point of Sale Implementing inventory functions add item is already implemented update, get and delete item Refer Here for the changes Exercise: Try debugging the code with test.py by adding atleast 3 products updates delete search items
Gen-AI Developer Classroom notes 20/Mar/2026
Writing Effective Prompts Clear and Explicit Prompts Example Explain leadership A clear and explicit prompt You are a leadership coach. Explain leadership to college students Include: – 2 definitions – 2 examples – 3 tips Keep it under 200 words The second prompt works better because Role gives a perspective (coach vs general assistants) Audience… Continue reading Gen-AI Developer Classroom notes 20/Mar/2026
Gen-AI Developer Classroom notes 18/Mar/2026
Writing Effective Prompts Clear and Explicit Prompts Example Explain leadership A clear and explicit prompt You are a leadership coach. Explain leadership to college students Include: – 2 definitions – 2 examples – 3 tips Keep it under 200 words The second prompt works better because Role gives a perspective (coach vs general assistants) Audience… Continue reading Gen-AI Developer Classroom notes 18/Mar/2026
Gen-AI Developer Classroom notes 18/Mar/2026
Writing Effective Prompts Clear and Explicit Prompts Example Explain leadership A clear and explicit prompt You are a leadership coach. Explain leadership to college students Include: – 2 definitions – 2 examples – 3 tips Keep it under 200 words The second prompt works better because Role gives a perspective (coach vs general assistants) Audience… Continue reading Gen-AI Developer Classroom notes 18/Mar/2026
Python Classroom notes 17/Mar/2026
Point of Sale This will be very basic version of point of sale We will have two options Sale Inventory We will not be storing any thing permanently Topics: datatypes loops conditional statements functions list and dictionary comprehensions Creating a new python project Create a new folder lt_pos cd in to the folder and create… Continue reading Python Classroom notes 17/Mar/2026
Gen-AI Developer Classroom notes 17/Mar/2026
Terms of LLM Temperature: range (0-2) less temperature => factual information more temperature => creative Context length: Number of Tokens (input or output) Give me a list of models with context lengths in descending order, Ensure latest models are also considered Token LLM Costs We have two types of LLMS Opensource LLM: The cost is… Continue reading Gen-AI Developer Classroom notes 17/Mar/2026
Python Classroom notes 16/Mar/2026
Dictionary and Dictionary comprehensions dictionary comprehension dictionary = { key: value for vars in iterable } Refer Here for dictionary examples Strings Refer Here for basic strings. Sample Application This would be an in memory POS (Point of Sale) Any POS system will have two main functionalities Generating Bills based on items added inventory
Gen-AI Developer Classroom notes 16/Mar/2026
LLMs Evolution: AI ML Neural Networks Deep learning networks One popular example for ML Deep learning NLP (Natural Language Processing) LLM basically predicts next word using transformers Vectors embed the meaning of text. Embedding model will have all possible vocabulary Once we have embedding model we can do semantic search. Embedding models will have tokens
Python Classroom notes 14/Mar/2026
Dictionaries Refer Here for dictionaries This is collection of key values syntax {‘key1’: ‘value1’ , ….. } Refer Here for notebook strings python strings are unicode x = "hello" in python a string can be in single, double or triple quotes x = "hello" x = ‘hello’ x = """hello""" x = ”’hello”’ triple quotes… Continue reading Python Classroom notes 14/Mar/2026
Gen-AI Developer Classroom notes 14/Mar/2026
AI Engineering Layers We will be focused on building Applications LLMs Chat GPT is not LLM LLMs on a broader note are of two types Propietary Open source Leaderboard Usecase: I want to use grok model from my Application which is developed in python Java C# Javascript Interact with model with code yes via APIs/SDKs
Gen-AI Developer Classroom notes 13/Mar/2026
Using AI to learn I want to start investing in stock markets Lets explore possible Options ChatGPT Claude Gemini Notebook LM Basic Prompt A Good prompt has A role defined for LLM Our level of understanding Question Constraints Prompt You are an expert in stock market investing and understand indian stocks very well. I want… Continue reading Gen-AI Developer Classroom notes 13/Mar/2026
Python Classroom notes 11/Mar/2026
sets set is collection of unique items Refer Here Refer Here for the notebook function with variable arguments Refer Here and look into *args
Gen-AI Developer Classroom notes 11/Mar/2026
load the model into ollama loading unsloth tuned models into ollama others We will be doing changes in google collab Refer Here
Python Classroom notes 10/Mar/2026
Generator A generator in python is a function with yield statement Refer Here for docs on generator Range function Refer Here for range function for – loop for in python is for each in other languages Refer Here list comprehensions Refer Here syntax [ expression for item in list if condition == True] Program to… Continue reading Python Classroom notes 10/Mar/2026
