Conditional + Parallel Graph Execution with LangGraph, LangChain and Ollama

After doing sequential graph execution in LangGraph, I wanted to explore the conditional and parallel execution graph flow, so I came up with a contrived example, where I have expanded a simple RAG use case.

What does the repo cover

This repo has examples of RAG with Human-in-loop, where the execution stops to take in the user input and than proceeds as per the user input. The repo has two flows:

  1. Conditional RAG + Human In Loop
  2. Parallel RAG Flow

Conditional RAG + Human In Loop

Parallel RAG Flow

Local Development