swapy08/E2E-Agentic-AI
0
1from src.langgraphagenticai.state.state import State2 3 4class BasicChatbotNode:5 def __init__(self, model):6 self.model = model7 8 def process(self, state: State) -> dict:9 """10 Processes the input state and generates a chatbot response.11 """12 msg = self.model.invoke(state["messages"]);13 return {"messages": msg}14 15 