-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
contributions-welcomeGood for people looking to contributeGood for people looking to contributedocumentationImprovements or additions to documentationImprovements or additions to documentation
Description
Is your feature request related to a problem? Please describe.
The documentation mentions that DatasetResolver can support remote sources, but currently there's no example showcasing how to implement such an HTTP-based resolver. It would be valuable to demonstrate how to load datasets from HTTP-based services, such as a REST API or remote URLs.
Describe the solution you'd like
Add an example HttpDatasetResolver to the dokimos-example module that showcases:
- Support of URIs like
http://orhttps:// - Fetching JSON/CSV datasets from remotes
- Basic error handling in cases of network issues
- This could probably use Java's built-in
HttpClientfor simplicity
The example could look like something like this:
Dataset dataset = registry.resolve("https://api.some-domain.com/qa-dataset-v1.json");Metadata
Metadata
Assignees
Labels
contributions-welcomeGood for people looking to contributeGood for people looking to contributedocumentationImprovements or additions to documentationImprovements or additions to documentation