Gen-AI Developer Classroom notes 15/Sep/2026

Messages

  • Langgraph or langchain allows us to pass messages in 4 style

    • Dict style (OpenAI)
    • Object Sytle
    • Tuple
    • String (NOt recommended)
  • Refer Here this notebook for different styles of passing messsages. Note in this notebook we are interacting with llm not agent (so no state considered)

Langgraph conditional edges

  • Refer Here

  • Refer Here for sample conditional edges

  • using the conditional edges we can create loops, while creating loops recursion_limit comes into play, default is 25, to change it use config
    Refer Here for the code written

By continuous learner

enthusiastic technology learner

Leave a Reply

Discover more from Direct AI Powered By Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading