Actions
Design #240
openJSON layout of logic gate values
Start date:
05/14/2024
Due date:
% Done:
0%
Estimated time:
Description
This is mostly a question...
Currently the layout of saved rule form RuleMaker has each Input Condition sentence laid out like this :
[ { "sentence":[ { "determiner":: "The" }, { "noun": "capacity" }, { "description": "of this box" }, { "past_participle_verb": "used" }, { "predicate_verb": "is" }, { "attribute": ">=half" } ], "scenarios": [ "00", "01", "01" } << This should be a square bracket },
Yesterday I did some experiments with an LLM, and it gave me the JSON layout as follows, which is easier to read (both the sentence elements and the rows of numeric values). Furthermore, I notice an erroneous closing curley bracked } in ours after the scenarios, which is supposed to be a closing square bracket ]. I point at it above.
[ { "sentence": [ {"determiner": "The"}, {"noun": "capacity"}, {"description": "of this box"}, {"past_participle_verb": "used"}, {"predicate_verb": "is"}, {"attribute": ">=half"} ], "scenarios": ["00", "01", "01"] },
Please revise the layout. Other than fixing the } to ], I don't think any of this will affect the API.
Files
Actions