GithubHelp home page GithubHelp logo

enkrateialucca / oreilly_live_training_agents Goto Github PK

View Code? Open in Web Editor NEW
21.0 1.0 21.0 36.98 MB

Repository for all the code and notebooks for the O'Reilly live-training: "Getting Started with LLM Agents using Langchain"

Jupyter Notebook 88.83% Python 3.81% HTML 7.23% Makefile 0.13%

oreilly_live_training_agents's Introduction

O'Reilly Live Trainining - Getting Started with LLM Agents using LangChain

Setup

Conda

  • Install anaconda
  • This repo was tested on a Mac with python=3.10.
  • Create an environment: conda create -n oreilly-agents python=3.10
  • Activate your environment with: conda activate oreilly-agents
  • Install requirements with: pip install -r requirements/requirements.txt
  • Setup your openai API key

Pip

  1. Create a Virtual Environment: Navigate to your project directory. Make sure you have python3.10 installed! If using Python 3's built-in venv: python -m venv oreilly-agents If you're using virtualenv: virtualenv oreilly-agents

  2. Activate the Virtual Environment:

    • On Windows:: .\oreilly-agents\Scripts\activate
    • On macOS and Linux:: source oreilly-agents/bin/activate
  3. Install Dependencies from requirements.txt:

    pip install python-dotenv
    pip install -r ./requirements/requirements.txt
  4. Setup your openai API key

Remember to deactivate the virtual environment afterwards: deactivate

Setup your .env file

  • Change the .env.example file to .env and add your OpenAI API key.
OPENAI_API_KEY=<your openai api key>

To use this Environment with Jupyter Notebooks:

  • conda install jupyter -y
  • python -m ipykernel install --user --name=oreilly-agents

Notebooks

Here are the notebooks available in the notebooks/ folder:

  1. Intro Agents Open In Colab

  2. Intro Agents OpenAI Functions Open In Colab

  3. Intro LangChain Open In Colab

  4. Intro Agents with LangChain Open In Colab

  5. Building LLM Agents with LangChain Open In Colab

  6. LangChain GitHub Agent Prototype Open In Colab

  7. Building a Simple Research Agent Open In Colab

  8. LangChain Deploy Chat with Website Open In Colab

  9. LangChain Deploy Agent Open In Colab

oreilly_live_training_agents's People

Contributors

enkrateialucca avatar mattnorris avatar

Stargazers

M∎∎r avatar  avatar Swamy Sivasubramaniyan avatar Kaleb K avatar FCastanedo avatar 808OVADOZE avatar  avatar  avatar Vishakha avatar Bruno Faria avatar Rui Paulo avatar Daniel Marques Vieira avatar Baljot Malhi avatar Ingrid_Cadu avatar Luke Sheppard avatar Chandu Tadanki avatar Indrajit Chakrabarty avatar Kumar Chinnakali avatar Frank Deutschmann avatar Balaji Chandramohan avatar Zakaria Chowdhury avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.