Get the latest tech news
Show HN: I made a state machine framework for guided conversations with LLMs
GoalChain for goal-orientated LLM conversation flows - adlumal/GoalChain
GoalChain is a simple but effective framework for enabling goal-orientated conversation flows for human-LLM and LLM-LLM interaction. Note that the field object names, such as product_name are passed directly to the LLM prompt, and so they are part of the prompt-engineering task, as is every other string. Note that in reality, if you were building such a system, you would need to make a dedicated product-lookup goal as not to allow arbitrary or meaningless product names.
Or read this on Hacker News