|
|
|
|
|
by TZubiri
727 days ago
|
|
You don't make a DAG for each question category. This is classic OOP, OG, Kay's version, you design subject-experts (objects) with autonomy and independency, they are just helpful in general. Each function/method, regardless of the Object/Expert, is an edge in the graph. A user question is simply a pair of vertices, call them I and O, and the execution/solution is a path between the two points, namely the input and the output. The functions are traditional software (Code, API, SQL) the job of the LLM is only to: 1- Map each type of question into a subsystem/codepath. The functional parsing solution is the most advanced. But a simple version involves asking LLM to classify a question into an enum. 2- To parse the parameters as a list of key/value tuples. The end. Don't ask the LLM to cook your food, clean your clothes or suck your dick. LLM is revolutionary at language, let it do language tasks. We are not consumers of a helpful AI assistant, we are designers of it. |
|