Giter Site home page Giter Site logo

langgraphjourney's Introduction

LangGraphJourney

Open in Colab: Open In Colab

It accompanies a youtube tutorial at: https://youtu.be/R8KB-Zcynxc

LangGraph Tutorial

This tutorial provides a step-by-step guide on how to use LangGraph, a tool developed by the LangChain team to build Agent apps. LangGraph allows you to create graphs and call them, enabling you to create complex applications powered by LangChain.

Introduction

  • Brief overview of LangGraph and its purpose
  • Mention the availability of a blog and notebooks provided by the LangChain team for further reference

Getting Started

  • Installation instructions for LangGraph using pip
  • Importing the LangGraph library and initializing a workflow

Building a Simple Graph

  • Explanation of the simplest graph structure with two nodes connected by an edge
  • Overview of the user input and functions used in the graph
  • Code examples and explanations of function one and function two

Compiling and Invoking the Graph

  • Instructions on compiling the graph app
  • Explanation of invoking the graph using user input
  • Output examples and explanation of the graph's functionality

Making LLM Calls

  • Introduction to making LLM calls in the graph
  • Explanation of modifying function one to invoke an LLM model
  • Instructions on installing the LangChain OpenAI package
  • Steps to add the API key for making API calls

Using Tools in LangGraph

  • Overview of tools available in LangGraph
  • Instructions on binding a tool to the model and using tool invocation
  • Code examples and explanations of tool usage in function two

Conditional Edge

  • Explanation of the conditional edge in a graph
  • Instructions on defining conditional behavior in the graph's functions
  • Implementation of the conditional edge in the graph

Conclusion

Hope you get a good understanding of LangGraph. Reach out on Twitter if any questions

langgraphjourney's People

Contributors

misbahsy 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.