Thank you for sharing such amazing topic.which is much required for realtime rag, i was stuck in such task from long time in my company task ,since i am starter in this sector, this will definitely help me build a better product ,where i work.kindly make some thing like , how to give a name to a rag system and other details as well.
@@AritraSen Was on definition of conditional edge cell: from langgraph.graph import StateGraph,END graph = StateGraph(AgentState) ### StateGraph with AgentState graph.add_node("agent", function_1) graph.add_node("RAG", function_2) graph.add_node("LLM", function_3) graph.set_entry_point("agent") # ###### HERE I CHANGED TO SOURCE, PATH AND PATHMAP ...conditional edges are controlled by our router graph.add_conditional_edges( source="agent", # where in graph to start path=router, # function to determine which node is called path_map={ "RAG Call": "RAG", "LLM Call": "LLM", } ) graph.add_edge("RAG", END) graph.add_edge("LLM", END) app = graph.compile()