IBM / nl2flow

NL2Flow: A PDDL Interface to Flow Construction
Apache License 2.0
5 stars 2 forks source link

Simple description #92

Closed jkeskingvillage closed 2 weeks ago

jkeskingvillage commented 3 weeks ago

https://github.com/IBM/nl2flow/issues/83

jkeskingvillage commented 3 weeks ago

A concise description looks like this.

'actions:\n\nname: a\ninputs: b, x\noutputs: c, k\n\nmappings: (x, k)\n\navailable data: b\n\naskable parameters: b, k\n\nunaskable parameters: x, c\n\ngoals: a'

jkeskingvillage commented 2 weeks ago

To execute an action the values of their inputs must be known.

Changes are made.

jkeskingvillage commented 2 weeks ago

New concise prompt: 'The system has action a. To execute an action the values of their inputs must be known.\n\nactions:\n\nname: a\ninputs: b, x\noutputs: c, k\n\nAction map is used when a value for one variable can be used for another variable.\n\nmappings: (x, k)\n\navailable data: b\n\nThe system has action ask. Action ask lets the system ask the user about the value of any variable unless that variable is explicitly marked as cannot be acquired from the user. Action ask is less preferred than acquiring the value of a variable through other actions.\n\naskable parameters: b, k\n\nThe goal of the system is to execute one or more actions.\n\ngoals: a'