Gen-AI Developer Classroom notes 05/Nov/2025

MessageState

  • This is a predefined state schema, this allows to store llm responses parallely.
  • This is useful for chat based applications and agentic workflows involving llm calls
  • Do not use this for compuational kind of schemas.
  • Message state
class MessagesState(TypedDict):
    messages: Annotated[list[AnyMessage], add_messages]

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