URL

Downloads a dataset from a remote CSV or JSONL URL. Use it to load data hosted elsewhere without keeping a local copy.

Behaviour

The URL must point directly to a .csv or .jsonl file. Filters are AND-combined and applied after the file is downloaded.

Examples

Example: Remote CSV. Loads a dataset from a public URL.

URL Dataset Source
# ...
source:
  type: "url"
  url: "https://huggingface.co/datasets/JailbreakBench/JBB-Behaviors/raw/main/data/judge-comparison.csv"

Configuration

Properties


type Literal “url required

Remote URL dataset source.


url string required

URL pointing to a CSV or JSONL file. Must end with .csv or .jsonl extension.


filters array[FilterComparison, FilterMembership, FilterUnary]

Optional list of filters to apply after loading (AND-combined).