Design the LangGraph Workflow for Dynamic RAG

planningChallengeNovember 22, 2025

Prompt Content

Design a LangGraph state machine that can handle both initial knowledge ingestion and subsequent incremental updates. Your workflow should include nodes for web scraping, chunking, embedding, Qdrant upsertion, retrieval, and LLM generation. Crucially, define how the graph will manage state to distinguish between initial setup and ongoing updates to prevent catastrophic forgetting.

Usage Tips

Copy the prompt and paste it into your preferred AI tool (Claude, ChatGPT, Gemini)

Customize placeholder values with your specific requirements and context

For best results, provide clear examples and test different variations