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

Other Datasets page required endpoints: #2

Open
2 of 3 tasks
ManuTrt opened this issue Dec 20, 2022 · 0 comments
Open
2 of 3 tasks

Other Datasets page required endpoints: #2

ManuTrt opened this issue Dec 20, 2022 · 0 comments

Comments

@ManuTrt
Copy link
Collaborator

ManuTrt commented Dec 20, 2022

@stefanruseti

  • GET tasks with the following response data preferred format:
{
     "tasks": ["Text Classification", "Summarization", "Sentiment Analysis"]
}
  • GET languages with the following response data preferred format:
{
     "languages": [
                {
                    "id": 1,
                    "label": "EN"
                },
                {
                    "id": 2,
                    "label": "FR"
                },
                {
                    "id": 3,
                    "label": "RO"
                }
            ]
}
  • GET datasets with the following response data preferred format:
{
    "datasets": [
            {
                "name": "Dataset 2",
                "task": "Text Classification",
                "language": "EN",
                "numberOfTasks": 2,
                "numberOfEntries": 1000,
            },
            {
               "name": "IMDB Dataset",
               "task": "Summarization",
               "language": "EN",
               "numberOfTasks": 2,
               "numberOfEntries": 1000,
           }
        ]
   
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant