Chanakya
Chanakya copied to clipboard
[Knowledge Base] Replace custom knowledge-base format with JSON.
I think its possible to implement a custom JSON compiler using DFAs. I've been trying using a convoluted logic till now, but that seems to be much more easier.
Finished the custom json-validation. Need to move onto building the info tree with it now.
Need to add the getKeywords function from the tree builder function.
Right, so instead of getting keywords and all that from the json file. We are going to convert it to a knowledge file instead. This will involve no extra programming when involving more file formats.