PankajMehar / udemy-llm-agents

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Welcome to the course on LLM-Agents

This Github has all the coding exercises organized by Unit

Installation

The installation steps are:

  1. Git clone this repo - git clone https://github.com/priya-dwivedi/udemy-llm-agents.git
  2. Move to the current directory - cd udemy-llm-agents
  3. If using conda - set a new envtt: conda create -n llm_agents

conda activate llm_agents

conda install pip

  1. Install the dependencies - pip install -r requirements.txt
  2. Add an environment file called *.env
  3. Add your keys to the env file

Unit 1- Foundation of LLM agents

This unit focuses on components of an LLM Agent and building your first simple agent Coding Exercise for the first Self-Ask Agent:

Unit 2- LLM Tools

This unit focuses on integrating external tools into an Agent Coding Exercise for the second unit on Tools:

  1. Langchain Tools
  1. LLM RestAPI tool selection
  1. OpenAI Function Calling

Unit 3- Memory

This unit focuses on different types of memory and integrating memory into the Agent Coding Exercise for the third unit on Memory:

  1. Langchain Short term Memory
  1. RAG pipeline and RAG compared to Long Context LLMs
  1. Simple Multimodal RAG
  1. Knowledge-Agent Can only be run locally Instructions:
  • Navigate to the correct directory: cd Unit3-Memory/knowledge-agent
  • Optionally: Delete current profile : rm current_profile.json
  • Run Streamlit interface: streamlit run chatbot.py

Unit 4-Planning

This unit focuses on different types of planning and how to improve the Agent's accuracy and performance with planning Coding Exercise for the fourth unit on Planning:

  1. Plannning with task decomposition
  1. Skeleton of Thought Generation
  1. Basics of Langgraph
  1. Reflection Agent
  1. Reflexion Agent

Unit 5-Agent Examples

This unit focuses on building more complex agents combining everything learned so far in the course Coding Exercise for the fifth unit on Agent Examples:

  1. Agentic-RAG
  1. Movie Recommendation Bot Can only be run locally Instructions:
  • Navigate to the correct directory: cd Unit5-Agent_Examples/Movie_Recommendation_Agent
  • Run Streamlit interface: streamlit run chatbot.py
  1. Coding Assistant

About

License:MIT License


Languages

Language:Jupyter Notebook 94.4%Language:Python 5.6%