
This dataset contains 100k curated structured output examples from the ScrapeGraphAI OSS library logs collected in Q2-Q3 of 2025. Each example captures an LLM's attempt to extract structured data from web content following a user-defined JSON schema.
The dataset was derived from 9 million raw PostHog events, processed to extract schema complexity metrics, and balanced to ensure diversity across unique schemas.
| Field | Type | Description |
|---|---|---|
prompt | string | The prompt sent to the LLM |
schema | string | JSON schema defining the expected output structure |
schema_hash | string | Unique hash of the schema |
response | string | LLM's extracted content (ideally matching the schema) |
content | string | Source web content being scraped |
llm_model | string | Model used for extraction |
source | string | Source URL/identifier |
execution_time | float | Time taken for extraction (seconds) |
response_size | int | Size of the response in bytes |
schema_size | int | Size of the schema in bytes |
schema_depth | int | Maximum nesting depth of the schema |
schema_keys | int | Number of keys in the schema |
schema_elements | int | Total number of elements in the schema |
schema_cyclomatic_complexity | int | Cyclomatic complexity of the schema |
schema_complexity_score | float | Aggregate complexity score |
response_is_valid | bool | Whether the response matches the schema |
The schema complexity metrics are computed following the methodology from SLOT: Structuring the Output of Large Language Models (Wang et al., 2025).
@dataset{scrapegraphai_2025_100k,
title = {ScrapeGraphAI 100k Structured Output Dataset},
author = {Francesco Zuppichini},
year = {2025},
email = {francesco@scrapegraphai.com},
url = {https://huggingface.co/datasets/ScrapeGraphAI/sgai-100k}
}