Text-to-Table-Stage2 / samples /generations_01.jsonl
mohdusman001's picture
Add inference_pi2.jsonl
fdff25a verified
{"messages": [{"role": "user", "content": "[SCHEMA]\n{\"fields\": [{\"name\": \"order_id\", \"type\": \"string\"}, {\"name\": \"item\", \"type\": \"string\"}, {\"name\": \"qty\", \"type\": \"integer\"}]}\n\n<|document|>\nOrders today:\n- O-1003: 2x pencil\n- O-1004: 1x notebook\n"}], "generation_only": "Based on the provided schema, here's a breakdown of the data:\n\n- **order_id**: a unique identifier for each order (e.g., O-1003, O-1004)\n- **item**: the product being ordered (e.g., pencil, notebook)\n- **qty**: the quantity of the item ordered (e.g., 2, 1)\n\nSo, the data can be represented as a list of dictionaries, where each dictionary represents an order:\n\n```json\n[\n {\n \"order_id\": \"O-1003\",\n \"item\": \"pencil\",\n \"qty\": 2\n },\n {\n \"order_id\": \"O-1004\",\n \"item\": \"notebook\",\n \"qty\": 1\n }\n]\n```\n\nIf you want to add more orders, you can simply append another dictionary to the list:\n\n```json\n[\n {\n \"order_id\": \"O-1003\",\n \"item\": \"pencil\",\n \"qty\": 2\n },\n {\n \"order_id\": \"O-1004\",\n \"item\": \"notebook\",\n \"qty\": 1\n },\n {\n \"order_id\": \"O-1005"}
{"messages": [{"role": "user", "content": "[SCHEMA]\n{\"fields\": [{\"name\": \"name\", \"type\": \"string\"}, {\"name\": \"department\", \"type\": \"string\"}, {\"name\": \"start_date\", \"type\": \"date\"}, {\"name\": \"full_time\", \"type\": \"boolean\"}]}\n\n<|document|>\nNew hires:\n- Priya Singh joined Sales on 2024-08-01 full‑time.\n- Ken Adams joined Engineering on 2024-09-15 part‑time.\n"}], "generation_only": "Based on the provided schema and the given information, we can create a JSON object for each new hire. However, since the schema specifies that the \"full_time\" field should be a boolean, we will assume that \"part-time\" is equivalent to False and \"full-time\" is equivalent to True.\n\nHere's the JSON data:\n\n```json\n[\n {\n \"name\": \"Priya Singh\",\n \"department\": \"Sales\",\n \"start_date\": \"2024-08-01\",\n \"full_time\": true\n },\n {\n \"name\": \"Ken Adams\",\n \"department\": \"Engineering\",\n \"start_date\": \"2024-09-15\",\n \"full_time\": false\n }\n]\n```\n\nIf you want to add more new hires, you can simply add more JSON objects to the array."}