Build a Search Chat App With State.
Step | Node Name | Type | Purpose |
---|---|---|---|
1 | get_new_user_message | create_messages | Takes in the user input as a message |
2 | add_user_message | insert_messages | Adds user messge to the messages in the state |
3 | search_generation | tool_generation | Performs search with concatenated messages |
4 | add_tool_and_asst_msgs | processor | Combines the user message with the search results |
4 | llm_call | get_message | Generates the best answer |