colin29/mai

Storing Knowledge Graphs between sessions.

Opened this issue · 0 comments

  • Can save a representation of the Knowledge graph to a a chosen file.
  • [Optional] Can select from Graph, preview them, and load them at runtime.

Have Mai able to attempt to import entries from a file, holding them in an intermediate storage (confirm or discard). That way I can add entres without clogging up the code. I can even have Mai store to a file of chosen name, meaning I can keep different back ups for different testing purposes.

Implementations:

  1. Have a file with text which I parse and use to construct a knowledge graph.
    A output converter is needed to save the knowledge graph to a text file (perhaps xml is more suited)
  2. Write to a c++ file and literally just include the file. In this case, only the output converter is needed.