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 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
