GitHub - adlumal/GoalChain: GoalChain for goal-orientated LLM conversation flows
GoalChain
GoalChain is a simple but effective framework for enabling goal-orientated conversation flows for human-LLM and LLM-LLM interaction.
Installation
Getting started
Let's import the Field, ValidationError, Goal and GoalChain classes, which are the basis for the conversation flow.
from goalchain import Field, ValidationError, Goal, GoalChain
In this example we will create an AI assistant whose goal is to collect information from a customer about their desired product order. We define the i...
Read more at github.com