
Build dynamic chat prompts with system and human messages using chat prompt templates. Learn to replace placeholders, format messages, and leverage templates for reusable, scalable, and accurate conversations.
Explore why large language models need agents to perform tasks like calculations, web search, and SQL queries, and see how long chain agents enable tools beyond text generation.
Demonstrate using LangChain agents to generate and execute Python code in a Python Repl, leveraging tools, prompt templates, and agent executors to solve problems and verify results.
Learn how react blends reasoning and acting to generate reasoning traces. Build a react agent that selects the best tool for each query.
Explore how text embeddings convert words into numeric representations for NLP and ML, measure relatedness and similarity with cosine similarity or Euclidean distance, and enable classification, clustering, and question answering.
Authenticate to pinecone, the vector database for lm applications, by creating and securely storing an API key in a dot env file and loading it with the pinecone client library.
Explore how namespaces partition a pinecone index into default and named scopes, enabling namespace-scoped upserts, fetches, deletes, and statistics.
Learn to use Gemini Pro with LangChain by setting up the model and API key, tweaking temperature, and generating a tweet via a prompt template and LM chain.
Learn how to use a system prompt to guide AI behavior and enable streaming, delivering Gemini 1.5 flash responses piece by piece to reduce latency.
Install and set up Jupyter Lab and Jupyter AI extension across Python environments, using a virtual environment and pip installs for OpenAI and Long Chain.
Install the required Jupyter packages and authenticate with an OpenAI API key in Jupyter Notebook. Load Jupyter magics extension and use double percent cell magic to list providers and models.
Save chat sessions in a json file for cross-session persistence, load history on startup, and maintain context with a conversation buffer memory in a LangChain GenAI app.
Discover how to load private pdf documents into LangChain using transform loaders and the pi pdf loader, with authentication setup for OpenAI and Pinecone, and modular code.
Use Streamlit callbacks to clear session history when a new document loads or when chunk size or key changes, ensuring fresh chat state.
Learn the basics of one-shot summarization with a basic prompt, inserting text into the prompt to generate a concise summary in a language model call, noting the 4096 token limit.
Master summarizing using prompt templates with LangChain, leveraging dynamic prompts and token awareness to create concise summaries that can be translated into multiple languages.
Apply the stuffing method, loading all text into the prompt as context via the StuffDocumentsChain, enabling a single language model call for small documents while noting context-length limits.
Explore summarizing long documents with the refine chain, building progressive summaries from chunked content, and compare it to the MapReduce method, including practical coding steps for loading and splitting pdfs.
Learn to summarize long documents beyond token limits with a refine chain and custom prompts, using initial and refine templates to iteratively update summaries.
Test a custom chat app built with LangChain and Streamlit, exploring chat history, system and user message panels, and multilingual responses. Enhance security, user experience, and flexibility.
Fully Updated for the latest versions of LangChain, OpenaAI, and Pinecone.
Unlock the Power of LangChain and Pinecone to Build Advanced LLM Applications with Generative AI and Python!
This LangChain course is the 2nd part of “OpenAI API with Python Bootcamp”. It is not recommended for complete beginners as it requires some essential Python programming experience.
Are you ready to dive into the world of Large Language Models (LLMs) and Generative AI (GenAI)? This comprehensive course will guide you through building cutting-edge LLM applications using OpenAI or Gemini API, LangChain, and Pinecone.
By the end of this course, you'll master LangChain and Pinecone to create powerful, production-ready LLM apps in Python. You'll also develop modern web front-ends with Streamlit, bringing your AI applications to life.
In this course, you will:
Understand the fundamentals of LangChain for simplified LLM app development.
Dive into Generative AI with OpenAI and Google's Gemini.
Build real-world LLM applications step-by-step with Python.
Utilize LangChain Agents and Chains for advanced functionalities.
Explore Pinecone for efficient vector embeddings and similarity search.
Work with vector databases like Pinecone and Chroma.
Implement embeddings and indexing for custom document QA systems.
Create RAG (Retrieval-Augemented Generation) Apps with LangChain.
Summarize large texts using LLMs.
Learn Prompt Engineering best practices.
Create engaging front-ends using Streamlit.
Become proficient in using AI Coding Assistants (Jupyter AI)
Create LLM-Based Hands-On Projects with LangChain for the Real-Word: RAG, ChatBot, Summarization
Who should take this course?
Python developers interested in AI, LLMs, LangChain and LangGraph.
Data scientists and AI enthusiasts looking to expand their skill set.
Professionals aiming to leverage Generative AI (GenAI) and LangChain in real-world applications.
Don't miss out on the AI revolution! Equip yourself with the skills to build state-of-the-art LLM applications. Enroll now and stay ahead in the rapidly evolving field of AI.
Join me on this exciting journey to master LangChain, Pinecone, and Generative AI. Let's build the future together!
I look forward to seeing you in the course!