I made a state machine framework for guided conversations with LLMs
I made a state machine framework for guided conversations with LLMs
It’s written in Python and I call it GoalChain. It lets you build a conversation flow graph that the user traverses. When there’s enough input it spits out a dictionary with the defined fields. Otherwise it will jump state to state as led by the user. It was fun to write, and it’s surprisingly effective if you keep in mind you’re prompt-engineering every string and field name. README.md has a mini-tutorial. Would be cool to get some ideas for how to build it further and what improvements I could make.
Share cardActual performance
Launch Intel predictions
Analyze your own launch →Correct prediction on native model
Similar products
Finite State Machine for Go
Baahu - fast 4kb state machine-based web UI framework
Just state machine in ruby
Asyncmachine-go, declarative workflows with relations (state machine)
State Trooper – Tiny, no frills state machine for Go
AsyncMachine – Relational State Machine (JS)
Micro JavaScript framework inspired by finite-state machine
Tiny C++ State Machine Abstraction
Machine Learning Framework in Java
A Java server-state web framework