conversations listlengths 2 2 | metadata dict | id stringlengths 36 36 |
|---|---|---|
[
{
"from": "human",
"value": "Create a markdown table comparing PostgreSQL, MySQL, and SQLite across these dimensions: open source (yes/no), supports JSON (yes/no), max database size, suitable for production (yes/no), and best use case."
},
{
"from": "gpt",
"value": "| Feature | PostgreSQL | MySQ... | {
"format": "markdown_table",
"topic": "comparison_table",
"output_format": "markdown_table",
"task": "comparison"
} | 954b919b-2602-4c8e-a4da-fc8d46e5ae17 |
[
{
"from": "human",
"value": "Export a confusion matrix as CSV for a 3-class classifier (cat, dog, bird) with these results: cats correctly predicted 45, predicted as dog 3, bird 2; dogs correctly 38, as cat 5, bird 7; birds correctly 41, as cat 1, dog 8."
},
{
"from": "gpt",
"value": "```csv\nac... | {
"format": "csv",
"topic": "matrix_data",
"output_format": "csv",
"task": "ml_results"
} | 6196c570-ec58-4ab6-a559-d28b2671d3a8 |
[
{
"from": "human",
"value": "Generate a valid RSS 2.0 XML feed for a tech blog with: feed title 'TechInsights', link 'https://techinsights.example.com', description 'Weekly tech analysis', and 2 sample items with titles, links, descriptions, and pubDate fields."
},
{
"from": "gpt",
"value": "```... | {
"format": "xml",
"topic": "rss_feed",
"output_format": "xml",
"task": "feed_generation"
} | e97a1101-6ef8-4c0f-aa5f-3a5b80ec5e62 |
[
{
"from": "human",
"value": "Create a feature comparison table for three SaaS pricing tiers (Free, Pro at $29/mo, Enterprise custom pricing) across: user seats, storage, API calls per month, custom domain, priority support, SSO, and SLA guarantee."
},
{
"from": "gpt",
"value": "| Feature | Free ... | {
"format": "markdown_table",
"topic": "feature_matrix",
"output_format": "markdown_table",
"task": "product_content"
} | 730368d8-0681-4773-a521-5772af57c5e8 |
[
{
"from": "human",
"value": "Extract the following information into JSON: 'John Smith, 34 years old, works as a software engineer at Acme Corp, lives in Austin Texas, hobbies include cycling and photography, contact: john.smith@example.com'"
},
{
"from": "gpt",
"value": "```json\n{\n \"name\": ... | {
"format": "json",
"topic": "user_profile_schema",
"output_format": "json",
"task": "extraction"
} | 891580f5-a4d7-4a1c-819a-e509573a1bfe |
[
{
"from": "human",
"value": "Write a Kubernetes Deployment YAML for a web API: name 'api-server', 3 replicas, image 'myorg/api:v2.1.0', container port 8080, memory limit 512Mi, CPU limit 500m, with an environment variable API_KEY from a secret named 'api-credentials'."
},
{
"from": "gpt",
"value... | {
"format": "yaml",
"topic": "kubernetes_config",
"output_format": "yaml",
"task": "infrastructure_config"
} | 51773f24-476a-46a1-8345-04a5e2409199 |
[
{
"from": "human",
"value": "Create a feature comparison table for three SaaS pricing tiers (Free, Pro at $29/mo, Enterprise custom pricing) across: user seats, storage, API calls per month, custom domain, priority support, SSO, and SLA guarantee."
},
{
"from": "gpt",
"value": "| Feature | Free ... | {
"format": "markdown_table",
"topic": "feature_matrix",
"output_format": "markdown_table",
"task": "product_content"
} | 70eb01bc-0f62-4437-8e7f-b0e303d69e42 |
[
{
"from": "human",
"value": "Write a JSON API response for a paginated list of products. Include: 3 sample products with id, name, price, and in_stock fields; pagination metadata with page, per_page, total_items, total_pages; and a success status field."
},
{
"from": "gpt",
"value": "```json\n{\... | {
"format": "json",
"topic": "api_response_structure",
"output_format": "json",
"task": "schema_design"
} | 5e9f4491-1e3f-4e8a-bf84-c0f17fe448b5 |
[
{
"from": "human",
"value": "Design a JSON error response format for a REST API that includes: HTTP status code, error code (machine-readable string), human-readable message, optional list of field-level validation errors (each with field name and message), and a request trace ID."
},
{
"from": "gpt... | {
"format": "json",
"topic": "error_response",
"output_format": "json",
"task": "api_design"
} | fa36a3cf-9aa1-4f9d-95c7-b24297545659 |
[
{
"from": "human",
"value": "Write a JSON Schema for a blog post object with: title (required string, 1-200 chars), content (required string), author_id (required integer), tags (optional array of strings, max 10 tags, each tag max 50 chars), published_at (optional ISO 8601 datetime string), and status (req... | {
"format": "json_schema",
"topic": "schema_definition",
"output_format": "json_schema",
"task": "schema_definition"
} | 474daa07-ea46-4d7f-8f73-25936f2b8705 |
[
{
"from": "human",
"value": "Create a valid GeoJSON FeatureCollection with two features: a Point feature for the Eiffel Tower (lat: 48.8584, lon: 2.2945) with a name property, and a Polygon feature representing a rough square around it."
},
{
"from": "gpt",
"value": "```json\n{\n \"type\": \"Fe... | {
"format": "json",
"topic": "geojson",
"output_format": "json",
"task": "geospatial"
} | 9fe112fd-16bb-46ab-a9bf-57e40ebfbf37 |
[
{
"from": "human",
"value": "Export a confusion matrix as CSV for a 3-class classifier (cat, dog, bird) with these results: cats correctly predicted 45, predicted as dog 3, bird 2; dogs correctly 38, as cat 5, bird 7; birds correctly 41, as cat 1, dog 8."
},
{
"from": "gpt",
"value": "```csv\nac... | {
"format": "csv",
"topic": "matrix_data",
"output_format": "csv",
"task": "ml_results"
} | bee17ec5-c4ba-45e4-93b7-65236040ef53 |
[
{
"from": "human",
"value": "Write an OpenAPI 3.0 schema object for a 'Product' with: id (integer, read-only), name (string, required, 1-100 chars), price (number, required, minimum 0), category (string, required, enum of electronics/clothing/food/other), and description (string, optional)."
},
{
"f... | {
"format": "json",
"topic": "openapi_fragment",
"output_format": "yaml",
"task": "openapi_schema"
} | bf8e7615-02d3-4446-8114-f07b50a69a16 |
[
{
"from": "human",
"value": "Write a JSON API response for a paginated list of products. Include: 3 sample products with id, name, price, and in_stock fields; pagination metadata with page, per_page, total_items, total_pages; and a success status field."
},
{
"from": "gpt",
"value": "```json\n{\... | {
"format": "json",
"topic": "api_response_structure",
"output_format": "json",
"task": "schema_design"
} | 5fdc9994-51b3-46b1-80bd-43deb8463b21 |
[
{
"from": "human",
"value": "Model a simple order state machine as JSON. States: pending, confirmed, shipped, delivered, cancelled. Include valid transitions for each state."
},
{
"from": "gpt",
"value": "```json\n{\n \"initial_state\": \"pending\",\n \"states\": {\n \"pending\": {\n \... | {
"format": "json",
"topic": "state_machine",
"output_format": "json",
"task": "data_modeling"
} | a7b7d3aa-defa-4536-8b74-65d861a1a5f9 |
[
{
"from": "human",
"value": "Design a JSON error response format for a REST API that includes: HTTP status code, error code (machine-readable string), human-readable message, optional list of field-level validation errors (each with field name and message), and a request trace ID."
},
{
"from": "gpt... | {
"format": "json",
"topic": "error_response",
"output_format": "json",
"task": "api_design"
} | 8470f4f5-7416-4fef-90a1-45f62c71f1f1 |
[
{
"from": "human",
"value": "Create a valid GeoJSON FeatureCollection with two features: a Point feature for the Eiffel Tower (lat: 48.8584, lon: 2.2945) with a name property, and a Polygon feature representing a rough square around it."
},
{
"from": "gpt",
"value": "```json\n{\n \"type\": \"Fe... | {
"format": "json",
"topic": "geojson",
"output_format": "json",
"task": "geospatial"
} | 9795c687-56b1-4324-a9bd-998af6f8b771 |
[
{
"from": "human",
"value": "Write a JSON Schema for a blog post object with: title (required string, 1-200 chars), content (required string), author_id (required integer), tags (optional array of strings, max 10 tags, each tag max 50 chars), published_at (optional ISO 8601 datetime string), and status (req... | {
"format": "json_schema",
"topic": "schema_definition",
"output_format": "json_schema",
"task": "schema_definition"
} | 80e4faf4-18d0-496b-95a7-b00a5cd8268a |
[
{
"from": "human",
"value": "Write an OpenAPI 3.0 schema object for a 'Product' with: id (integer, read-only), name (string, required, 1-100 chars), price (number, required, minimum 0), category (string, required, enum of electronics/clothing/food/other), and description (string, optional)."
},
{
"f... | {
"format": "json",
"topic": "openapi_fragment",
"output_format": "yaml",
"task": "openapi_schema"
} | 6ce9b316-63bb-4753-8c65-46564cb3ab54 |
[
{
"from": "human",
"value": "Generate a valid RSS 2.0 XML feed for a tech blog with: feed title 'TechInsights', link 'https://techinsights.example.com', description 'Weekly tech analysis', and 2 sample items with titles, links, descriptions, and pubDate fields."
},
{
"from": "gpt",
"value": "```... | {
"format": "xml",
"topic": "rss_feed",
"output_format": "xml",
"task": "feed_generation"
} | 1abd08f0-6251-4ef5-8a1d-f315ee0a7128 |
[
{
"from": "human",
"value": "Write an OpenAPI 3.0 schema object for a 'Product' with: id (integer, read-only), name (string, required, 1-100 chars), price (number, required, minimum 0), category (string, required, enum of electronics/clothing/food/other), and description (string, optional)."
},
{
"f... | {
"format": "json",
"topic": "openapi_fragment",
"output_format": "yaml",
"task": "openapi_schema"
} | e3d005c6-632d-4b78-ae93-8a9c012c833a |
[
{
"from": "human",
"value": "Write a Docker Compose YAML for a web app stack: a 'web' service (image: myapp:latest, port 3000:3000, depends on db), a 'db' service (image: postgres:15, environment variables for POSTGRES_DB, POSTGRES_USER, POSTGRES_PASSWORD, volume for data persistence), and a named volume 'd... | {
"format": "yaml",
"topic": "docker_compose",
"output_format": "yaml",
"task": "infrastructure_config"
} | e25997b6-0f83-4695-891a-f10cec6e0368 |
[
{
"from": "human",
"value": "Write a Kubernetes Deployment YAML for a web API: name 'api-server', 3 replicas, image 'myorg/api:v2.1.0', container port 8080, memory limit 512Mi, CPU limit 500m, with an environment variable API_KEY from a secret named 'api-credentials'."
},
{
"from": "gpt",
"value... | {
"format": "yaml",
"topic": "kubernetes_config",
"output_format": "yaml",
"task": "infrastructure_config"
} | 5e8d16c5-54c2-451d-a93c-6868fe32385a |
[
{
"from": "human",
"value": "Export a confusion matrix as CSV for a 3-class classifier (cat, dog, bird) with these results: cats correctly predicted 45, predicted as dog 3, bird 2; dogs correctly 38, as cat 5, bird 7; birds correctly 41, as cat 1, dog 8."
},
{
"from": "gpt",
"value": "```csv\nac... | {
"format": "csv",
"topic": "matrix_data",
"output_format": "csv",
"task": "ml_results"
} | f8b292c7-56fa-40f7-8770-156516d406a5 |
[
{
"from": "human",
"value": "Generate a valid RSS 2.0 XML feed for a tech blog with: feed title 'TechInsights', link 'https://techinsights.example.com', description 'Weekly tech analysis', and 2 sample items with titles, links, descriptions, and pubDate fields."
},
{
"from": "gpt",
"value": "```... | {
"format": "xml",
"topic": "rss_feed",
"output_format": "xml",
"task": "feed_generation"
} | 5bfb8c62-f067-4837-953a-3bcca07c3fd8 |
[
{
"from": "human",
"value": "Write an OpenAPI 3.0 schema object for a 'Product' with: id (integer, read-only), name (string, required, 1-100 chars), price (number, required, minimum 0), category (string, required, enum of electronics/clothing/food/other), and description (string, optional)."
},
{
"f... | {
"format": "json",
"topic": "openapi_fragment",
"output_format": "yaml",
"task": "openapi_schema"
} | bd02f682-0bef-4008-a47c-b1a743ee1533 |
[
{
"from": "human",
"value": "Format this sales data as a markdown table with a totals row: Q1: $124,500 | Q2: $187,200 | Q3: $156,800 | Q4: $203,100. Also include a column for quarter-over-quarter growth percentage."
},
{
"from": "gpt",
"value": "| Quarter | Revenue | QoQ Growth |\n|---|---|---|... | {
"format": "markdown_table",
"topic": "data_report",
"output_format": "markdown_table",
"task": "data_formatting"
} | 51cb876a-4e85-4b14-9e5e-470b8c0a725d |
[
{
"from": "human",
"value": "Create a valid GeoJSON FeatureCollection with two features: a Point feature for the Eiffel Tower (lat: 48.8584, lon: 2.2945) with a name property, and a Polygon feature representing a rough square around it."
},
{
"from": "gpt",
"value": "```json\n{\n \"type\": \"Fe... | {
"format": "json",
"topic": "geojson",
"output_format": "json",
"task": "geospatial"
} | c7362c80-74f9-421a-b51a-09375f3ceacd |
[
{
"from": "human",
"value": "Model a simple order state machine as JSON. States: pending, confirmed, shipped, delivered, cancelled. Include valid transitions for each state."
},
{
"from": "gpt",
"value": "```json\n{\n \"initial_state\": \"pending\",\n \"states\": {\n \"pending\": {\n \... | {
"format": "json",
"topic": "state_machine",
"output_format": "json",
"task": "data_modeling"
} | df5ac32a-2dc9-4ea8-b102-e6ba907d66dc |
[
{
"from": "human",
"value": "Write a Docker Compose YAML for a web app stack: a 'web' service (image: myapp:latest, port 3000:3000, depends on db), a 'db' service (image: postgres:15, environment variables for POSTGRES_DB, POSTGRES_USER, POSTGRES_PASSWORD, volume for data persistence), and a named volume 'd... | {
"format": "yaml",
"topic": "docker_compose",
"output_format": "yaml",
"task": "infrastructure_config"
} | 5dd94a3c-cb5a-4b0a-b2f8-824a4f6cd58d |
[
{
"from": "human",
"value": "Write a Kubernetes Deployment YAML for a web API: name 'api-server', 3 replicas, image 'myorg/api:v2.1.0', container port 8080, memory limit 512Mi, CPU limit 500m, with an environment variable API_KEY from a secret named 'api-credentials'."
},
{
"from": "gpt",
"value... | {
"format": "yaml",
"topic": "kubernetes_config",
"output_format": "yaml",
"task": "infrastructure_config"
} | 6a26f1a5-b432-4f1b-ab35-bc4f8ef170e9 |
[
{
"from": "human",
"value": "Design a JSON error response format for a REST API that includes: HTTP status code, error code (machine-readable string), human-readable message, optional list of field-level validation errors (each with field name and message), and a request trace ID."
},
{
"from": "gpt... | {
"format": "json",
"topic": "error_response",
"output_format": "json",
"task": "api_design"
} | 9df65928-8ae1-46b3-8af2-cccd5c5702e8 |
[
{
"from": "human",
"value": "Write markdown documentation for this API endpoint: POST /api/v1/users/login. It accepts email and password in the request body, returns a JWT token on success, and can return 401 (invalid credentials) or 422 (validation error) on failure."
},
{
"from": "gpt",
"value... | {
"format": "markdown",
"topic": "api_documentation",
"output_format": "markdown",
"task": "documentation"
} | 1a5b8fac-63ef-4ca7-a5a4-900da7fac233 |
[
{
"from": "human",
"value": "Model a simple order state machine as JSON. States: pending, confirmed, shipped, delivered, cancelled. Include valid transitions for each state."
},
{
"from": "gpt",
"value": "```json\n{\n \"initial_state\": \"pending\",\n \"states\": {\n \"pending\": {\n \... | {
"format": "json",
"topic": "state_machine",
"output_format": "json",
"task": "data_modeling"
} | 54b5b67f-eb3a-4c9e-ad50-2cf2d7247a19 |
[
{
"from": "human",
"value": "Create a markdown table comparing PostgreSQL, MySQL, and SQLite across these dimensions: open source (yes/no), supports JSON (yes/no), max database size, suitable for production (yes/no), and best use case."
},
{
"from": "gpt",
"value": "| Feature | PostgreSQL | MySQ... | {
"format": "markdown_table",
"topic": "comparison_table",
"output_format": "markdown_table",
"task": "comparison"
} | 23944f81-719b-4c13-8e4c-4f5703eea0ca |
[
{
"from": "human",
"value": "Generate a JSON configuration file for a web application with: server settings (host, port, SSL enabled), database connection (host, port, database name, pool size of 10, timeout of 30s), and logging settings (level: info, file path, max file size 10MB, rotate after 5 files)."
... | {
"format": "json",
"topic": "nested_config",
"output_format": "json",
"task": "config_generation"
} | 3a44a645-0ec0-4e0e-b8f2-9c78e0e5ba8c |
[
{
"from": "human",
"value": "Model a simple order state machine as JSON. States: pending, confirmed, shipped, delivered, cancelled. Include valid transitions for each state."
},
{
"from": "gpt",
"value": "```json\n{\n \"initial_state\": \"pending\",\n \"states\": {\n \"pending\": {\n \... | {
"format": "json",
"topic": "state_machine",
"output_format": "json",
"task": "data_modeling"
} | e342a12d-a651-46d8-8c70-b029940910ff |
[
{
"from": "human",
"value": "Model a simple order state machine as JSON. States: pending, confirmed, shipped, delivered, cancelled. Include valid transitions for each state."
},
{
"from": "gpt",
"value": "```json\n{\n \"initial_state\": \"pending\",\n \"states\": {\n \"pending\": {\n \... | {
"format": "json",
"topic": "state_machine",
"output_format": "json",
"task": "data_modeling"
} | c6464d96-fb9f-4989-a46a-6b802d46cd3b |
[
{
"from": "human",
"value": "Write a Kubernetes Deployment YAML for a web API: name 'api-server', 3 replicas, image 'myorg/api:v2.1.0', container port 8080, memory limit 512Mi, CPU limit 500m, with an environment variable API_KEY from a secret named 'api-credentials'."
},
{
"from": "gpt",
"value... | {
"format": "yaml",
"topic": "kubernetes_config",
"output_format": "yaml",
"task": "infrastructure_config"
} | eb31baad-9851-4594-881b-10fec8966bad |
[
{
"from": "human",
"value": "Design a webhook event payload JSON for a payment.completed event: include event type, event ID, timestamp, API version, and a data object with payment_id, amount (in cents), currency, customer_id, payment_method (card/bank_transfer/crypto), and a metadata object for arbitrary k... | {
"format": "json",
"topic": "event_payload",
"output_format": "json",
"task": "event_design"
} | c297311f-5572-4bd8-a21b-966c51b9456e |
[
{
"from": "human",
"value": "Design a webhook event payload JSON for a payment.completed event: include event type, event ID, timestamp, API version, and a data object with payment_id, amount (in cents), currency, customer_id, payment_method (card/bank_transfer/crypto), and a metadata object for arbitrary k... | {
"format": "json",
"topic": "event_payload",
"output_format": "json",
"task": "event_design"
} | e63d205c-e7ff-46f6-a55e-d1cc7d5bcfb7 |
[
{
"from": "human",
"value": "Write a JSON API response for a paginated list of products. Include: 3 sample products with id, name, price, and in_stock fields; pagination metadata with page, per_page, total_items, total_pages; and a success status field."
},
{
"from": "gpt",
"value": "```json\n{\... | {
"format": "json",
"topic": "api_response_structure",
"output_format": "json",
"task": "schema_design"
} | 793c92c5-352e-443c-9bbd-a2c343caadd9 |
[
{
"from": "human",
"value": "Represent this organizational hierarchy as a JSON tree: CEO (Alice), who manages CTO (Bob) and CFO (Carol). Bob manages Engineering Lead (Dave) and QA Lead (Eve). Carol manages Controller (Frank)."
},
{
"from": "gpt",
"value": "```json\n{\n \"name\": \"Alice\",\n \... | {
"format": "json",
"topic": "tree_structure",
"output_format": "json",
"task": "data_modeling"
} | 5b215fdb-ef6f-4f80-b873-bd0cfbf65db1 |
[
{
"from": "human",
"value": "Generate a CSV of daily temperature readings for one week with columns: date (ISO format), city, high_celsius, low_celsius, condition (sunny/cloudy/rainy). Use realistic values for a European city in July."
},
{
"from": "gpt",
"value": "```csv\ndate,city,high_celsius... | {
"format": "csv",
"topic": "time_series",
"output_format": "csv",
"task": "time_series_data"
} | 47cef682-b4b2-490f-9e71-a5e317ac6c8f |
[
{
"from": "human",
"value": "Export a confusion matrix as CSV for a 3-class classifier (cat, dog, bird) with these results: cats correctly predicted 45, predicted as dog 3, bird 2; dogs correctly 38, as cat 5, bird 7; birds correctly 41, as cat 1, dog 8."
},
{
"from": "gpt",
"value": "```csv\nac... | {
"format": "csv",
"topic": "matrix_data",
"output_format": "csv",
"task": "ml_results"
} | cd3ce4ea-28ee-4809-8be6-1cb28e669d61 |
[
{
"from": "human",
"value": "Write a Kubernetes Deployment YAML for a web API: name 'api-server', 3 replicas, image 'myorg/api:v2.1.0', container port 8080, memory limit 512Mi, CPU limit 500m, with an environment variable API_KEY from a secret named 'api-credentials'."
},
{
"from": "gpt",
"value... | {
"format": "yaml",
"topic": "kubernetes_config",
"output_format": "yaml",
"task": "infrastructure_config"
} | 17c17120-09f1-4b0e-9d92-9d4c4b447de1 |
[
{
"from": "human",
"value": "Generate a CSV of 5 sample employee records with columns: employee_id, first_name, last_name, department, salary, hire_date, is_manager."
},
{
"from": "gpt",
"value": "```csv\nemployee_id,first_name,last_name,department,salary,hire_date,is_manager\n1001,Sarah,Chen,En... | {
"format": "csv",
"topic": "data_export",
"output_format": "csv",
"task": "data_generation"
} | fd11d7e6-bc37-43c7-b5c5-da85652fce93 |
[
{
"from": "human",
"value": "Create a markdown table comparing PostgreSQL, MySQL, and SQLite across these dimensions: open source (yes/no), supports JSON (yes/no), max database size, suitable for production (yes/no), and best use case."
},
{
"from": "gpt",
"value": "| Feature | PostgreSQL | MySQ... | {
"format": "markdown_table",
"topic": "comparison_table",
"output_format": "markdown_table",
"task": "comparison"
} | 180bd2d4-b7a1-4067-a0fa-c040a5623060 |
[
{
"from": "human",
"value": "Write markdown documentation for this API endpoint: POST /api/v1/users/login. It accepts email and password in the request body, returns a JWT token on success, and can return 401 (invalid credentials) or 422 (validation error) on failure."
},
{
"from": "gpt",
"value... | {
"format": "markdown",
"topic": "api_documentation",
"output_format": "markdown",
"task": "documentation"
} | db769dcf-4995-4c31-a576-641c1d405dbc |
[
{
"from": "human",
"value": "Export a confusion matrix as CSV for a 3-class classifier (cat, dog, bird) with these results: cats correctly predicted 45, predicted as dog 3, bird 2; dogs correctly 38, as cat 5, bird 7; birds correctly 41, as cat 1, dog 8."
},
{
"from": "gpt",
"value": "```csv\nac... | {
"format": "csv",
"topic": "matrix_data",
"output_format": "csv",
"task": "ml_results"
} | 892c44bc-3a20-4449-acc5-fc5d6fcfc04d |
[
{
"from": "human",
"value": "Generate a valid RSS 2.0 XML feed for a tech blog with: feed title 'TechInsights', link 'https://techinsights.example.com', description 'Weekly tech analysis', and 2 sample items with titles, links, descriptions, and pubDate fields."
},
{
"from": "gpt",
"value": "```... | {
"format": "xml",
"topic": "rss_feed",
"output_format": "xml",
"task": "feed_generation"
} | fe2360af-8789-4230-999f-918ab6fad90e |
[
{
"from": "human",
"value": "Represent this organizational hierarchy as a JSON tree: CEO (Alice), who manages CTO (Bob) and CFO (Carol). Bob manages Engineering Lead (Dave) and QA Lead (Eve). Carol manages Controller (Frank)."
},
{
"from": "gpt",
"value": "```json\n{\n \"name\": \"Alice\",\n \... | {
"format": "json",
"topic": "tree_structure",
"output_format": "json",
"task": "data_modeling"
} | f0a1d5ab-63ac-40a2-990b-86a1a366a367 |
[
{
"from": "human",
"value": "Generate a CSV of daily temperature readings for one week with columns: date (ISO format), city, high_celsius, low_celsius, condition (sunny/cloudy/rainy). Use realistic values for a European city in July."
},
{
"from": "gpt",
"value": "```csv\ndate,city,high_celsius... | {
"format": "csv",
"topic": "time_series",
"output_format": "csv",
"task": "time_series_data"
} | 3516525a-93d8-4024-8a86-b050ef4673e5 |
[
{
"from": "human",
"value": "Design a JSON error response format for a REST API that includes: HTTP status code, error code (machine-readable string), human-readable message, optional list of field-level validation errors (each with field name and message), and a request trace ID."
},
{
"from": "gpt... | {
"format": "json",
"topic": "error_response",
"output_format": "json",
"task": "api_design"
} | 984552ff-c27a-40b6-bd76-188bdb69ef0e |
[
{
"from": "human",
"value": "Create a markdown table comparing PostgreSQL, MySQL, and SQLite across these dimensions: open source (yes/no), supports JSON (yes/no), max database size, suitable for production (yes/no), and best use case."
},
{
"from": "gpt",
"value": "| Feature | PostgreSQL | MySQ... | {
"format": "markdown_table",
"topic": "comparison_table",
"output_format": "markdown_table",
"task": "comparison"
} | e80233e8-0e4b-4cb4-9e70-8430ee279983 |
[
{
"from": "human",
"value": "Generate a valid RSS 2.0 XML feed for a tech blog with: feed title 'TechInsights', link 'https://techinsights.example.com', description 'Weekly tech analysis', and 2 sample items with titles, links, descriptions, and pubDate fields."
},
{
"from": "gpt",
"value": "```... | {
"format": "xml",
"topic": "rss_feed",
"output_format": "xml",
"task": "feed_generation"
} | b8e6f641-9c57-47bb-9153-03c31c4dd33b |
[
{
"from": "human",
"value": "Model a simple order state machine as JSON. States: pending, confirmed, shipped, delivered, cancelled. Include valid transitions for each state."
},
{
"from": "gpt",
"value": "```json\n{\n \"initial_state\": \"pending\",\n \"states\": {\n \"pending\": {\n \... | {
"format": "json",
"topic": "state_machine",
"output_format": "json",
"task": "data_modeling"
} | d838b6da-e31c-49c6-86ea-b1c2d7c5c978 |
[
{
"from": "human",
"value": "Write a Kubernetes Deployment YAML for a web API: name 'api-server', 3 replicas, image 'myorg/api:v2.1.0', container port 8080, memory limit 512Mi, CPU limit 500m, with an environment variable API_KEY from a secret named 'api-credentials'."
},
{
"from": "gpt",
"value... | {
"format": "yaml",
"topic": "kubernetes_config",
"output_format": "yaml",
"task": "infrastructure_config"
} | 58d1ffd0-29f3-4e5b-b961-e77427645c3a |
[
{
"from": "human",
"value": "Write a Kubernetes Deployment YAML for a web API: name 'api-server', 3 replicas, image 'myorg/api:v2.1.0', container port 8080, memory limit 512Mi, CPU limit 500m, with an environment variable API_KEY from a secret named 'api-credentials'."
},
{
"from": "gpt",
"value... | {
"format": "yaml",
"topic": "kubernetes_config",
"output_format": "yaml",
"task": "infrastructure_config"
} | 8a4b8ac2-17a7-4ae8-8414-75edf55aac0c |
[
{
"from": "human",
"value": "Represent this organizational hierarchy as a JSON tree: CEO (Alice), who manages CTO (Bob) and CFO (Carol). Bob manages Engineering Lead (Dave) and QA Lead (Eve). Carol manages Controller (Frank)."
},
{
"from": "gpt",
"value": "```json\n{\n \"name\": \"Alice\",\n \... | {
"format": "json",
"topic": "tree_structure",
"output_format": "json",
"task": "data_modeling"
} | 3c1ad833-05df-4f46-943e-a9ec721fdf18 |
[
{
"from": "human",
"value": "Model a simple order state machine as JSON. States: pending, confirmed, shipped, delivered, cancelled. Include valid transitions for each state."
},
{
"from": "gpt",
"value": "```json\n{\n \"initial_state\": \"pending\",\n \"states\": {\n \"pending\": {\n \... | {
"format": "json",
"topic": "state_machine",
"output_format": "json",
"task": "data_modeling"
} | 03753ee8-5200-47dc-a7e5-29b80354c4f5 |
[
{
"from": "human",
"value": "Write a Docker Compose YAML for a web app stack: a 'web' service (image: myapp:latest, port 3000:3000, depends on db), a 'db' service (image: postgres:15, environment variables for POSTGRES_DB, POSTGRES_USER, POSTGRES_PASSWORD, volume for data persistence), and a named volume 'd... | {
"format": "yaml",
"topic": "docker_compose",
"output_format": "yaml",
"task": "infrastructure_config"
} | 8017add1-e85d-489c-b9cb-8e86a5d8fb5f |
[
{
"from": "human",
"value": "Design a webhook event payload JSON for a payment.completed event: include event type, event ID, timestamp, API version, and a data object with payment_id, amount (in cents), currency, customer_id, payment_method (card/bank_transfer/crypto), and a metadata object for arbitrary k... | {
"format": "json",
"topic": "event_payload",
"output_format": "json",
"task": "event_design"
} | 976fa644-a3b8-48e0-b6b5-932beb6f59d5 |
[
{
"from": "human",
"value": "Model a simple order state machine as JSON. States: pending, confirmed, shipped, delivered, cancelled. Include valid transitions for each state."
},
{
"from": "gpt",
"value": "```json\n{\n \"initial_state\": \"pending\",\n \"states\": {\n \"pending\": {\n \... | {
"format": "json",
"topic": "state_machine",
"output_format": "json",
"task": "data_modeling"
} | 498fea7e-d414-480d-bc7a-2e8338d39745 |
[
{
"from": "human",
"value": "Create a feature comparison table for three SaaS pricing tiers (Free, Pro at $29/mo, Enterprise custom pricing) across: user seats, storage, API calls per month, custom domain, priority support, SSO, and SLA guarantee."
},
{
"from": "gpt",
"value": "| Feature | Free ... | {
"format": "markdown_table",
"topic": "feature_matrix",
"output_format": "markdown_table",
"task": "product_content"
} | 16bd4b83-a10a-4b43-b578-bcdd5a233fbc |
[
{
"from": "human",
"value": "Export a confusion matrix as CSV for a 3-class classifier (cat, dog, bird) with these results: cats correctly predicted 45, predicted as dog 3, bird 2; dogs correctly 38, as cat 5, bird 7; birds correctly 41, as cat 1, dog 8."
},
{
"from": "gpt",
"value": "```csv\nac... | {
"format": "csv",
"topic": "matrix_data",
"output_format": "csv",
"task": "ml_results"
} | 11ad76bd-d6a6-47a0-89f4-e64f95422a7d |
[
{
"from": "human",
"value": "Write a Docker Compose YAML for a web app stack: a 'web' service (image: myapp:latest, port 3000:3000, depends on db), a 'db' service (image: postgres:15, environment variables for POSTGRES_DB, POSTGRES_USER, POSTGRES_PASSWORD, volume for data persistence), and a named volume 'd... | {
"format": "yaml",
"topic": "docker_compose",
"output_format": "yaml",
"task": "infrastructure_config"
} | f465806a-221d-4d96-96da-dc679f5e2dae |
[
{
"from": "human",
"value": "Create a markdown table comparing PostgreSQL, MySQL, and SQLite across these dimensions: open source (yes/no), supports JSON (yes/no), max database size, suitable for production (yes/no), and best use case."
},
{
"from": "gpt",
"value": "| Feature | PostgreSQL | MySQ... | {
"format": "markdown_table",
"topic": "comparison_table",
"output_format": "markdown_table",
"task": "comparison"
} | 8494e792-2b64-4edd-a95a-fd94c8c156e5 |
[
{
"from": "human",
"value": "Write a Kubernetes Deployment YAML for a web API: name 'api-server', 3 replicas, image 'myorg/api:v2.1.0', container port 8080, memory limit 512Mi, CPU limit 500m, with an environment variable API_KEY from a secret named 'api-credentials'."
},
{
"from": "gpt",
"value... | {
"format": "yaml",
"topic": "kubernetes_config",
"output_format": "yaml",
"task": "infrastructure_config"
} | 7120981a-602d-4cbf-97e4-1a7fe77a39ac |
[
{
"from": "human",
"value": "Generate a JSON configuration file for a web application with: server settings (host, port, SSL enabled), database connection (host, port, database name, pool size of 10, timeout of 30s), and logging settings (level: info, file path, max file size 10MB, rotate after 5 files)."
... | {
"format": "json",
"topic": "nested_config",
"output_format": "json",
"task": "config_generation"
} | e293f3fc-678e-4dda-bd15-e7a984c451df |
[
{
"from": "human",
"value": "Model a simple order state machine as JSON. States: pending, confirmed, shipped, delivered, cancelled. Include valid transitions for each state."
},
{
"from": "gpt",
"value": "```json\n{\n \"initial_state\": \"pending\",\n \"states\": {\n \"pending\": {\n \... | {
"format": "json",
"topic": "state_machine",
"output_format": "json",
"task": "data_modeling"
} | 9a5354f4-500b-478e-9114-c0a6f6c1624c |
[
{
"from": "human",
"value": "Write a GitHub Actions workflow YAML that: triggers on push to main and pull requests, runs on ubuntu-latest, has a 'test' job that sets up Python 3.11, installs dependencies from requirements.txt, and runs pytest with coverage."
},
{
"from": "gpt",
"value": "```yaml... | {
"format": "yaml",
"topic": "github_actions_workflow",
"output_format": "yaml",
"task": "ci_config"
} | cb6fc5a7-51db-4d3d-a4d6-63e49c661f82 |
[
{
"from": "human",
"value": "Write a Kubernetes Deployment YAML for a web API: name 'api-server', 3 replicas, image 'myorg/api:v2.1.0', container port 8080, memory limit 512Mi, CPU limit 500m, with an environment variable API_KEY from a secret named 'api-credentials'."
},
{
"from": "gpt",
"value... | {
"format": "yaml",
"topic": "kubernetes_config",
"output_format": "yaml",
"task": "infrastructure_config"
} | 79182d61-2b3f-482a-9087-25d813c0d223 |
[
{
"from": "human",
"value": "Generate a CSV of 5 sample employee records with columns: employee_id, first_name, last_name, department, salary, hire_date, is_manager."
},
{
"from": "gpt",
"value": "```csv\nemployee_id,first_name,last_name,department,salary,hire_date,is_manager\n1001,Sarah,Chen,En... | {
"format": "csv",
"topic": "data_export",
"output_format": "csv",
"task": "data_generation"
} | 11493368-30ae-4ab2-af1b-259bbf7bbd2a |
[
{
"from": "human",
"value": "Format this sales data as a markdown table with a totals row: Q1: $124,500 | Q2: $187,200 | Q3: $156,800 | Q4: $203,100. Also include a column for quarter-over-quarter growth percentage."
},
{
"from": "gpt",
"value": "| Quarter | Revenue | QoQ Growth |\n|---|---|---|... | {
"format": "markdown_table",
"topic": "data_report",
"output_format": "markdown_table",
"task": "data_formatting"
} | 9fbd23f0-2516-4a8b-b2b0-8bc2a12c2af2 |
[
{
"from": "human",
"value": "Create a feature comparison table for three SaaS pricing tiers (Free, Pro at $29/mo, Enterprise custom pricing) across: user seats, storage, API calls per month, custom domain, priority support, SSO, and SLA guarantee."
},
{
"from": "gpt",
"value": "| Feature | Free ... | {
"format": "markdown_table",
"topic": "feature_matrix",
"output_format": "markdown_table",
"task": "product_content"
} | 60cb2a26-fc41-4436-b1ad-5df77ba3048a |
[
{
"from": "human",
"value": "Export a confusion matrix as CSV for a 3-class classifier (cat, dog, bird) with these results: cats correctly predicted 45, predicted as dog 3, bird 2; dogs correctly 38, as cat 5, bird 7; birds correctly 41, as cat 1, dog 8."
},
{
"from": "gpt",
"value": "```csv\nac... | {
"format": "csv",
"topic": "matrix_data",
"output_format": "csv",
"task": "ml_results"
} | 487b11fe-ffae-479e-843d-7a08c4a8c94a |
[
{
"from": "human",
"value": "Generate a JSON configuration file for a web application with: server settings (host, port, SSL enabled), database connection (host, port, database name, pool size of 10, timeout of 30s), and logging settings (level: info, file path, max file size 10MB, rotate after 5 files)."
... | {
"format": "json",
"topic": "nested_config",
"output_format": "json",
"task": "config_generation"
} | fb7e7c74-d0cf-4a42-b8c2-fe4b024b68f2 |
[
{
"from": "human",
"value": "Write a Kubernetes Deployment YAML for a web API: name 'api-server', 3 replicas, image 'myorg/api:v2.1.0', container port 8080, memory limit 512Mi, CPU limit 500m, with an environment variable API_KEY from a secret named 'api-credentials'."
},
{
"from": "gpt",
"value... | {
"format": "yaml",
"topic": "kubernetes_config",
"output_format": "yaml",
"task": "infrastructure_config"
} | 92cd3e33-f94e-4366-9045-9bd33b97f83e |
[
{
"from": "human",
"value": "Export a confusion matrix as CSV for a 3-class classifier (cat, dog, bird) with these results: cats correctly predicted 45, predicted as dog 3, bird 2; dogs correctly 38, as cat 5, bird 7; birds correctly 41, as cat 1, dog 8."
},
{
"from": "gpt",
"value": "```csv\nac... | {
"format": "csv",
"topic": "matrix_data",
"output_format": "csv",
"task": "ml_results"
} | 01298e00-94e8-40ac-bfe3-8067c397fb41 |
[
{
"from": "human",
"value": "Write a JSON Schema for a blog post object with: title (required string, 1-200 chars), content (required string), author_id (required integer), tags (optional array of strings, max 10 tags, each tag max 50 chars), published_at (optional ISO 8601 datetime string), and status (req... | {
"format": "json_schema",
"topic": "schema_definition",
"output_format": "json_schema",
"task": "schema_definition"
} | 6f4b01e8-4bf5-4204-88cb-ede46b4f7d64 |
[
{
"from": "human",
"value": "Write a Docker Compose YAML for a web app stack: a 'web' service (image: myapp:latest, port 3000:3000, depends on db), a 'db' service (image: postgres:15, environment variables for POSTGRES_DB, POSTGRES_USER, POSTGRES_PASSWORD, volume for data persistence), and a named volume 'd... | {
"format": "yaml",
"topic": "docker_compose",
"output_format": "yaml",
"task": "infrastructure_config"
} | 502b52b8-bf4b-4d26-b1e5-2e841a7aed23 |
[
{
"from": "human",
"value": "Generate a CSV of 5 sample employee records with columns: employee_id, first_name, last_name, department, salary, hire_date, is_manager."
},
{
"from": "gpt",
"value": "```csv\nemployee_id,first_name,last_name,department,salary,hire_date,is_manager\n1001,Sarah,Chen,En... | {
"format": "csv",
"topic": "data_export",
"output_format": "csv",
"task": "data_generation"
} | 511e41e1-ea26-4490-9b93-75ed42d484a7 |
[
{
"from": "human",
"value": "Generate a CSV of daily temperature readings for one week with columns: date (ISO format), city, high_celsius, low_celsius, condition (sunny/cloudy/rainy). Use realistic values for a European city in July."
},
{
"from": "gpt",
"value": "```csv\ndate,city,high_celsius... | {
"format": "csv",
"topic": "time_series",
"output_format": "csv",
"task": "time_series_data"
} | 0944227e-e0c8-401b-9480-8854d42c0695 |
[
{
"from": "human",
"value": "Create a markdown table comparing PostgreSQL, MySQL, and SQLite across these dimensions: open source (yes/no), supports JSON (yes/no), max database size, suitable for production (yes/no), and best use case."
},
{
"from": "gpt",
"value": "| Feature | PostgreSQL | MySQ... | {
"format": "markdown_table",
"topic": "comparison_table",
"output_format": "markdown_table",
"task": "comparison"
} | 5093c1f2-684c-4150-862f-05648374c329 |
[
{
"from": "human",
"value": "Write an OpenAPI 3.0 schema object for a 'Product' with: id (integer, read-only), name (string, required, 1-100 chars), price (number, required, minimum 0), category (string, required, enum of electronics/clothing/food/other), and description (string, optional)."
},
{
"f... | {
"format": "json",
"topic": "openapi_fragment",
"output_format": "yaml",
"task": "openapi_schema"
} | 162b4a19-cdd7-4927-aceb-121786ae4fe4 |
[
{
"from": "human",
"value": "Write a JSON Schema for a blog post object with: title (required string, 1-200 chars), content (required string), author_id (required integer), tags (optional array of strings, max 10 tags, each tag max 50 chars), published_at (optional ISO 8601 datetime string), and status (req... | {
"format": "json_schema",
"topic": "schema_definition",
"output_format": "json_schema",
"task": "schema_definition"
} | 5fb858ff-c27d-4ff5-8275-36f69a13fc8d |
[
{
"from": "human",
"value": "Design a webhook event payload JSON for a payment.completed event: include event type, event ID, timestamp, API version, and a data object with payment_id, amount (in cents), currency, customer_id, payment_method (card/bank_transfer/crypto), and a metadata object for arbitrary k... | {
"format": "json",
"topic": "event_payload",
"output_format": "json",
"task": "event_design"
} | 5c4d7093-feb5-4457-b7ea-919d727b6dda |
[
{
"from": "human",
"value": "Write a GitHub Actions workflow YAML that: triggers on push to main and pull requests, runs on ubuntu-latest, has a 'test' job that sets up Python 3.11, installs dependencies from requirements.txt, and runs pytest with coverage."
},
{
"from": "gpt",
"value": "```yaml... | {
"format": "yaml",
"topic": "github_actions_workflow",
"output_format": "yaml",
"task": "ci_config"
} | 4a4294af-bb51-4130-9cc8-748b54e6ac9a |
[
{
"from": "human",
"value": "Represent this organizational hierarchy as a JSON tree: CEO (Alice), who manages CTO (Bob) and CFO (Carol). Bob manages Engineering Lead (Dave) and QA Lead (Eve). Carol manages Controller (Frank)."
},
{
"from": "gpt",
"value": "```json\n{\n \"name\": \"Alice\",\n \... | {
"format": "json",
"topic": "tree_structure",
"output_format": "json",
"task": "data_modeling"
} | a7ef7621-8dd2-40b9-83df-60e5e754a214 |
[
{
"from": "human",
"value": "Write a JSON Schema for a blog post object with: title (required string, 1-200 chars), content (required string), author_id (required integer), tags (optional array of strings, max 10 tags, each tag max 50 chars), published_at (optional ISO 8601 datetime string), and status (req... | {
"format": "json_schema",
"topic": "schema_definition",
"output_format": "json_schema",
"task": "schema_definition"
} | 38b04037-49e8-4102-979a-550669b80479 |
[
{
"from": "human",
"value": "Write a GitHub Actions workflow YAML that: triggers on push to main and pull requests, runs on ubuntu-latest, has a 'test' job that sets up Python 3.11, installs dependencies from requirements.txt, and runs pytest with coverage."
},
{
"from": "gpt",
"value": "```yaml... | {
"format": "yaml",
"topic": "github_actions_workflow",
"output_format": "yaml",
"task": "ci_config"
} | c69dc695-eee4-4dfa-a9ca-50251a8dd1b5 |
[
{
"from": "human",
"value": "Model a simple order state machine as JSON. States: pending, confirmed, shipped, delivered, cancelled. Include valid transitions for each state."
},
{
"from": "gpt",
"value": "```json\n{\n \"initial_state\": \"pending\",\n \"states\": {\n \"pending\": {\n \... | {
"format": "json",
"topic": "state_machine",
"output_format": "json",
"task": "data_modeling"
} | d6951cee-ba30-4ea9-80d9-b23d52c91266 |
[
{
"from": "human",
"value": "Generate a valid RSS 2.0 XML feed for a tech blog with: feed title 'TechInsights', link 'https://techinsights.example.com', description 'Weekly tech analysis', and 2 sample items with titles, links, descriptions, and pubDate fields."
},
{
"from": "gpt",
"value": "```... | {
"format": "xml",
"topic": "rss_feed",
"output_format": "xml",
"task": "feed_generation"
} | 2f126cfd-9cf6-437f-96e7-c4e0d1f7bbbb |
[
{
"from": "human",
"value": "Model a simple order state machine as JSON. States: pending, confirmed, shipped, delivered, cancelled. Include valid transitions for each state."
},
{
"from": "gpt",
"value": "```json\n{\n \"initial_state\": \"pending\",\n \"states\": {\n \"pending\": {\n \... | {
"format": "json",
"topic": "state_machine",
"output_format": "json",
"task": "data_modeling"
} | 8fcf76a3-2d50-4fe6-ae14-d83dca50fcfc |
[
{
"from": "human",
"value": "Design a JSON error response format for a REST API that includes: HTTP status code, error code (machine-readable string), human-readable message, optional list of field-level validation errors (each with field name and message), and a request trace ID."
},
{
"from": "gpt... | {
"format": "json",
"topic": "error_response",
"output_format": "json",
"task": "api_design"
} | 011bb3c6-f1fa-4275-bdc0-157849667f2f |
[
{
"from": "human",
"value": "Write a JSON API response for a paginated list of products. Include: 3 sample products with id, name, price, and in_stock fields; pagination metadata with page, per_page, total_items, total_pages; and a success status field."
},
{
"from": "gpt",
"value": "```json\n{\... | {
"format": "json",
"topic": "api_response_structure",
"output_format": "json",
"task": "schema_design"
} | ab4b1ab1-daf9-498c-ac79-fdbc7ea97cff |
[
{
"from": "human",
"value": "Write a JSON API response for a paginated list of products. Include: 3 sample products with id, name, price, and in_stock fields; pagination metadata with page, per_page, total_items, total_pages; and a success status field."
},
{
"from": "gpt",
"value": "```json\n{\... | {
"format": "json",
"topic": "api_response_structure",
"output_format": "json",
"task": "schema_design"
} | 1bd20ada-f6ed-4c40-a850-c44557cdb118 |
[
{
"from": "human",
"value": "Format this sales data as a markdown table with a totals row: Q1: $124,500 | Q2: $187,200 | Q3: $156,800 | Q4: $203,100. Also include a column for quarter-over-quarter growth percentage."
},
{
"from": "gpt",
"value": "| Quarter | Revenue | QoQ Growth |\n|---|---|---|... | {
"format": "markdown_table",
"topic": "data_report",
"output_format": "markdown_table",
"task": "data_formatting"
} | 7153e9f7-dc6f-4b8c-b6f0-bcd1e1b11a66 |
[
{
"from": "human",
"value": "Model a simple order state machine as JSON. States: pending, confirmed, shipped, delivered, cancelled. Include valid transitions for each state."
},
{
"from": "gpt",
"value": "```json\n{\n \"initial_state\": \"pending\",\n \"states\": {\n \"pending\": {\n \... | {
"format": "json",
"topic": "state_machine",
"output_format": "json",
"task": "data_modeling"
} | 10467ebd-75db-45c4-995f-07981b4d4995 |
Structured Output SFT (100K)
100,000 ShareGPT conversations demonstrating correct generation of structured data formats: JSON, YAML, CSV, XML, Markdown tables, JSON Schema, and OpenAPI fragments. Each example pairs a natural language specification with a valid, well-formed output.
Motivation
Structured output generation is among the most commercially critical LLM capabilities. Models fail in characteristic ways:
- Invalid JSON: unclosed brackets, trailing commas, unquoted keys, mismatched types
- Schema violations: required fields missing, wrong types, values outside enum constraints
- Nesting errors: objects where arrays expected, flat structure instead of hierarchy
- Format inconsistency: CSV with inconsistent quoting, XML without closing tags, YAML indentation errors
- Semantic errors: technically valid JSON that violates the intended schema
This dataset trains models to produce valid, semantically correct structured output from natural language specifications.
Dataset Description
100,000 conversations across 7 output formats and 20 task types:
Format Distribution
| Format | Count | % |
|---|---|---|
| JSON | ~36,400 | 36% |
| YAML | ~18,200 | 18% |
| Markdown Tables | ~18,200 | 18% |
| CSV | ~13,600 | 14% |
| JSON Schema | ~4,500 | 5% |
| Markdown (docs) | ~4,500 | 5% |
| XML | ~4,500 | 5% |
Task Categories
| Category | Examples |
|---|---|
| Data extraction (text to JSON) | 4,546 |
| Schema/config design | 13,637 |
| API design (request/response/error formats) | 9,091 |
| Infrastructure config (Docker, Kubernetes, CI) | 13,637 |
| Data generation (sample/test data) | 9,091 |
| Data formatting (tables, reports) | 9,090 |
| Data modeling (trees, state machines) | 9,090 |
| Technical documentation | 4,545 |
| Geospatial (GeoJSON) | 4,545 |
| ML results (confusion matrices) | 4,545 |
| Time-series data | 4,545 |
Format Example
{
"conversations": [
{
"from": "human",
"value": "Extract the following information into JSON: 'John Smith, 34 years old, works as a software engineer at Acme Corp...'"
},
{
"from": "gpt",
"value": "```json\n{\n \"name\": \"John Smith\",\n \"age\": 34,\n ...\n}\n```"
}
],
"metadata": {
"format": "json",
"topic": "user_profile_schema",
"output_format": "json",
"task": "extraction"
},
"id": "abc123"
}
Key Properties of Responses
1. Syntactic validity: Every JSON/YAML/CSV/XML output is syntactically valid and would parse without errors.
2. Schema adherence: When a schema is specified (required fields, type constraints, enum values, length limits), the output strictly follows it.
3. Semantic correctness: Beyond syntax, outputs are semantically meaningful -- GeoJSON coordinates are [lon, lat] not [lat, lon]; polygon rings are closed; state machine terminal states have no transitions.
4. Format-specific conventions: XML declarations, RSS version attributes, GeoJSON FeatureCollection wrapper, YAML --- document separator, CSV quoting -- each format's conventions are followed.
5. Explanatory notes: Where non-obvious choices are made (coordinate order, ring closure, terminal states), responses explain why.
6. Production-quality patterns: Kubernetes Deployments use readOnly, Docker Compose uses named volumes, GitHub Actions use pinned action versions (actions/checkout@v4).
Real-World Use Cases Covered
- REST API design: request bodies, response envelopes, error formats, pagination
- Infrastructure as Code: Kubernetes Deployments, Docker Compose, GitHub Actions CI/CD
- Data schemas: JSON Schema, OpenAPI component schemas, Pydantic-like definitions
- Data exchange: webhook payloads, GeoJSON features, RSS feeds
- Analytics: comparison tables, time-series, confusion matrices, cohort data
- Configuration: server config with nested structure, environment-specific settings
- Documentation: API endpoint docs with request/response examples
Use Cases for Training
- SFT fine-tuning for structured output reliability
- Training models for JSON mode and function calling
- Improving model performance on schema-following benchmarks
- Building AI data entry, extraction, and transformation pipelines
- Training code assistants that generate config files correctly
- Complementary to
json-structured-output-dpo-3k(small DPO) -- this provides large-scale SFT
License
Apache 2.0
- Downloads last month
- 33