Skip to content
This repository has been archived by the owner on Aug 4, 2022. It is now read-only.

Import feature #58

Open
tassoman opened this issue Nov 7, 2019 · 6 comments
Open

Import feature #58

tassoman opened this issue Nov 7, 2019 · 6 comments
Labels
enhancement New feature or request

Comments

@tassoman
Copy link

tassoman commented Nov 7, 2019

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

@ericzon
Copy link
Contributor

ericzon commented Nov 7, 2019

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.

@tassoman
Copy link
Author

tassoman commented Nov 7, 2019

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.

@ericzon
Copy link
Contributor

ericzon commented Nov 10, 2019

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 :)

@tassoman
Copy link
Author

Sadly I'm not skilled at React but maybe I can push something in the future

@ericzon ericzon added the enhancement New feature or request label Nov 11, 2019
@ericzon
Copy link
Contributor

ericzon commented Nov 13, 2019

I've created a project section to define the steps to accomplish this.

@tassoman
Copy link
Author

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? 😨

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!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants