Skip to content

Comment on Ask HN: How have you implemented human-in-the-loop workflows?

Comments

Yes, I have implemented HITL. There's a task queue(psql skiplock). You make a request (insert row). It builds a "workflow graph" of your request and compiles it, a combination between a FSM and graph program. It runs an iteration on the workgraph, and then if successful, submits the next step in the queue as "pending". the user then inspects and accepts the tasks, which then run another iteration of the workgraph. If the user rejects it they can click "playground" and manually do the step.

is the "workflow graph" entirely custom built or is there a library/framework/service for it? Would love to hear more

sorry I meant to say or explain computational graph, and yes langgraph was reintroduced recently last week.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.