Gorantla Krishna
update
cf4e043
raw
history blame contribute delete
355 Bytes
from typing import Annotated,Literal,Optional,List
from typing_extensions import TypedDict
from langgraph.graph.message import add_messages
from langchain_core.messages import AIMessage,HumanMessage,BaseMessage
class State(TypedDict):
"""
Represents the structure of the state used in the graph
"""
messages: Annotated[list,add_messages]