IMPORTANT: mind the format: answer - next_question/final_sentence
patch notes: you can now save your progress as json by clicking "Save as json" and load it by clicking browse... and choosing the file (this way your progress won't go away with a page refresh and is shareable)
It is a repo meant to facilitate the process of completeing the first project of Artificial Intelligence course on Poznan University of Technology.
The task is something along the lines of "Here you have a flowchart. Now make a drools program asking questions from it."
-
Follow this tutorial
-
Make sure that during the 6. step ("Create Test Project") you check the same options as on this screenshot:
-
Go to https://vulwsztyn.github.io/drools_generator, fill the decision tress according to your flowchart and press "Save", a rules.drl file should be downloaded
-
Clone this repo
-
Copy both files from to_copy directory to
your_eclipse_drools_projct_dir/src/main/java/com/sample
and remove previous contents of the folder -
Replace
Sample.drl
file inyour_eclipse_drools_projct_dir/src/main/resources/rules
withrules.drl
(not the contents, the file i.e. removeSamples.drl
and copyrules.drl
to it's directory) -
Refactor the code so that all projects don't look the same
The website's is a garbage code written in 2h to serve one purpose, I am aware that the website can and will crush on numerous occassions. Just try to stick to the syntax provided in the example (i.e. answer - next_question/final_sentence
)
reamde_assets
- contains surprisingly this readme's assets
to_copy
- equally astionishingly contains file to be copied
react-editable-tree
- contain's the website's code appropriated from this repository
whole_project
- contains a 'failsafe' if you are not able to create project in eclipse you can trust me that it will run and only replace rules.drl
file in path specified above and just send it
Create an issue, write me an email, or message me on fb.