Refactor example retreiving, add option for dynamic data. Add hybrid reranking to tooling. Add parsing and loop infrastructure for trigger event processing

This commit is contained in:
William Jeynes
2026-02-12 14:33:12 +00:00
parent 06a302ec36
commit bef856d53a
9 changed files with 376 additions and 89 deletions
+16
View File
@@ -0,0 +1,16 @@
import { ConditionalEdgeRouter, END } from "@langchain/langgraph";
import { MessagesState } from "../state";
export const loopEndConditional: ConditionalEdgeRouter<typeof MessagesState, String> = (state) => {
const triggerEvents = state.proposedTriggerEvent;
const triggerEventsIndex = state.proposedTriggerEventIndex;
if (triggerEventsIndex == triggerEvents.length-1) {
return END
}
else {
return "verificationSetup"
}
};