Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connecting Label Studio to elastic search #536

Open
abfshaal opened this issue Jan 10, 2021 · 3 comments
Open

Connecting Label Studio to elastic search #536

abfshaal opened this issue Jan 10, 2021 · 3 comments
Assignees
Labels

Comments

@abfshaal
Copy link

Hello!

I would like to connect label studio directly to an elastic search database without having to pull the data from the database and changing it to a json format. I have read in the documentary about S3 services and Google Cloud.

Also, is it possible to dump the data to a database when finishing labelling instead of exporting to json/csv ?
Many Thanks!

@makseq
Copy link
Member

makseq commented Jan 10, 2021

Hello! Thanks for your proposal.
We are looking to django + sqlite migration soon, so I hope it will be much easier to use elasticsearch there.

What do you mean when you are talking "dump the data to a datbase"? What database do you mean?
All tasks and completions are stored in project folder as json files.

BTW, similar issue:
#405

@abfshaal
Copy link
Author

Thank you so much for the quick response!

I meant export the Labeled Data when the new field back to another elastic search Index, instead of exporting as a json/csv first then injecting in the database.

I also have another question, is it possible to assign data with unique ID that label studio can use to not duplicate tasks?
Many Thanks!

@makseq
Copy link
Member

makseq commented Jan 13, 2021

@abfshaal If you want to edit already existing task you need to do it in your_project/tasks.json file directly.
Or why do you need it?

@niklub niklub added the feature Feature request label Mar 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants