LangChain Masterclass - Build 15 OpenAI and LLAMA 2 LLM Apps Using Python

Video description

Unlock the boundless possibilities of AI and language-based applications with our LangChain Masterclass. In this comprehensive course, you will embark on a transformative journey through the realms of LangChain, Pinecone, OpenAI, and LLAMA 2 LLM, guided by experts in the field.

In this course, you will embark on a journey through a diverse range of projects designed to deepen your understanding and application of cutting-edge technologies. These hands-on endeavors encompass a broad spectrum of applications, from creating dynamic question-answering applications powered by LangChain, OpenAI, and Hugging Face Spaces, to developing engaging conversational bots that enhance user interactions. You will even venture into the realm of educational AI, crafting customized experiences for children.

As you progress, you will build captivating marketing campaigns, explore the world of summarization-enriched chatbots, and streamline tasks such as multiple-choice quiz creation and CSV data analysis. Plus, you will discover how to optimize HR processes, simplify email customization, and extract vital invoice details.

With projects spanning from text-to-SQL query assistance to customer care call summaries, this course equips you with a comprehensive toolkit for advancing your skills and revolutionizing various domains of AI and software development.

By the end of this course, you will not only have a strong grasp of LangChain’s capabilities but also a robust portfolio of AI applications that showcases your expertise.

What You Will Learn

  • Build AI-powered chatbots and applications with LangChain
  • Create dynamic question-answering systems and conversational bots
  • Implement automated marketing and customer support tools
  • Learn to streamline data analysis and CSV processing
  • Explore HR resume screening and email customization
  • Master invoice data extraction and SQL query tools

Audience

This course is designed for individuals eager to explore the dynamic world of AI-powered language applications. If you are passionate about harnessing the potential of LangChain, Pinecone, OpenAI, and LLAMA 2 LLM, this course is your gateway to expertise.

Prerequisites are minimal, requiring only a basic understanding of programming and coding. A curious mind and enthusiasm for AI are your most valuable assets.

About The Author

Sharath Raju: Sharath Raju is a senior software engineer specialized in AI and robotics. It has been over eight years since he worked in software development, robotic process automation (RPA), and AI app implementation. He has implemented over 80 RPA processes using UiPath and Microsoft Power Automate and has also built several AI-powered apps using different technologies.

It is so true that someone learns more efficiently by practicing the skill than just reading something. Having a passion to share his knowledge in these technologies, he has created several step-by-step and easy-to-digest courses. His goal is to help you get ready for the future by learning new technologies and to prepare you to become more productive by getting familiar with the relevant and useful resources. He is still learning and exploring his field of work, and therefore, he welcomes any valuable feedback.

Table of contents

  1. Chapter 1 : LangChain Introduction
    1. What You Will Get in This Course
    2. What Is LangChain?
    3. Let's Understand the LangChain Benefits
  2. Chapter 2 : OpenAI Introduction
    1. What Is OpenAI?
    2. OpenAI API Key Generation
  3. Chapter 3 : Demo and Environment Setup
    1. A LangChain Example - Implementation Demo
    2. Anaconda Installation
  4. Chapter 4 : LangChain - Models Module Concept
    1. LangChain's Modules Overview
  5. Chapter 5 : Beginner Level - Project 1 - Simple Question and Answer App
    1. LLMs Walkthrough
    2. LLM Practical Implementation Using Python
    3. Project Environment Setup
    4. Lets' Build Simple Question Answering Application
  6. Chapter 6 : Project 2 - Simple Conversational App
    1. Chat Model Walkthrough
    2. Chat Model Practical Implementation Using Python
    3. Let's Build Simple Conversational Application
  7. Chapter 7 : Project 3 - Find Similar Things App for Kids
    1. Text Embedding Walkthrough
    2. Text Embeddings Practical Implementation Using Python
    3. Embeddings Example Using Python
    4. Let's build Similar Words Finder Application
  8. Chapter 8 : LangChain - Prompt Module Concept and Implementation Using Python
    1. Prompts Module Introduction
    2. Prompt Template Walkthrough
    3. Example Selectors Walkthrough
    4. Adding More Examples to Input Prompt
    5. Output Parsers Walkthrough
  9. Chapter 9 : Project 4 - Marketing Campaign App
    1. Convert Jupyter Notebook to Python Script
    2. Building the App's Frontend
    3. Integration of Frontend and Backend
    4. Modularization of Code
    5. Adding Examples - Kids, Adults, and Senior Citizens
  10. Chapter 10 : LangChain - Memory Module Concept
    1. Importance of Memory in LLM-Powered Apps
    2. Different Types of Memory
  11. Chapter 11 : Project 5 - ChatGPT Clone with Summarization Option
    1. ChatGPT Clone Demo
    2. Setting Up the Project
    3. Implementing the Frontend
    4. Modularizing the Code
    5. Passing Dynamic Data
    6. Implementing Chatbot Conversational View
    7. Conversation Summarization and API key feature
  12. Chapter 12 : LangChain - Data Connection Module Concept
    1. Data Connection Module Introduction
    2. Data Connection Module - Python Implementation Part 1
    3. Data Connection Module - Python Implementation Part 2
  13. Chapter 13 : Intermediate Level - Project 6 - Quiz MCQ Creator App
    1. Loading Documents and Creating Chunks
    2. Generate Embeddings and Store Them
    3. Retrieving Answer
    4. Creating Structured Output
  14. Chapter 14 : LangChain - Chains Module Concept
    1. Chains Overview
    2. Generic Chains
    3. Utility Chains
  15. Chapter 15 : LangChain - Agents Module Concept
    1. Agents Overview
  16. Chapter 16 : Project 7 - CSV Data Analysis Tool
    1. CSV Data Analysis Tool Demo
    2. CSV Data Analysis Tool - Frontend
    3. CSV Data Analysis Tool - Backend
  17. Chapter 17 : Advanced Level - Project 8 - YouTube Script Writing Tool
    1. YouTube Script Writing Tool Demo
    2. YouTube Script Writing tool - Frontend
    3. YouTube Script Writing tool - Backend
    4. YouTube Script Writing tool - Integration
  18. Chapter 18 : Project 9 - Support Chatbot for Your Website
    1. Support Chat Bot for Your Website Demo
    2. Implement Frontend for Pushing Data to Pinecone
    3. Implementing Backend for Scraping the Data
    4. Implementing Backend for Pushing the Data to Pinecone
    5. Handling the Hardcoded Values
    6. Implementing Information Retrieval System
  19. Chapter 19 : Project 10 - Automatic Ticket Classification Tool
    1. Automatic Ticket Classification Tool - Demo
    2. Upload Documents to Pinecone - Frontend and Backend
    3. Chatbot Interaction- Frontend and Backend
    4. Organizing Different Pages in Streamlit
    5. Classification Model Creation
    6. Model Training Process
    7. Ticket-Raising Feature Implementation
    8. Viewing Pending Tickets Tab
  20. Chapter 20 : Project 11 - HR - Resume Screening Assistance
    1. HR - Resume Screening Assistance - Demo
    2. Resume Screening Assistance Frontend
    3. Loading Documents and Adding Metadata
    4. Push and Pull Data from Pinecone
    5. Finetuning Output
  21. Chapter 21 : LLAMA 2 Introduction
    1. LLAMA 2 Introduction and Download Guide
  22. Chapter 22 : Project 12 - Email Generator Using LLAMA 2 - Streamlit App
    1. Email Generator Frontend and Module Creation
    2. Using LLAMA 2 as LLM and Execution
  23. Chapter 23 : Project 13 - Invoice Extraction Bot
    1. Invoice Extraction Bot - Demo
    2. Invoice Extraction Bot - Streamlit Frontend
    3. Replicate Platform Introduction
    4. Data Extraction
    5. LLAMA 2 - LLM Setup
    6. Formatting Output and Download Option
  24. Chapter 24 : Project 14 - Text to SQL Query - Helper Tool, Google Collab, LLAMA 2
    1. Project Setup and Hugging Face Login
    2. Pipeline Creation and Prediction
  25. Chapter 25 : Project 15 - Customer Care Call Summary Alert, OpenAI, Zapier NLA
    1. Customer Care Call Summary Alert - Demo
    2. Frontend Implementation
    3. Backend Implementation
    4. Final Execution

Product information

  • Title: LangChain Masterclass - Build 15 OpenAI and LLAMA 2 LLM Apps Using Python
  • Author(s): Sharath Raju
  • Release date: September 2023
  • Publisher(s): Packt Publishing
  • ISBN: 9781835464427