Get in Touch
 Duration 14 hours

Course Outline

Introduction to LangGraph and Graphical Concepts

  • The rationale for using graphs in LLM apps: orchestration versus linear chains
  • Understanding nodes, edges, and state within LangGraph
  • Getting started: executing a basic LangGraph structure

State Control and Prompt Sequencing

  • Structuring prompts as distinct graph nodes
  • Managing state transitions between nodes and processing outputs
  • Memory strategies: distinguishing short-term versus persisted context

Branching, Control Logic, and Error Mitigation

  • Implementing conditional routing and multi-path processes
  • Handling retries, timeouts, and backup strategies
  • Ensuring idempotency and secure re-execution

Tool Utilization and External Connections

  • Executing function and tool calls from graph nodes
  • Interacting with REST APIs and services inside the graph
  • Processing structured data outputs

Workflows Enhanced by Retrieval

  • Basics of document processing and segmentation
  • Utilizing embeddings and vector databases (e.g., ChromaDB)
  • Generating grounded answers with source citations

Verification, Troubleshooting, and Assessment

  • Conducting unit-level tests for nodes and execution paths
  • Implementing tracing and observability measures
  • Quality assurance: verifying accuracy, safety, and consistency

Packaging and Deployment Basics

  • Configuring the environment and managing dependencies
  • Exposing graphs via API endpoints
  • Managing workflow versions and implementing gradual updates

Recap and Future Directions

Requirements

  • Proficiency in fundamental Python programming
  • Practical knowledge of REST APIs or command-line interface (CLI) tools
  • Basic understanding of LLM concepts and prompt engineering principles

Target Audience

  • Developers and software engineers unfamiliar with graph-based LLM orchestration
  • Prompt engineers and new AI practitioners constructing multi-step LLM applications
  • Data professionals investigating workflow automation utilizing LLMs

Related Categories