llm = init_chat_model("openai:gpt-5-mini") reply = llm.invoke(history) st.chat_message("ai").write(reply.content)
AI Chatbot with Memory
A Streamlit chatbot that remembers the conversation and answers in your chosen style.
Start from Python basics and learn to build real Generative AI applications — chatbots, document Q&A with RAG, AI agents and content tools — using LLMs, LangChain, LangGraph and open-source models. Practical, project-based training in Kharghar.
from openai import OpenAIclient = OpenAI() def ask_mentor(question: str) -> str: response = client.responses.create( model="gpt-5-mini", instructions="You are a friendly coding mentor.", input=question, ) return response.output_text print(ask_mentor("Explain RAG in one line"))# your first GenAI app in 12 linesThis Generative AI course with Python at Code Nest, Kharghar takes you from your first line of Python to building real GenAI applications. You learn how large language models work, write prompts that get reliable results, connect LLMs to your own documents with RAG, and build AI agents and apps with LangChain, LangGraph, Streamlit and FastAPI.
Generative AI is the branch of AI that creates new content. Large language models (LLMs) like ChatGPT, Gemini and Claude can write, summarise, translate, answer questions about documents, generate code and even create images — all from a plain-English prompt.
Companies everywhere are adding GenAI to their products: support chatbots, document search, report writing, resume screening and content creation. Developers who can build these features with Python are in strong demand, and this course teaches you exactly how.
Python programming from the basics, ready for AI work
How LLMs work, and prompt engineering that gives reliable results
Using OpenAI, Gemini, Claude and open-source models from Python
RAG with embeddings and vector databases over your own documents
AI agents and workflows with LangChain and LangGraph
Building and shipping GenAI apps with Streamlit and FastAPI
No coding background needed — we start from Python basics.
Who want to use GenAI to automate and improve their work.
Ready to add LLMs, RAG and agents to their skill set.
Moving into tech through one of today’s fastest-growing fields.
14 modules — from your first line of Python to deployed GenAI applications.
Variables, data types, conditions, loops, functions, lists and dictionaries — no prior coding needed.
OOP basics, files and JSON, calling REST APIs, virtual environments and packages.
How LLMs work, tokens, context windows, temperature, hallucinations and choosing the right model.
System prompts, few-shot examples, step-by-step reasoning, prompt templates and structured output with Pydantic.
OpenAI Responses API, Gemini and Claude APIs, streaming replies, and token and cost control.
Hugging Face, running open models locally with Ollama, and when to choose open vs hosted models.
Chat models, prompt templates, output parsers, chains and conversation memory with LangChain 1.0.
Embeddings, semantic search, and storing and querying vectors with ChromaDB and FAISS.
Loading PDFs, chunking, retrieval, re-ranking and grounded answers with citations.
Function calling, LangChain agents, LangGraph workflows, the OpenAI Agents SDK and an intro to MCP.
Image generation, image understanding, speech-to-text and text-to-speech in Python.
Chat interfaces with Streamlit, AI APIs with FastAPI, and packaging apps with Docker.
Guardrails, prompt injection, protecting personal data, evaluating answers and tracking cost.
Design, build and deploy a real-world GenAI app in Python — with RAG, an agent, a user interface and an API.
# every module ends with a hands-on lab in Python
Build a portfolio of working GenAI apps in Python — projects you can demo in interviews and push to GitHub.
llm = init_chat_model("openai:gpt-5-mini") reply = llm.invoke(history) st.chat_message("ai").write(reply.content)
A Streamlit chatbot that remembers the conversation and answers in your chosen style.
docs = store.similarity_search(question, k=3) # answer only from the retrieved chunks answer = llm.invoke(build_prompt(docs, question))
Upload PDFs and company documents, then ask questions and get answers with sources.
class Match(BaseModel): score: int skills: list[str] scorer = llm.with_structured_output(Match) result = scorer.invoke(cv)
Extract skills from resumes, match them to a job description and score candidates.
agent = create_agent("openai:gpt-5-mini", tools=[web_search, summarize]) agent.invoke({"messages": [("user", topic)]})
An agent that searches, reads and summarises sources into a short research report.
# "Top 5 products by sales this month?" sql = llm.invoke(nl_to_sql.format(q=question)) rows = db.run(sql.content)
Ask business questions in plain English and get answers from a SQL database.
caption = llm.invoke(f"Write a post about {idea}") image = client.images.generate( model="gpt-image-1", prompt=idea)
Generate social posts, captions and matching images from a single idea.
One-to-one Generative AI training at Code Nest, Kharghar, with resume and GitHub portfolio help, mock interviews and job referrals. Book a free demo class on WhatsApp or call to reserve your seat.
Still have a question? Call or WhatsApp us on +91 77188 43499.
Generative AI is AI that creates new content such as text, code and images. Large language models like ChatGPT, Gemini and Claude are examples. In this course you learn to build your own applications on top of these models using Python.
The course runs for 4 months and covers 14 modules, from Python fundamentals to LLMs, prompt engineering, RAG, AI agents, multimodal AI and deploying GenAI apps.
No. The course starts with Python fundamentals and is designed for students, graduates, freshers, working professionals and career switchers.
AI + Python Developer is a broad Python developer course with SQL, APIs, Machine Learning and an introduction to GenAI. This course is GenAI-first: after a Python fast-track it goes deep into LLMs, prompt engineering, RAG, LangChain, LangGraph, agents and GenAI apps.
Yes. You learn LangChain and LangGraph, build RAG apps with vector databases such as ChromaDB, and create AI agents that use tools.
Yes. You build six projects: an AI Chatbot with Memory, a PDF Q&A Assistant (RAG), an AI Resume Screener, an AI Research Agent, a Natural-Language Data Assistant and an AI Content Studio, plus a capstone.
Yes. We help you build your resume and GitHub portfolio, run mock interviews and share job referrals.
Yes. Book a free demo class on WhatsApp or call +91 77188 43499. Training is one-to-one in our classroom at Code Nest, Sector 13, Kharghar, Navi Mumbai.
Message us on WhatsApp or call +91 77188 43499, or email info@codenestinstitute.com to book your seat.
Python, SQL, APIs, ML and GenAI basics.
Explore → DA+AIExcel, SQL, Python, Power BI and GenAI.
Explore → AgAI agents in C# with Agent Framework.
Explore → FSDjango or Flask with React.
Explore → AICompare our AI programs.
Explore →