Add initial code for retreival ranking for normalisation

This commit is contained in:
William Jeynes
2026-01-29 21:53:38 +00:00
parent a1373da891
commit 8eaa7bfbff
7 changed files with 1502 additions and 3 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ import { AIMessage, ToolMessage } from "@langchain/core/messages";
import { GraphNode } from "@langchain/langgraph";
import { MessagesState } from "../state";
export function createToolNode(tools): GraphNode<typeof MessagesState> {
export function createToolNode(tools: any): GraphNode<typeof MessagesState> {
return async (state) => {
const lastMessage = state.messages.at(-1);