start adding dummy nodes

This commit is contained in:
William Jeynes
2026-01-28 21:26:34 +00:00
parent a3201d17a2
commit c6416622e4
14 changed files with 188 additions and 61 deletions
+11
View File
@@ -0,0 +1,11 @@
import { GraphNode } from "@langchain/langgraph";
import { MessagesState } from "../state";
import { AIMessage, HumanMessage } from "@langchain/core/messages";
export const dummyNormalisationModel: GraphNode<typeof MessagesState> = async (state) => {
//TODO: call AI model with collected data
return {
messages: [ new AIMessage(state.messages.at(-1)?.content + " Processed")]
};
};