Open tassoman opened 5 years ago
The import that is working right now is pretty limited for this use case. It should add relations with entities. I'll add a new issue to track that.
How do actual import works?
I showed nlp.js-app to my team and they wanted to test and experiment as soon as possible on a working copy but I do not want to waste their effort, so I think exporting and importing can be a safe way to "backup" things either isn't yet a pretty GUI feature. If it's already working is enough for start but sadly I can't find any documentation about it.
At this moment it only exists a simple version of export. There's no import process yet but it's a nice feature to think about. I'm giving priority to give stability to the dashboard. PR are welcome :)
Sadly I'm not skilled at React but maybe I can push something in the future
I've created a project section to define the steps to accomplish this.
Good idea! I feel it's very clear and precise.
I've tried exporting Agent's Intents data in a CSV file, I got IDs columns about everything, useful for scripting but not very readable for a human being. Could people can get scared about ids? :fearful:
Maybe we can get rid of IDs during import-export? While importing data we're rewriting entire the knowledge base, so I bet new id are created and there's no interest on old data. A re-train still needed. In this case string matching is the relationship between Agent 's Name and Intent's name.
Reading the csv columns, I found Entities are not yet exported. Maybe can be useful getting an import-export of entities too? Or maybe can be delayed to another iteration?
Just a point of view, I hope it's useful for development. Thanks for reading!
While I found «export» link in the Agent page, presumably there's no way to import an exported CSV. I didn't found it.
Data import inside existing agent
as nlp.js-app trainer I would like to click a link named «import» to overwrite current agent's KB by CSV upload
Agent creation from scratch
as nlp.js-app trainer I would like to push a button named «+ import agent» to create a brand new agent and fill it with data from a CSV upload