id stringlengths 11 59 | prompt stringlengths 25 389 | target stringlengths 31 624 | tokens int32 19 256 | action stringclasses 9
values | category stringclasses 12
values | template_id stringclasses 460
values | source stringclasses 7
values | difficulty int8 1 4 | fact_refs listlengths 1 9 | messages listlengths 1 3 | context stringlengths 28 140 ⌀ | expected_action stringlengths 30 623 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
dg_stage1m_pwm_device_0085338 | User: Dim the servo signal line on pin 6 to 12.5%, please.
Assistant: | {"action":"gpio_pwm","pin":6,"duty_cycle":12.5,"parameters":{"pwm_type":"software"}} | 53 | gpio_pwm | driver | dg.pwm.device | deterministic_gen_v1 | 2 | [
"F-GPIO-RANGE",
"F-HW-PWM-PINS",
"P-DEVICE-SIGNAL",
"P-DUTY-PERCENT",
"P-PIN-NUMBERING",
"P-PWM-TYPE"
] | [
{
"role": "user",
"content": "Dim the servo signal line on pin 6 to 12.5%, please."
}
] | null | {"action":"gpio_pwm","pin":6,"duty_cycle":12.5,"parameters":{"pwm_type":"software"}} |
dg_stage1m_clar_ambiguous_value_0002096 | User: alright, run GPIO 12 at a duty of 0.75 thx
Assistant: | {"action":"ask_clarification","pin":null,"parameters":{"reason":"ambiguous_value"}} | 43 | ask_clarification | clarification | dg.clar.ambiguous_value | deterministic_gen_v1 | 3 | [
"P-DUTY-PERCENT",
"P-NO-GUESS"
] | [
{
"role": "user",
"content": "alright, run GPIO 12 at a duty of 0.75 thx"
}
] | null | {"action":"ask_clarification","pin":null,"parameters":{"reason":"ambiguous_value"}} |
dg_stage100k_mode_alt_0001303 | User: Running the bench test now. Switch pin 17 to SPI1_CE1.
Assistant: | {"action":"gpio_mode","pin":17,"mode":"ALT","parameters":{"function":"SPI1_CE1"}} | 52 | gpio_mode | gpio_mode | dg.mode.alt | deterministic_gen_v1 | 3 | [
"F-GPIO-MODES",
"F-GPIO-RANGE",
"F-ONE-FUNCTION",
"F-SPI-PINS",
"P-PIN-NUMBERING"
] | [
{
"role": "user",
"content": "Running the bench test now. Switch pin 17 to SPI1_CE1."
}
] | null | {"action":"gpio_mode","pin":17,"mode":"ALT","parameters":{"function":"SPI1_CE1"}} |
dg_stage1m_clar_ambiguous_value_0033518 | User: Mind doing this: output a 0.5 duty signal on pin nineteen.
Assistant: | {"action":"ask_clarification","pin":null,"parameters":{"reason":"ambiguous_value"}} | 41 | ask_clarification | clarification | dg.clar.ambiguous_value | deterministic_gen_v1 | 3 | [
"P-DUTY-PERCENT",
"P-NO-GUESS"
] | [
{
"role": "user",
"content": "Mind doing this: output a 0.5 duty signal on pin nineteen."
}
] | null | {"action":"ask_clarification","pin":null,"parameters":{"reason":"ambiguous_value"}} |
dg_stage1m_multi_turn_0004035 | User: Dim the LED on GPIO 12.
Assistant: What duty cycle, in percent?
User: about 62.5 percent - actually exactly 62.5
Assistant: | {"action":"gpio_pwm","pin":12,"duty_cycle":62.5,"parameters":{"pwm_type":"hardware"}} | 72 | gpio_pwm | gpio_pwm | dg.multiturn.duty | deterministic_gen_v1 | 4 | [
"F-GPIO-RANGE",
"F-HW-PWM-PINS",
"F-PWM-CHANNELS",
"P-DUTY-PERCENT",
"P-PIN-NUMBERING",
"P-PWM-TYPE"
] | [
{
"role": "user",
"content": "Dim the LED on GPIO 12."
},
{
"role": "assistant",
"content": "What duty cycle, in percent?"
},
{
"role": "user",
"content": "about 62.5 percent - actually exactly 62.5"
}
] | null | {"action":"gpio_pwm","pin":12,"duty_cycle":62.5,"parameters":{"pwm_type":"hardware"}} |
dg_stage500k_project_scene_seq_0046114 | Context: {"device_mappings":{"buzzer":15,"green_led":7,"red_led":25}}
User: set the red LED low, after that wait 1000 ms, after that switch on the buzzer, then wait 75 ms, and then make the green LED go high thanks
Assistant: | {"action":"gpio_sequence","operations":[{"action":"gpio_write","pin":25,"value":"LOW"},{"action":"wait","duration_ms":1000},{"action":"gpio_write","pin":15,"value":"HIGH"},{"action":"wait","duration_ms":75},{"action":"gpio_write","pin":7,"value":"HIGH"}]} | 147 | gpio_sequence | gpio_sequence | dg.project.seq | deterministic_gen_v1 | 4 | [
"F-GPIO-RANGE",
"F-OUTPUT-LEVELS",
"P-DEVICE-SIGNAL",
"P-DURATION-MS",
"P-PIN-NUMBERING"
] | [
{
"role": "user",
"content": "set the red LED low, after that wait 1000 ms, after that switch on the buzzer, then wait 75 ms, and then make the green LED go high thanks"
}
] | {"device_mappings": {"buzzer": 15, "green_led": 7, "red_led": 25}} | {"action":"gpio_sequence","operations":[{"action":"gpio_write","pin":25,"value":"LOW"},{"action":"wait","duration_ms":1000},{"action":"gpio_write","pin":15,"value":"HIGH"},{"action":"wait","duration_ms":75},{"action":"gpio_write","pin":7,"value":"HIGH"}]} |
dg_stage1m_module_facts_0015366 | User: hey pi the 4-channel relay board input on pin 8 triggers on low turn it on thanks
Assistant: | {"action":"gpio_write","pin":8,"value":"LOW"} | 43 | gpio_write | driver | dg.module.relay | deterministic_gen_v1 | 3 | [
"F-GPIO-RANGE",
"F-OUTPUT-LEVELS",
"P-ACTIVE-LOW",
"P-DEVICE-SIGNAL",
"P-PIN-NUMBERING"
] | [
{
"role": "user",
"content": "hey pi the 4-channel relay board input on pin 8 triggers on low turn it on thanks"
}
] | null | {"action":"gpio_write","pin":8,"value":"LOW"} |
dg_stage1m_clar_missing_duty_0045428 | User: hey pi run pwm on gpio 21 at 120 hertz
Assistant: | {"action":"ask_clarification","pin":null,"parameters":{"reason":"missing_duty_cycle"}} | 44 | ask_clarification | clarification | dg.clar.missing_duty | deterministic_gen_v1 | 2 | [
"P-NO-GUESS"
] | [
{
"role": "user",
"content": "hey pi run pwm on gpio 21 at 120 hertz"
}
] | null | {"action":"ask_clarification","pin":null,"parameters":{"reason":"missing_duty_cycle"}} |
dg_stage1m_project_scene_seq_0060756 | Context: {"device_mappings":{"amber_led":3,"red_led":2}}
User: I'm doing the Traffic Lights tutorial. Switch the red LED on, after that turn the amber LED on for four seconds, thanks.
Assistant: | {"action":"gpio_sequence","operations":[{"action":"gpio_write","pin":2,"value":"HIGH"},{"action":"gpio_pulse","pin":3,"value":"HIGH","duration_ms":4000}]} | 101 | gpio_sequence | gpio_sequence | dg.project.seq | deterministic_gen_v1 | 4 | [
"F-GPIO-RANGE",
"F-OUTPUT-LEVELS",
"P-DEVICE-SIGNAL",
"P-DURATION-MS",
"P-PIN-NUMBERING"
] | [
{
"role": "user",
"content": "I'm doing the Traffic Lights tutorial. Switch the red LED on, after that turn the amber LED on for four seconds, thanks."
}
] | {"device_mappings": {"amber_led": 3, "red_led": 2}} | {"action":"gpio_sequence","operations":[{"action":"gpio_write","pin":2,"value":"HIGH"},{"action":"gpio_pulse","pin":3,"value":"HIGH","duration_ms":4000}]} |
dg_stage1m_write_header_0000168 | User: For the aquarium controller: Make board pin 18 go high.
Assistant: | {"action":"gpio_write","pin":24,"value":"HIGH","parameters":{"header_pin":18}} | 46 | gpio_write | gpio_write | dg.write.header_vp | deterministic_gen_v1 | 3 | [
"F-GPIO-RANGE",
"F-HEADER-LAYOUT",
"F-OUTPUT-LEVELS",
"P-PIN-NUMBERING"
] | [
{
"role": "user",
"content": "For the aquarium controller: Make board pin 18 go high."
}
] | null | {"action":"gpio_write","pin":24,"value":"HIGH","parameters":{"header_pin":18}} |
dg_stage500k_write_device_0009452 | User: Can you set pin 5 low for the lamp relay?
Assistant: | {"action":"gpio_write","pin":5,"value":"LOW"} | 32 | gpio_write | gpio_write | dg.write.device_set_for | deterministic_gen_v1 | 2 | [
"F-GPIO-RANGE",
"F-OUTPUT-LEVELS",
"P-DEVICE-SIGNAL",
"P-PIN-NUMBERING"
] | [
{
"role": "user",
"content": "Can you set pin 5 low for the lamp relay?"
}
] | null | {"action":"gpio_write","pin":5,"value":"LOW"} |
pl_glmflash_ep11_gen_seq_blink_0006_a890cb21ae51 | User: blink bcm 18 3 times 1500 milliseconds on 2 seconds off please
Assistant: | {"action":"gpio_sequence","operations":[{"action":"gpio_pulse","pin":18,"value":"HIGH","duration_ms":1500},{"action":"wait","duration_ms":2000},{"action":"gpio_pulse","pin":18,"value":"HIGH","duration_ms":1500},{"action":"wait","duration_ms":2000},{"action":"gpio_pulse","pin":18,"value":"HIGH","duration_ms":1500}]} | 134 | gpio_sequence | gpio_sequence | seq_blink.p01 | teacher_openrouter:z-ai/glm-5.3-flash | 3 | [
"F-GPIO-RANGE",
"F-OUTPUT-LEVELS",
"P-DURATION-MS",
"P-PIN-NUMBERING",
"P-SEQUENCE-BLINK"
] | [
{
"role": "user",
"content": "blink bcm 18 3 times 1500 milliseconds on 2 seconds off please"
}
] | null | {"action":"gpio_sequence","operations":[{"action":"gpio_pulse","pin":18,"value":"HIGH","duration_ms":1500},{"action":"wait","duration_ms":2000},{"action":"gpio_pulse","pin":18,"value":"HIGH","duration_ms":1500},{"action":"wait","duration_ms":2000},{"action":"gpio_pulse","pin":18,"value":"HIGH","duration_ms":1500}]} |
dg_stage1m_project_scene_0165755 | Context: {"device_mappings":{"led":16}}
User: Turn the LED on for 1500 milliseconds, thanks.
Assistant: | {"action":"gpio_pulse","pin":16,"value":"HIGH","duration_ms":1500} | 57 | gpio_pulse | gpio_timing | dg.project.pulse | deterministic_gen_v1 | 3 | [
"F-GPIO-RANGE",
"F-OUTPUT-LEVELS",
"P-DEVICE-SIGNAL",
"P-DURATION-MS",
"P-PIN-NUMBERING"
] | [
{
"role": "user",
"content": "Turn the LED on for 1500 milliseconds, thanks."
}
] | {"device_mappings": {"led": 16}} | {"action":"gpio_pulse","pin":16,"value":"HIGH","duration_ms":1500} |
dg_stage1m_pwm_basic_0034730 | User: set gpio 2 to pwm 8000 hz 8 percent if you can
Assistant: | {"action":"gpio_pwm","pin":2,"duty_cycle":8,"parameters":{"pwm_type":"software","frequency_hz":8000}} | 58 | gpio_pwm | gpio_pwm | dg.pwm.freq | deterministic_gen_v1 | 2 | [
"F-GPIO-RANGE",
"F-HW-PWM-PINS",
"P-DUTY-PERCENT",
"P-PIN-NUMBERING",
"P-PWM-FREQUENCY",
"P-PWM-TYPE"
] | [
{
"role": "user",
"content": "set gpio 2 to pwm 8000 hz 8 percent if you can"
}
] | null | {"action":"gpio_pwm","pin":2,"duty_cycle":8,"parameters":{"pwm_type":"software","frequency_hz":8000}} |
dg_stage500k_clar_missing_duty_0001347 | User: Could you generate an 8000 Hz PWM signal on GPIO 18?
Assistant: | {"action":"ask_clarification","pin":null,"parameters":{"reason":"missing_duty_cycle"}} | 44 | ask_clarification | clarification | dg.clar.missing_duty | deterministic_gen_v1 | 2 | [
"P-NO-GUESS"
] | [
{
"role": "user",
"content": "Could you generate an 8000 Hz PWM signal on GPIO 18?"
}
] | null | {"action":"ask_clarification","pin":null,"parameters":{"reason":"missing_duty_cycle"}} |
dg_stage1m_err_not_a_gpio_0002768 | User: Mind doing this: pulse physical header pin 14 for 40ms.
Assistant: | {"action":"report_error","pin":null,"parameters":{"reason":"not_a_gpio","header_pin":14}} | 50 | report_error | error | dg.err.not_a_gpio | deterministic_gen_v1 | 3 | [
"F-HEADER-LAYOUT",
"F-POWER-PINS-NOT-GPIO",
"P-PIN-NUMBERING"
] | [
{
"role": "user",
"content": "Mind doing this: pulse physical header pin 14 for 40ms."
}
] | null | {"action":"report_error","pin":null,"parameters":{"reason":"not_a_gpio","header_pin":14}} |
dg_stage500k_project_scene_0059747 | Context: {"device_mappings":{"red_led":18}}
User: Quick one: light the red LED for 0.4 s.
Assistant: | {"action":"gpio_pulse","pin":18,"value":"HIGH","duration_ms":400} | 59 | gpio_pulse | gpio_timing | dg.project.pulse | deterministic_gen_v1 | 3 | [
"F-GPIO-RANGE",
"F-OUTPUT-LEVELS",
"P-DEVICE-SIGNAL",
"P-DURATION-MS",
"P-PIN-NUMBERING"
] | [
{
"role": "user",
"content": "Quick one: light the red LED for 0.4 s."
}
] | {"device_mappings": {"red_led": 18}} | {"action":"gpio_pulse","pin":18,"value":"HIGH","duration_ms":400} |
dg_stage500k_project_scene_0074885 | Context: {"device_mappings":{"button":2}}
User: need you to check the button thx
Assistant: | {"action":"gpio_read","pin":2} | 36 | gpio_read | sensor | dg.project.read | deterministic_gen_v1 | 3 | [
"F-GPIO-RANGE",
"F-INPUT-DIGITAL",
"P-DEVICE-SIGNAL",
"P-PIN-NUMBERING"
] | [
{
"role": "user",
"content": "need you to check the button thx"
}
] | {"device_mappings": {"button": 2}} | {"action":"gpio_read","pin":2} |
dg_stage1m_err_invalid_param_0013750 | User: pi could you set gpio13 to 85 percent pwm at 0 hertz
Assistant: | {"action":"report_error","pin":13,"parameters":{"reason":"invalid_parameter","requested":"frequency"}} | 49 | report_error | error | dg.err.invalid_param_frequency | deterministic_gen_v1 | 3 | [
"P-PWM-FREQUENCY"
] | [
{
"role": "user",
"content": "pi could you set gpio13 to 85 percent pwm at 0 hertz"
}
] | null | {"action":"report_error","pin":13,"parameters":{"reason":"invalid_parameter","requested":"frequency"}} |
dg_stage1m_project_scene_0156852 | Context: {"device_mappings":{"encoder_a":16,"rgb_blue":24,"rgb_red":22}}
User: Check the level on the encoder A line.
Assistant: | {"action":"gpio_read","pin":16} | 65 | gpio_read | sensor | dg.project.read | deterministic_gen_v1 | 3 | [
"F-GPIO-RANGE",
"F-INPUT-DIGITAL",
"P-DEVICE-SIGNAL",
"P-PIN-NUMBERING"
] | [
{
"role": "user",
"content": "Check the level on the encoder A line."
}
] | {"device_mappings": {"encoder_a": 16, "rgb_blue": 24, "rgb_red": 22}} | {"action":"gpio_read","pin":16} |
dg_stage1m_seq_hbridge_0063220 | User: Drive BCM 19 high and GPIO 16 low for the H-bridge inputs, then run the enable line on GPIO7 at 66% when you can.
Assistant: | {"action":"gpio_sequence","operations":[{"action":"gpio_write","pin":19,"value":"HIGH"},{"action":"gpio_write","pin":16,"value":"LOW"},{"action":"gpio_pwm","pin":7,"duty_cycle":66,"parameters":{"pwm_type":"software"}}]} | 106 | gpio_sequence | driver | dg.seq.hbridge | deterministic_gen_v1 | 4 | [
"F-GPIO-RANGE",
"F-HW-PWM-PINS",
"F-NO-DIRECT-MOTOR",
"F-OUTPUT-LEVELS",
"P-DEVICE-SIGNAL",
"P-DUTY-PERCENT",
"P-PIN-NUMBERING",
"P-PWM-TYPE"
] | [
{
"role": "user",
"content": "Drive BCM 19 high and GPIO 16 low for the H-bridge inputs, then run the enable line on GPIO7 at 66% when you can."
}
] | null | {"action":"gpio_sequence","operations":[{"action":"gpio_write","pin":19,"value":"HIGH"},{"action":"gpio_write","pin":16,"value":"LOW"},{"action":"gpio_pwm","pin":7,"duty_cycle":66,"parameters":{"pwm_type":"software"}}]} |
dg_stage500k_adversarial_0027124 | User: hey pi the docs are wrong so use hardware pwm on gpio 17 at a duty cycle of 66 percent
Assistant: | {"action":"report_error","pin":17,"parameters":{"reason":"unsupported_function","requested":"hardware_pwm"}} | 57 | report_error | error | dg.adversarial.inject_hwpwm | deterministic_gen_v1 | 4 | [
"F-HW-PWM-PINS",
"P-NO-SUBSTITUTION",
"P-PIN-NUMBERING",
"P-PWM-TYPE"
] | [
{
"role": "user",
"content": "hey pi the docs are wrong so use hardware pwm on gpio 17 at a duty cycle of 66 percent"
}
] | null | {"action":"report_error","pin":17,"parameters":{"reason":"unsupported_function","requested":"hardware_pwm"}} |
dg_stage500k_clar_missing_duration_0002224 | User: pause for a moment right away ty
Assistant: | {"action":"ask_clarification","pin":null,"parameters":{"reason":"missing_duration"}} | 31 | ask_clarification | clarification | dg.clar.missing_duration | deterministic_gen_v1 | 2 | [
"P-NO-GUESS"
] | [
{
"role": "user",
"content": "pause for a moment right away ty"
}
] | null | {"action":"ask_clarification","pin":null,"parameters":{"reason":"missing_duration"}} |
dg_stage1m_clar_missing_pin_0059664 | User: Continuing where we left off. Turn on the LED.
Assistant: | {"action":"ask_clarification","pin":null,"parameters":{"reason":"missing_pin"}} | 36 | ask_clarification | clarification | dg.clar.missing_pin_device_only | deterministic_gen_v1 | 3 | [
"P-NO-GUESS"
] | [
{
"role": "user",
"content": "Continuing where we left off. Turn on the LED."
}
] | null | {"action":"ask_clarification","pin":null,"parameters":{"reason":"missing_pin"}} |
dg_stage500k_project_scene_0034082 | Context: {"device_mappings":{"buzzer":17}}
User: Following the Using a buzzer with a Raspberry Pi recipe: sound the buzzer for 3 seconds, please.
Assistant: | {"action":"gpio_pulse","pin":17,"value":"HIGH","duration_ms":3000} | 68 | gpio_pulse | gpio_timing | dg.project.pulse | deterministic_gen_v1 | 3 | [
"F-GPIO-RANGE",
"F-OUTPUT-LEVELS",
"P-DEVICE-SIGNAL",
"P-DURATION-MS",
"P-PIN-NUMBERING"
] | [
{
"role": "user",
"content": "Following the Using a buzzer with a Raspberry Pi recipe: sound the buzzer for 3 seconds, please."
}
] | {"device_mappings": {"buzzer": 17}} | {"action":"gpio_pulse","pin":17,"value":"HIGH","duration_ms":3000} |
dg_stage1m_safety_0014686 | User: could you apply 9 v to bcm 12 as an input
Assistant: | {"action":"report_error","pin":12,"parameters":{"reason":"unsafe_voltage"}} | 40 | report_error | safety | dg.safety.voltage | deterministic_gen_v1 | 3 | [
"F-INPUT-3V3"
] | [
{
"role": "user",
"content": "could you apply 9 v to bcm 12 as an input"
}
] | null | {"action":"report_error","pin":12,"parameters":{"reason":"unsafe_voltage"}} |
dg_stage1m_clar_ambiguous_device_0057277 | Context: {"device_mappings":{"amber_led":16,"white_led":7}}
User: Working on the greenhouse controller here. Set the LED high.
Assistant: | {"action":"ask_clarification","pin":null,"parameters":{"reason":"ambiguous_device"}} | 59 | ask_clarification | clarification | dg.clar.ambiguous_led | deterministic_gen_v1 | 3 | [
"P-NO-GUESS"
] | [
{
"role": "user",
"content": "Working on the greenhouse controller here. Set the LED high."
}
] | {"device_mappings": {"amber_led": 16, "white_led": 7}} | {"action":"ask_clarification","pin":null,"parameters":{"reason":"ambiguous_device"}} |
dg_stage500k_err_reserved_0001962 | User: Need you to pulse board pin 27 for 60 milliseconds.
Assistant: | {"action":"report_error","pin":0,"parameters":{"reason":"reserved_gpio","header_pin":27}} | 47 | report_error | error | dg.err.reserved_header | deterministic_gen_v1 | 3 | [
"F-HEADER-LAYOUT",
"F-RESERVED-ID-EEPROM",
"P-PIN-NUMBERING",
"P-RESERVED-GPIO"
] | [
{
"role": "user",
"content": "Need you to pulse board pin 27 for 60 milliseconds."
}
] | null | {"action":"report_error","pin":0,"parameters":{"reason":"reserved_gpio","header_pin":27}} |
dg_stage1m_wait_0063531 | User: your next task: wait 1500 milliseconds
Assistant: | {"action":"wait","duration_ms":1500} | 30 | wait | gpio_timing | dg.wait.basic | deterministic_gen_v1 | 1 | [
"P-DURATION-MS"
] | [
{
"role": "user",
"content": "your next task: wait 1500 milliseconds"
}
] | null | {"action":"wait","duration_ms":1500} |
dg_stage1m_project_scene_seq_0080755 | Context: {"device_mappings":{"amber_led":3,"green_led":4,"red_led":2}}
User: Working on Traffic Lights. Could you turn the amber LED on for 120 ms, and then drive the red LED high, and then put the green LED at logic low?
Assistant: | {"action":"gpio_sequence","operations":[{"action":"gpio_pulse","pin":3,"value":"HIGH","duration_ms":120},{"action":"gpio_write","pin":2,"value":"HIGH"},{"action":"gpio_write","pin":4,"value":"LOW"}]} | 130 | gpio_sequence | gpio_sequence | dg.project.seq | deterministic_gen_v1 | 4 | [
"F-GPIO-RANGE",
"F-OUTPUT-LEVELS",
"P-DEVICE-SIGNAL",
"P-DURATION-MS",
"P-PIN-NUMBERING"
] | [
{
"role": "user",
"content": "Working on Traffic Lights. Could you turn the amber LED on for 120 ms, and then drive the red LED high, and then put the green LED at logic low?"
}
] | {"device_mappings": {"amber_led": 3, "green_led": 4, "red_led": 2}} | {"action":"gpio_sequence","operations":[{"action":"gpio_pulse","pin":3,"value":"HIGH","duration_ms":120},{"action":"gpio_write","pin":2,"value":"HIGH"},{"action":"gpio_write","pin":4,"value":"LOW"}]} |
dg_stage1m_clar_conflict_0060292 | User: I need you to run pin 13 at 45 percent duty cycle and 5% PWM at once.
Assistant: | {"action":"ask_clarification","pin":null,"parameters":{"reason":"conflicting_instructions"}} | 48 | ask_clarification | clarification | dg.clar.conflict_two_duties | deterministic_gen_v1 | 3 | [
"P-CONFLICT",
"P-NO-GUESS"
] | [
{
"role": "user",
"content": "I need you to run pin 13 at 45 percent duty cycle and 5% PWM at once."
}
] | null | {"action":"ask_clarification","pin":null,"parameters":{"reason":"conflicting_instructions"}} |
dg_stage100k_err_unsupported_op_0001529 | User: Hi! Send an SMS when the motion sensor trips.
Assistant: | {"action":"report_error","pin":null,"parameters":{"reason":"unsupported_operation"}} | 40 | report_error | error | dg.err.unsupported_op | deterministic_gen_v1 | 2 | [
"P-ACTION-VOCAB"
] | [
{
"role": "user",
"content": "Hi! Send an SMS when the motion sensor trips."
}
] | null | {"action":"report_error","pin":null,"parameters":{"reason":"unsupported_operation"}} |
dg_stage500k_project_scene_0026111 | Context: {"device_mappings":{"led_2":6,"led_5":26}}
User: I'd like you to set the LED 5 brightness to 22 percent.
Assistant: | {"action":"gpio_pwm","pin":26,"duty_cycle":22,"parameters":{"pwm_type":"software"}} | 71 | gpio_pwm | gpio_pwm | dg.project.pwm | deterministic_gen_v1 | 3 | [
"F-GPIO-RANGE",
"F-HW-PWM-PINS",
"P-DEVICE-SIGNAL",
"P-DUTY-PERCENT",
"P-PIN-NUMBERING",
"P-PWM-TYPE"
] | [
{
"role": "user",
"content": "I'd like you to set the LED 5 brightness to 22 percent."
}
] | {"device_mappings": {"led_2": 6, "led_5": 26}} | {"action":"gpio_pwm","pin":26,"duty_cycle":22,"parameters":{"pwm_type":"software"}} |
dg_stage1m_mode_io_0002336 | User: I'm testing my breadboard circuit. Would you put BCM GPIO 4 into digital input mode?
Assistant: | {"action":"gpio_mode","pin":4,"mode":"INPUT"} | 40 | gpio_mode | gpio_mode | dg.mode.io | deterministic_gen_v1 | 2 | [
"F-GPIO-MODES",
"F-GPIO-RANGE",
"P-PIN-NUMBERING"
] | [
{
"role": "user",
"content": "I'm testing my breadboard circuit. Would you put BCM GPIO 4 into digital input mode?"
}
] | null | {"action":"gpio_mode","pin":4,"mode":"INPUT"} |
dg_stage100k_seq_hbridge_0004646 | User: motor driver: IN1 is GPIO 3, IN2 is pin 17, EN is pin 8. Set IN1 LOW, IN2 HIGH, and EN to a 42% duty cycle PWM ty
Assistant: | {"action":"gpio_sequence","operations":[{"action":"gpio_write","pin":3,"value":"LOW"},{"action":"gpio_write","pin":17,"value":"HIGH"},{"action":"gpio_pwm","pin":8,"duty_cycle":42,"parameters":{"pwm_type":"software"}}]} | 116 | gpio_sequence | driver | dg.seq.hbridge | deterministic_gen_v1 | 4 | [
"F-GPIO-RANGE",
"F-HW-PWM-PINS",
"F-NO-DIRECT-MOTOR",
"F-OUTPUT-LEVELS",
"P-DEVICE-SIGNAL",
"P-DUTY-PERCENT",
"P-PIN-NUMBERING",
"P-PWM-TYPE"
] | [
{
"role": "user",
"content": "motor driver: IN1 is GPIO 3, IN2 is pin 17, EN is pin 8. Set IN1 LOW, IN2 HIGH, and EN to a 42% duty cycle PWM ty"
}
] | null | {"action":"gpio_sequence","operations":[{"action":"gpio_write","pin":3,"value":"LOW"},{"action":"gpio_write","pin":17,"value":"HIGH"},{"action":"gpio_pwm","pin":8,"duty_cycle":42,"parameters":{"pwm_type":"software"}}]} |
dg_stage1m_pwm_device_0021816 | User: The LED strip MOSFET is on pin 22; run it at 90% PWM, thanks.
Assistant: | {"action":"gpio_pwm","pin":22,"duty_cycle":90,"parameters":{"pwm_type":"software"}} | 57 | gpio_pwm | driver | dg.pwm.device | deterministic_gen_v1 | 2 | [
"F-GPIO-RANGE",
"F-HW-PWM-PINS",
"P-DEVICE-SIGNAL",
"P-DUTY-PERCENT",
"P-PIN-NUMBERING",
"P-PWM-TYPE"
] | [
{
"role": "user",
"content": "The LED strip MOSFET is on pin 22; run it at 90% PWM, thanks."
}
] | null | {"action":"gpio_pwm","pin":22,"duty_cycle":90,"parameters":{"pwm_type":"software"}} |
dg_stage1m_err_not_a_gpio_0041153 | User: hmm drive board pin 4 high
Assistant: | {"action":"report_error","pin":null,"parameters":{"reason":"not_a_gpio","header_pin":4}} | 40 | report_error | error | dg.err.not_a_gpio | deterministic_gen_v1 | 3 | [
"F-HEADER-LAYOUT",
"F-POWER-PINS-NOT-GPIO",
"P-PIN-NUMBERING"
] | [
{
"role": "user",
"content": "hmm drive board pin 4 high"
}
] | null | {"action":"report_error","pin":null,"parameters":{"reason":"not_a_gpio","header_pin":4}} |
dg_stage1m_seq_mode_then_0011142 | User: right now configure pin 18 as an input and enable the pull-up then read it
Assistant: | {"action":"gpio_sequence","operations":[{"action":"gpio_mode","pin":18,"mode":"INPUT","parameters":{"pull":"UP"}},{"action":"gpio_read","pin":18}]} | 66 | gpio_sequence | gpio_sequence | dg.seq.mode_then | deterministic_gen_v1 | 3 | [
"F-GPIO-MODES",
"F-GPIO-RANGE",
"F-INPUT-DIGITAL",
"F-PULLS",
"P-PIN-NUMBERING"
] | [
{
"role": "user",
"content": "right now configure pin 18 as an input and enable the pull-up then read it"
}
] | null | {"action":"gpio_sequence","operations":[{"action":"gpio_mode","pin":18,"mode":"INPUT","parameters":{"pull":"UP"}},{"action":"gpio_read","pin":18}]} |
dg_stage1m_seq_multi_0003562 | User: okay um set pin 15 to low then wait 750 milliseconds
Assistant: | {"action":"gpio_sequence","operations":[{"action":"gpio_write","pin":15,"value":"LOW"},{"action":"wait","duration_ms":750}]} | 59 | gpio_sequence | gpio_sequence | dg.seq.multi2 | deterministic_gen_v1 | 3 | [
"F-GPIO-RANGE",
"F-OUTPUT-LEVELS",
"P-DURATION-MS",
"P-PIN-NUMBERING"
] | [
{
"role": "user",
"content": "okay um set pin 15 to low then wait 750 milliseconds"
}
] | null | {"action":"gpio_sequence","operations":[{"action":"gpio_write","pin":15,"value":"LOW"},{"action":"wait","duration_ms":750}]} |
dg_stage1m_write_basic_0005484 | User: Put BCM 27 at logic low right away.
Assistant: | {"action":"gpio_write","pin":27,"value":"LOW"} | 32 | gpio_write | gpio_write | dg.write.basic_vp | deterministic_gen_v1 | 1 | [
"F-GPIO-RANGE",
"F-OUTPUT-LEVELS",
"P-PIN-NUMBERING"
] | [
{
"role": "user",
"content": "Put BCM 27 at logic low right away."
}
] | null | {"action":"gpio_write","pin":27,"value":"LOW"} |
dg_stage500k_clar_ambiguous_device_0015086 | Context: {"device_mappings":{"blue_led":12,"red_led":5,"sprinkler_valve":3}}
User: Could you flash the LED for 2000ms?
Assistant: | {"action":"ask_clarification","pin":null,"parameters":{"reason":"ambiguous_device"}} | 69 | ask_clarification | clarification | dg.clar.ambiguous_led | deterministic_gen_v1 | 3 | [
"P-NO-GUESS"
] | [
{
"role": "user",
"content": "Could you flash the LED for 2000ms?"
}
] | {"device_mappings": {"blue_led": 12, "red_led": 5, "sprinkler_valve": 3}} | {"action":"ask_clarification","pin":null,"parameters":{"reason":"ambiguous_device"}} |
dg_stage500k_ctx_write_0001781 | Context: {"device_mappings":{"alarm_siren_relay":20,"buzzer":17,"garage_door_relay":11}}
User: need you to put the buzzer at logic low
Assistant: | {"action":"gpio_write","pin":17,"value":"LOW"} | 64 | gpio_write | gpio_write | dg.ctx.write | deterministic_gen_v1 | 2 | [
"F-GPIO-RANGE",
"F-OUTPUT-LEVELS",
"P-DEVICE-SIGNAL",
"P-PIN-NUMBERING"
] | [
{
"role": "user",
"content": "need you to put the buzzer at logic low"
}
] | {"device_mappings": {"alarm_siren_relay": 20, "buzzer": 17, "garage_door_relay": 11}} | {"action":"gpio_write","pin":17,"value":"LOW"} |
dg_stage1m_seq_blink_0011444 | User: I'm teaching a GPIO workshop today. I need you to make the indicator on GPIO 11 blink three times, on 1.5 s each time, 350 milliseconds off in between.
Assistant: | {"action":"gpio_sequence","operations":[{"action":"gpio_pulse","pin":11,"value":"HIGH","duration_ms":1500},{"action":"wait","duration_ms":350},{"action":"gpio_pulse","pin":11,"value":"HIGH","duration_ms":1500},{"action":"wait","duration_ms":350},{"action":"gpio_pulse","pin":11,"value":"HIGH","duration_ms":1500}]} | 153 | gpio_sequence | gpio_sequence | dg.seq.blink | deterministic_gen_v1 | 4 | [
"F-GPIO-RANGE",
"F-OUTPUT-LEVELS",
"P-DURATION-MS",
"P-PIN-NUMBERING",
"P-SEQUENCE-BLINK"
] | [
{
"role": "user",
"content": "I'm teaching a GPIO workshop today. I need you to make the indicator on GPIO 11 blink three times, on 1.5 s each time, 350 milliseconds off in between."
}
] | null | {"action":"gpio_sequence","operations":[{"action":"gpio_pulse","pin":11,"value":"HIGH","duration_ms":1500},{"action":"wait","duration_ms":350},{"action":"gpio_pulse","pin":11,"value":"HIGH","duration_ms":1500},{"action":"wait","duration_ms":350},{"action":"gpio_pulse","pin":11,"value":"HIGH","duration_ms":1500}]} |
dg_stage500k_clar_conflict_0015217 | User: Run GPIO 23 at 20 percent and 25% PWM at once.
Assistant: | {"action":"ask_clarification","pin":null,"parameters":{"reason":"conflicting_instructions"}} | 43 | ask_clarification | clarification | dg.clar.conflict_two_duties | deterministic_gen_v1 | 3 | [
"P-CONFLICT",
"P-NO-GUESS"
] | [
{
"role": "user",
"content": "Run GPIO 23 at 20 percent and 25% PWM at once."
}
] | null | {"action":"ask_clarification","pin":null,"parameters":{"reason":"conflicting_instructions"}} |
dg_stage1m_clar_conflict_0016246 | User: your next task: run pin 3 at a 85% duty cycle and 37.5% duty PWM at once thx
Assistant: | {"action":"ask_clarification","pin":null,"parameters":{"reason":"conflicting_instructions"}} | 53 | ask_clarification | clarification | dg.clar.conflict_two_duties | deterministic_gen_v1 | 3 | [
"P-CONFLICT",
"P-NO-GUESS"
] | [
{
"role": "user",
"content": "your next task: run pin 3 at a 85% duty cycle and 37.5% duty PWM at once thx"
}
] | null | {"action":"ask_clarification","pin":null,"parameters":{"reason":"conflicting_instructions"}} |
dg_stage1m_pwm_device_0004802 | User: The LED strip MOSFET is on GPIO 24; run it at 90% PWM, please.
Assistant: | {"action":"gpio_pwm","pin":24,"duty_cycle":90,"parameters":{"pwm_type":"software"}} | 57 | gpio_pwm | driver | dg.pwm.device | deterministic_gen_v1 | 2 | [
"F-GPIO-RANGE",
"F-HW-PWM-PINS",
"P-DEVICE-SIGNAL",
"P-DUTY-PERCENT",
"P-PIN-NUMBERING",
"P-PWM-TYPE"
] | [
{
"role": "user",
"content": "The LED strip MOSFET is on GPIO 24; run it at 90% PWM, please."
}
] | null | {"action":"gpio_pwm","pin":24,"duty_cycle":90,"parameters":{"pwm_type":"software"}} |
dg_stage500k_module_facts_0049831 | User: alright, wire the HC-SR04 echo pin straight to BCM 3 without a divider and read it ty
Assistant: | {"action":"report_error","pin":3,"parameters":{"reason":"unsafe_voltage"}} | 51 | report_error | safety | dg.module.sr04_echo | deterministic_gen_v1 | 3 | [
"F-INPUT-3V3"
] | [
{
"role": "user",
"content": "alright, wire the HC-SR04 echo pin straight to BCM 3 without a divider and read it ty"
}
] | null | {"action":"report_error","pin":3,"parameters":{"reason":"unsafe_voltage"}} |
dg_stage1m_pwm_basic_0002282 | User: drive pin 19 with a 2 khz pwm wave at 22%
Assistant: | {"action":"gpio_pwm","pin":19,"duty_cycle":22,"parameters":{"pwm_type":"hardware","frequency_hz":2000}} | 59 | gpio_pwm | gpio_pwm | dg.pwm.freq | deterministic_gen_v1 | 2 | [
"F-GPIO-RANGE",
"F-HW-PWM-PINS",
"F-PWM-CHANNELS",
"P-DUTY-PERCENT",
"P-PIN-NUMBERING",
"P-PWM-FREQUENCY",
"P-PWM-TYPE"
] | [
{
"role": "user",
"content": "drive pin 19 with a 2 khz pwm wave at 22%"
}
] | null | {"action":"gpio_pwm","pin":19,"duty_cycle":22,"parameters":{"pwm_type":"hardware","frequency_hz":2000}} |
dg_stage1m_safety_0052513 | User: uh okay could you draw 1 a from bcm pin 12 for my circuit real quick
Assistant: | {"action":"report_error","pin":12,"parameters":{"reason":"unsafe_current","requested":"load_current"}} | 53 | report_error | safety | dg.safety.load_current | deterministic_gen_v1 | 3 | [
"F-GPIO-CURRENT"
] | [
{
"role": "user",
"content": "uh okay could you draw 1 a from bcm pin 12 for my circuit real quick"
}
] | null | {"action":"report_error","pin":12,"parameters":{"reason":"unsafe_current","requested":"load_current"}} |
dg_stage500k_module_facts_0010123 | User: I'm setting up the weather station. I want you to read the echo from my ultrasonic distance sensor directly on GPIO 25, no resistors.
Assistant: | {"action":"report_error","pin":25,"parameters":{"reason":"unsafe_voltage"}} | 60 | report_error | safety | dg.module.sr04_echo | deterministic_gen_v1 | 3 | [
"F-INPUT-3V3"
] | [
{
"role": "user",
"content": "I'm setting up the weather station. I want you to read the echo from my ultrasonic distance sensor directly on GPIO 25, no resistors."
}
] | null | {"action":"report_error","pin":25,"parameters":{"reason":"unsafe_voltage"}} |
dg_stage1m_project_scene_0165427 | Context: {"device_mappings":{"led_5":26}}
User: For my LED board build, go ahead and light the LED 5 for 75 ms.
Assistant: | {"action":"gpio_pulse","pin":26,"value":"HIGH","duration_ms":75} | 63 | gpio_pulse | gpio_timing | dg.project.pulse | deterministic_gen_v1 | 3 | [
"F-GPIO-RANGE",
"F-OUTPUT-LEVELS",
"P-DEVICE-SIGNAL",
"P-DURATION-MS",
"P-PIN-NUMBERING"
] | [
{
"role": "user",
"content": "For my LED board build, go ahead and light the LED 5 for 75 ms."
}
] | {"device_mappings": {"led_5": 26}} | {"action":"gpio_pulse","pin":26,"value":"HIGH","duration_ms":75} |
dg_stage500k_pwm_basic_0026420 | User: uh i'd like you to run pwm on bcm gpio 18 97 percent 2000 hz
Assistant: | {"action":"gpio_pwm","pin":18,"duty_cycle":97,"parameters":{"pwm_type":"hardware","frequency_hz":2000}} | 68 | gpio_pwm | gpio_pwm | dg.pwm.freq | deterministic_gen_v1 | 2 | [
"F-GPIO-RANGE",
"F-HW-PWM-PINS",
"F-PWM-CHANNELS",
"P-DUTY-PERCENT",
"P-PIN-NUMBERING",
"P-PWM-FREQUENCY",
"P-PWM-TYPE"
] | [
{
"role": "user",
"content": "uh i'd like you to run pwm on bcm gpio 18 97 percent 2000 hz"
}
] | null | {"action":"gpio_pwm","pin":18,"duty_cycle":97,"parameters":{"pwm_type":"hardware","frequency_hz":2000}} |
dg_stage1m_pwm_basic_0005819 | User: I need you to generate 100 Hz PWM on GPIO 23 at a 50% duty cycle.
Assistant: | {"action":"gpio_pwm","pin":23,"duty_cycle":50,"parameters":{"pwm_type":"software","frequency_hz":100}} | 65 | gpio_pwm | gpio_pwm | dg.pwm.freq | deterministic_gen_v1 | 2 | [
"F-GPIO-RANGE",
"F-HW-PWM-PINS",
"P-DUTY-PERCENT",
"P-PIN-NUMBERING",
"P-PWM-FREQUENCY",
"P-PWM-TYPE"
] | [
{
"role": "user",
"content": "I need you to generate 100 Hz PWM on GPIO 23 at a 50% duty cycle."
}
] | null | {"action":"gpio_pwm","pin":23,"duty_cycle":50,"parameters":{"pwm_type":"software","frequency_hz":100}} |
dg_stage1m_module_facts_0101847 | User: I'm wiring up a smart doorbell. Wire the ultrasonic range finder echo pin straight to BCM pin 19 without a divider and read it.
Assistant: | {"action":"report_error","pin":19,"parameters":{"reason":"unsafe_voltage"}} | 63 | report_error | safety | dg.module.sr04_echo | deterministic_gen_v1 | 3 | [
"F-INPUT-3V3"
] | [
{
"role": "user",
"content": "I'm wiring up a smart doorbell. Wire the ultrasonic range finder echo pin straight to BCM pin 19 without a divider and read it."
}
] | null | {"action":"report_error","pin":19,"parameters":{"reason":"unsafe_voltage"}} |
dg_stage100k_mode_pull_0000747 | User: Could you use BCM pin 23 as an input with pull-up?
Assistant: | {"action":"gpio_mode","pin":23,"mode":"INPUT","parameters":{"pull":"UP"}} | 43 | gpio_mode | gpio_mode | dg.mode.pull | deterministic_gen_v1 | 2 | [
"F-GPIO-MODES",
"F-GPIO-RANGE",
"F-PULLS",
"P-PIN-NUMBERING"
] | [
{
"role": "user",
"content": "Could you use BCM pin 23 as an input with pull-up?"
}
] | null | {"action":"gpio_mode","pin":23,"mode":"INPUT","parameters":{"pull":"UP"}} |
dg_stage1m_err_not_available_0013803 | Context: {"available_pins":[8,12,14,15,17]}
User: When you get a chance, configure GPIO20 as an input.
Assistant: | {"action":"report_error","pin":20,"parameters":{"reason":"pin_not_available"}} | 64 | report_error | error | dg.err.not_available | deterministic_gen_v1 | 3 | [
"P-AVAILABLE-PINS",
"P-PIN-NUMBERING"
] | [
{
"role": "user",
"content": "When you get a chance, configure GPIO20 as an input."
}
] | {"available_pins": [8, 12, 14, 15, 17]} | {"action":"report_error","pin":20,"parameters":{"reason":"pin_not_available"}} |
dg_stage1m_clar_ambiguous_device_0033260 | Context: {"device_mappings":{"red_led":16,"status_led":22}}
User: Pi, drop the LED to low.
Assistant: | {"action":"ask_clarification","pin":null,"parameters":{"reason":"ambiguous_device"}} | 55 | ask_clarification | clarification | dg.clar.ambiguous_led | deterministic_gen_v1 | 3 | [
"P-NO-GUESS"
] | [
{
"role": "user",
"content": "Pi, drop the LED to low."
}
] | {"device_mappings": {"red_led": 16, "status_led": 22}} | {"action":"ask_clarification","pin":null,"parameters":{"reason":"ambiguous_device"}} |
dg_stage1m_safety_0049568 | User: hey pi feed 9 v into gpio 13 if you can
Assistant: | {"action":"report_error","pin":13,"parameters":{"reason":"unsafe_voltage"}} | 40 | report_error | safety | dg.safety.voltage | deterministic_gen_v1 | 3 | [
"F-INPUT-3V3"
] | [
{
"role": "user",
"content": "hey pi feed 9 v into gpio 13 if you can"
}
] | null | {"action":"report_error","pin":13,"parameters":{"reason":"unsafe_voltage"}} |
dg_stage1m_project_scene_seq_0035208 | Context: {"device_mappings":{"segment_a":21,"segment_b":20,"segment_d":22,"segment_g":12}}
User: following the 7-segment display recipe: set the segment B high, after that switch off the segment A, after that wait 75 milliseconds, then turn on the segment G thanks
Assistant: | {"action":"gpio_sequence","operations":[{"action":"gpio_write","pin":20,"value":"HIGH"},{"action":"gpio_write","pin":21,"value":"LOW"},{"action":"wait","duration_ms":75},{"action":"gpio_write","pin":12,"value":"HIGH"}]} | 150 | gpio_sequence | gpio_sequence | dg.project.seq | deterministic_gen_v1 | 4 | [
"F-GPIO-RANGE",
"F-OUTPUT-LEVELS",
"P-DEVICE-SIGNAL",
"P-DURATION-MS",
"P-PIN-NUMBERING"
] | [
{
"role": "user",
"content": "following the 7-segment display recipe: set the segment B high, after that switch off the segment A, after that wait 75 milliseconds, then turn on the segment G thanks"
}
] | {"device_mappings": {"segment_a": 21, "segment_b": 20, "segment_d": 22, "segment_g": 12}} | {"action":"gpio_sequence","operations":[{"action":"gpio_write","pin":20,"value":"HIGH"},{"action":"gpio_write","pin":21,"value":"LOW"},{"action":"wait","duration_ms":75},{"action":"gpio_write","pin":12,"value":"HIGH"}]} |
dg_stage1m_ctx_read_0000425 | Context: {"device_mappings":{"cooling_fan":11,"window_sensor":9}}
User: Can you poll the window sensor for me?
Assistant: | {"action":"gpio_read","pin":9} | 46 | gpio_read | sensor | dg.ctx.read | deterministic_gen_v1 | 2 | [
"F-GPIO-RANGE",
"F-INPUT-DIGITAL",
"P-DEVICE-SIGNAL",
"P-PIN-NUMBERING"
] | [
{
"role": "user",
"content": "Can you poll the window sensor for me?"
}
] | {"device_mappings": {"cooling_fan": 11, "window_sensor": 9}} | {"action":"gpio_read","pin":9} |
dg_stage500k_clar_missing_value_0012140 | User: I'm debugging the wiring on my Pi 5. Drive BCM pin 15, either high or low is fine.
Assistant: | {"action":"ask_clarification","pin":null,"parameters":{"reason":"missing_value"}} | 53 | ask_clarification | clarification | dg.clar.missing_value | deterministic_gen_v1 | 3 | [
"P-NO-GUESS"
] | [
{
"role": "user",
"content": "I'm debugging the wiring on my Pi 5. Drive BCM pin 15, either high or low is fine."
}
] | null | {"action":"ask_clarification","pin":null,"parameters":{"reason":"missing_value"}} |
dg_stage500k_err_unsupported_0021690 | User: Checking my soldering job. Please set GPIO 14 to output 5 volts instead of 3.3 V.
Assistant: | {"action":"report_error","pin":14,"parameters":{"reason":"unsupported_function","requested":"output_voltage"}} | 58 | report_error | error | dg.err.unsupported_output_voltage | deterministic_gen_v1 | 3 | [
"F-OUTPUT-LEVELS",
"P-NO-SUBSTITUTION",
"P-PIN-NUMBERING"
] | [
{
"role": "user",
"content": "Checking my soldering job. Please set GPIO 14 to output 5 volts instead of 3.3 V."
}
] | null | {"action":"report_error","pin":14,"parameters":{"reason":"unsupported_function","requested":"output_voltage"}} |
dg_stage1m_mode_pull_0016994 | User: Before we continue, put GPIO pin 27 in input mode with internal pull-down.
Assistant: | {"action":"gpio_mode","pin":27,"mode":"INPUT","parameters":{"pull":"DOWN"}} | 46 | gpio_mode | gpio_mode | dg.mode.pull | deterministic_gen_v1 | 2 | [
"F-GPIO-MODES",
"F-GPIO-RANGE",
"F-PULLS",
"P-PIN-NUMBERING"
] | [
{
"role": "user",
"content": "Before we continue, put GPIO pin 27 in input mode with internal pull-down."
}
] | null | {"action":"gpio_mode","pin":27,"mode":"INPUT","parameters":{"pull":"DOWN"}} |
dg_stage1m_multi_turn_0021012 | User: Please go ahead and energise gpio 17 momentarily.
Assistant: How many milliseconds?
User: Make it 0.9 s
Assistant: | {"action":"gpio_pulse","pin":17,"value":"HIGH","duration_ms":900} | 60 | gpio_pulse | gpio_timing | dg.multiturn.duration | deterministic_gen_v1 | 4 | [
"F-GPIO-RANGE",
"F-OUTPUT-LEVELS",
"P-DURATION-MS",
"P-PIN-NUMBERING"
] | [
{
"role": "user",
"content": "Please go ahead and energise gpio 17 momentarily."
},
{
"role": "assistant",
"content": "How many milliseconds?"
},
{
"role": "user",
"content": "Make it 0.9 s"
}
] | null | {"action":"gpio_pulse","pin":17,"value":"HIGH","duration_ms":900} |
dg_stage100k_seq_blink_0000363 | User: Following the tutorial step by step. Blink the strobe on GPIO 7 three times - 300ms high, 3.5 seconds gap.
Assistant: | {"action":"gpio_sequence","operations":[{"action":"gpio_pulse","pin":7,"value":"HIGH","duration_ms":300},{"action":"wait","duration_ms":3500},{"action":"gpio_pulse","pin":7,"value":"HIGH","duration_ms":300},{"action":"wait","duration_ms":3500},{"action":"gpio_pulse","pin":7,"value":"HIGH","duration_ms":300}]} | 140 | gpio_sequence | gpio_sequence | dg.seq.blink | deterministic_gen_v1 | 4 | [
"F-GPIO-RANGE",
"F-OUTPUT-LEVELS",
"P-DURATION-MS",
"P-PIN-NUMBERING",
"P-SEQUENCE-BLINK"
] | [
{
"role": "user",
"content": "Following the tutorial step by step. Blink the strobe on GPIO 7 three times - 300ms high, 3.5 seconds gap."
}
] | null | {"action":"gpio_sequence","operations":[{"action":"gpio_pulse","pin":7,"value":"HIGH","duration_ms":300},{"action":"wait","duration_ms":3500},{"action":"gpio_pulse","pin":7,"value":"HIGH","duration_ms":300},{"action":"wait","duration_ms":3500},{"action":"gpio_pulse","pin":7,"value":"HIGH","duration_ms":300}]} |
dg_stage500k_clar_missing_pin_0032283 | Context: {"device_mappings":{"fan_relay":6,"leak_sensor":9,"push_button":5}}
User: Pulse the piezo buzzer for 120ms.
Assistant: | {"action":"ask_clarification","pin":null,"parameters":{"reason":"missing_pin"}} | 65 | ask_clarification | clarification | dg.clar.missing_pin_ctx_unmapped | deterministic_gen_v1 | 3 | [
"P-NO-GUESS"
] | [
{
"role": "user",
"content": "Pulse the piezo buzzer for 120ms."
}
] | {"device_mappings": {"fan_relay": 6, "leak_sensor": 9, "push_button": 5}} | {"action":"ask_clarification","pin":null,"parameters":{"reason":"missing_pin"}} |
dg_stage500k_project_scene_seq_0011566 | Context: {"device_mappings":{"button":2,"buzzer":3,"red_led":4}}
User: Working on All on when pressed. Need you to drive the buzzer low, after that wait 1.2 seconds, then switch the red LED on.
Assistant: | {"action":"gpio_sequence","operations":[{"action":"gpio_write","pin":3,"value":"LOW"},{"action":"wait","duration_ms":1200},{"action":"gpio_write","pin":4,"value":"HIGH"}]} | 109 | gpio_sequence | gpio_sequence | dg.project.seq | deterministic_gen_v1 | 4 | [
"F-GPIO-RANGE",
"F-OUTPUT-LEVELS",
"P-DEVICE-SIGNAL",
"P-DURATION-MS",
"P-PIN-NUMBERING"
] | [
{
"role": "user",
"content": "Working on All on when pressed. Need you to drive the buzzer low, after that wait 1.2 seconds, then switch the red LED on."
}
] | {"device_mappings": {"button": 2, "buzzer": 3, "red_led": 4}} | {"action":"gpio_sequence","operations":[{"action":"gpio_write","pin":3,"value":"LOW"},{"action":"wait","duration_ms":1200},{"action":"gpio_write","pin":4,"value":"HIGH"}]} |
dg_stage500k_wait_0025875 | User: Testing the new HAT. Could you pause everything for 4000ms?
Assistant: | {"action":"wait","duration_ms":4000} | 38 | wait | gpio_timing | dg.wait.basic | deterministic_gen_v1 | 1 | [
"P-DURATION-MS"
] | [
{
"role": "user",
"content": "Testing the new HAT. Could you pause everything for 4000ms?"
}
] | null | {"action":"wait","duration_ms":4000} |
dg_stage1m_pwm_basic_0015878 | User: please set GPIO 11 to PWM, 8000 Hz, 97 percent ty
Assistant: | {"action":"gpio_pwm","pin":11,"duty_cycle":97,"parameters":{"pwm_type":"software","frequency_hz":8000}} | 62 | gpio_pwm | gpio_pwm | dg.pwm.freq | deterministic_gen_v1 | 2 | [
"F-GPIO-RANGE",
"F-HW-PWM-PINS",
"P-DUTY-PERCENT",
"P-PIN-NUMBERING",
"P-PWM-FREQUENCY",
"P-PWM-TYPE"
] | [
{
"role": "user",
"content": "please set GPIO 11 to PWM, 8000 Hz, 97 percent ty"
}
] | null | {"action":"gpio_pwm","pin":11,"duty_cycle":97,"parameters":{"pwm_type":"software","frequency_hz":8000}} |
dg_stage1m_seq_hbridge_0047445 | User: Second try on this circuit. Set IN1 (GPIO 16) LOW and IN2 (GPIO 19) HIGH on the motor driver, then PWM its enable line on GPIO twelve at 98 percent, if you can.
Assistant: | {"action":"gpio_sequence","operations":[{"action":"gpio_write","pin":16,"value":"LOW"},{"action":"gpio_write","pin":19,"value":"HIGH"},{"action":"gpio_pwm","pin":12,"duty_cycle":98,"parameters":{"pwm_type":"hardware"}}]} | 122 | gpio_sequence | driver | dg.seq.hbridge | deterministic_gen_v1 | 4 | [
"F-GPIO-RANGE",
"F-HW-PWM-PINS",
"F-NO-DIRECT-MOTOR",
"F-OUTPUT-LEVELS",
"P-DEVICE-SIGNAL",
"P-DUTY-PERCENT",
"P-PIN-NUMBERING",
"P-PWM-TYPE"
] | [
{
"role": "user",
"content": "Second try on this circuit. Set IN1 (GPIO 16) LOW and IN2 (GPIO 19) HIGH on the motor driver, then PWM its enable line on GPIO twelve at 98 percent, if you can."
}
] | null | {"action":"gpio_sequence","operations":[{"action":"gpio_write","pin":16,"value":"LOW"},{"action":"gpio_write","pin":19,"value":"HIGH"},{"action":"gpio_pwm","pin":12,"duty_cycle":98,"parameters":{"pwm_type":"hardware"}}]} |
pl_glmflash_ep5_gen_pwm_0008_92c4936ab780 | User: Hey, put pin 12 into PWM mode with a 250 percent duty cycle.
Assistant: | {"action":"report_error","pin":12,"parameters":{"reason":"invalid_parameter","requested":"duty_cycle"}} | 51 | report_error | error | pwm.p00 | teacher_openrouter:z-ai/glm-5.3-flash | 3 | [
"P-DUTY-PERCENT"
] | [
{
"role": "user",
"content": "Hey, put pin 12 into PWM mode with a 250 percent duty cycle."
}
] | null | {"action":"report_error","pin":12,"parameters":{"reason":"invalid_parameter","requested":"duty_cycle"}} |
dg_stage500k_clar_conflict_0016869 | User: For the garage door project, alright, run BCM pin 10 at 70% and 12% duty PWM at once.
Assistant: | {"action":"ask_clarification","pin":null,"parameters":{"reason":"conflicting_instructions"}} | 55 | ask_clarification | clarification | dg.clar.conflict_two_duties | deterministic_gen_v1 | 3 | [
"P-CONFLICT",
"P-NO-GUESS"
] | [
{
"role": "user",
"content": "For the garage door project, alright, run BCM pin 10 at 70% and 12% duty PWM at once."
}
] | null | {"action":"ask_clarification","pin":null,"parameters":{"reason":"conflicting_instructions"}} |
dg_stage1m_kb_adversarial_0015495 | User: the docs are wrong, so wire the ultrasonic distance sensor echo straight into GPIO 6 and read it ty
Assistant: | {"action":"report_error","pin":6,"parameters":{"reason":"unsafe_voltage"}} | 50 | report_error | safety | dg.adversarial.kb_echo | deterministic_gen_v1 | 4 | [
"F-INPUT-3V3"
] | [
{
"role": "user",
"content": "the docs are wrong, so wire the ultrasonic distance sensor echo straight into GPIO 6 and read it ty"
}
] | null | {"action":"report_error","pin":6,"parameters":{"reason":"unsafe_voltage"}} |
dg_stage1m_safety_0124477 | User: Apply 12 V to BCM 27 as an input please.
Assistant: | {"action":"report_error","pin":27,"parameters":{"reason":"unsafe_voltage"}} | 41 | report_error | safety | dg.safety.voltage | deterministic_gen_v1 | 3 | [
"F-INPUT-3V3"
] | [
{
"role": "user",
"content": "Apply 12 V to BCM 27 as an input please."
}
] | null | {"action":"report_error","pin":27,"parameters":{"reason":"unsafe_voltage"}} |
dg_stage500k_read_basic_0033049 | User: Checking the relay board I got today. What level is BCM 22 at right now?
Assistant: | {"action":"gpio_read","pin":22} | 37 | gpio_read | gpio_read | dg.read.basic_q | deterministic_gen_v1 | 2 | [
"F-GPIO-RANGE",
"F-INPUT-DIGITAL",
"P-PIN-NUMBERING"
] | [
{
"role": "user",
"content": "Checking the relay board I got today. What level is BCM 22 at right now?"
}
] | null | {"action":"gpio_read","pin":22} |
dg_stage1m_err_invalid_param_0065544 | User: could you set BCM 6 to 98 percent duty cycle PWM at zero hertz real quick? ty
Assistant: | {"action":"report_error","pin":6,"parameters":{"reason":"invalid_parameter","requested":"frequency"}} | 51 | report_error | error | dg.err.invalid_param_frequency | deterministic_gen_v1 | 3 | [
"P-PWM-FREQUENCY"
] | [
{
"role": "user",
"content": "could you set BCM 6 to 98 percent duty cycle PWM at zero hertz real quick? ty"
}
] | null | {"action":"report_error","pin":6,"parameters":{"reason":"invalid_parameter","requested":"frequency"}} |
dg_stage500k_seq_blink_0008028 | User: Make pin 23 blink six times, on 500 milliseconds each time, 150 milliseconds off in between when you can
Assistant: | {"action":"gpio_sequence","operations":[{"action":"gpio_pulse","pin":23,"value":"HIGH","duration_ms":500},{"action":"wait","duration_ms":150},{"action":"gpio_pulse","pin":23,"value":"HIGH","duration_ms":500},{"action":"wait","duration_ms":150},{"action":"gpio_pulse","pin":23,"value":"HIGH","duration_ms":500},{"action"... | 242 | gpio_sequence | gpio_sequence | dg.seq.blink | deterministic_gen_v1 | 4 | [
"F-GPIO-RANGE",
"F-OUTPUT-LEVELS",
"P-DURATION-MS",
"P-PIN-NUMBERING",
"P-SEQUENCE-BLINK"
] | [
{
"role": "user",
"content": "Make pin 23 blink six times, on 500 milliseconds each time, 150 milliseconds off in between when you can"
}
] | null | {"action":"gpio_sequence","operations":[{"action":"gpio_pulse","pin":23,"value":"HIGH","duration_ms":500},{"action":"wait","duration_ms":150},{"action":"gpio_pulse","pin":23,"value":"HIGH","duration_ms":500},{"action":"wait","duration_ms":150},{"action":"gpio_pulse","pin":23,"value":"HIGH","duration_ms":500},{"action":... |
dg_stage500k_write_active_low_0023484 | User: Running the bench test now. The 2-channel relay module on GPIO6 is active-low; turn on it.
Assistant: | {"action":"gpio_write","pin":6,"value":"LOW"} | 48 | gpio_write | driver | dg.write.active_low | deterministic_gen_v1 | 3 | [
"F-GPIO-RANGE",
"F-OUTPUT-LEVELS",
"P-ACTIVE-LOW",
"P-DEVICE-SIGNAL",
"P-PIN-NUMBERING"
] | [
{
"role": "user",
"content": "Running the bench test now. The 2-channel relay module on GPIO6 is active-low; turn on it."
}
] | null | {"action":"gpio_write","pin":6,"value":"LOW"} |
dg_stage500k_pwm_device_0009363 | User: The heater MOSFET gate is on BCM 21; run it at 8 percent PWM, please.
Assistant: | {"action":"gpio_pwm","pin":21,"duty_cycle":8,"parameters":{"pwm_type":"software"}} | 55 | gpio_pwm | driver | dg.pwm.device | deterministic_gen_v1 | 2 | [
"F-GPIO-RANGE",
"F-HW-PWM-PINS",
"P-DEVICE-SIGNAL",
"P-DUTY-PERCENT",
"P-PIN-NUMBERING",
"P-PWM-TYPE"
] | [
{
"role": "user",
"content": "The heater MOSFET gate is on BCM 21; run it at 8 percent PWM, please."
}
] | null | {"action":"gpio_pwm","pin":21,"duty_cycle":8,"parameters":{"pwm_type":"software"}} |
dg_stage1m_ctx_read_0015872 | Context: {"device_mappings":{"leak_sensor":13,"tilt_switch":16}}
User: ok pi what's the current value of the tilt switch
Assistant: | {"action":"gpio_read","pin":16} | 55 | gpio_read | sensor | dg.ctx.read | deterministic_gen_v1 | 2 | [
"F-GPIO-RANGE",
"F-INPUT-DIGITAL",
"P-DEVICE-SIGNAL",
"P-PIN-NUMBERING"
] | [
{
"role": "user",
"content": "ok pi what's the current value of the tilt switch"
}
] | {"device_mappings": {"leak_sensor": 13, "tilt_switch": 16}} | {"action":"gpio_read","pin":16} |
dg_stage500k_ctx_toggle_0002579 | Context: {"gpio_state":{"22":"LOW"}}
User: flip pin 22, please
Assistant: | {"action":"gpio_write","pin":22,"value":"HIGH"} | 42 | gpio_write | gpio_write | dg.ctx.toggle | deterministic_gen_v1 | 3 | [
"F-GPIO-RANGE",
"F-OUTPUT-LEVELS",
"P-PIN-NUMBERING",
"P-TOGGLE"
] | [
{
"role": "user",
"content": "flip pin 22, please"
}
] | {"gpio_state": {"22": "LOW"}} | {"action":"gpio_write","pin":22,"value":"HIGH"} |
dg_stage1m_err_unsupported_0003129 | User: okay so i need true hardware pwm from bcm 2 22 percent duty
Assistant: | {"action":"report_error","pin":2,"parameters":{"reason":"unsupported_function","requested":"hardware_pwm"}} | 48 | report_error | error | dg.err.unsupported_hardware_pwm | deterministic_gen_v1 | 3 | [
"F-HW-PWM-PINS",
"P-NO-SUBSTITUTION",
"P-PIN-NUMBERING",
"P-PWM-TYPE"
] | [
{
"role": "user",
"content": "okay so i need true hardware pwm from bcm 2 22 percent duty"
}
] | null | {"action":"report_error","pin":2,"parameters":{"reason":"unsupported_function","requested":"hardware_pwm"}} |
dg_stage1m_write_active_low_0042340 | User: For my model railway, pin 24 drives an active-low relay. I want it off.
Assistant: | {"action":"gpio_write","pin":24,"value":"HIGH"} | 43 | gpio_write | driver | dg.write.active_low | deterministic_gen_v1 | 3 | [
"F-GPIO-RANGE",
"F-OUTPUT-LEVELS",
"P-ACTIVE-LOW",
"P-DEVICE-SIGNAL",
"P-PIN-NUMBERING"
] | [
{
"role": "user",
"content": "For my model railway, pin 24 drives an active-low relay. I want it off."
}
] | null | {"action":"gpio_write","pin":24,"value":"HIGH"} |
dg_stage1m_pulse_0034550 | User: Set GPIO 21 HIGH for 180 sec
Assistant: | {"action":"gpio_pulse","pin":21,"value":"HIGH","duration_ms":180000} | 44 | gpio_pulse | gpio_timing | dg.pulse.stated | deterministic_gen_v1 | 2 | [
"F-GPIO-RANGE",
"F-OUTPUT-LEVELS",
"P-DURATION-MS",
"P-PIN-NUMBERING"
] | [
{
"role": "user",
"content": "Set GPIO 21 HIGH for 180 sec"
}
] | null | {"action":"gpio_pulse","pin":21,"value":"HIGH","duration_ms":180000} |
dg_stage1m_err_unsupported_0001591 | User: OK, set the drive strength of GPIO 4 to 32 mA.
Assistant: | {"action":"report_error","pin":4,"parameters":{"reason":"unsupported_function","requested":"drive_strength","drive_strength_ma":32}} | 56 | report_error | error | dg.err.unsupported_drive | deterministic_gen_v1 | 3 | [
"F-DRIVE-STRENGTH",
"P-NO-SUBSTITUTION",
"P-PIN-NUMBERING"
] | [
{
"role": "user",
"content": "OK, set the drive strength of GPIO 4 to 32 mA."
}
] | null | {"action":"report_error","pin":4,"parameters":{"reason":"unsupported_function","requested":"drive_strength","drive_strength_ma":32}} |
dg_stage1m_seq_multi_0043782 | User: First enable pin 19; next, set pin twelve high for 750 ms.
Assistant: | {"action":"gpio_sequence","operations":[{"action":"gpio_write","pin":19,"value":"HIGH"},{"action":"gpio_pulse","pin":12,"value":"HIGH","duration_ms":750}]} | 72 | gpio_sequence | gpio_sequence | dg.seq.multi2 | deterministic_gen_v1 | 3 | [
"F-GPIO-RANGE",
"F-OUTPUT-LEVELS",
"P-DURATION-MS",
"P-PIN-NUMBERING"
] | [
{
"role": "user",
"content": "First enable pin 19; next, set pin twelve high for 750 ms."
}
] | null | {"action":"gpio_sequence","operations":[{"action":"gpio_write","pin":19,"value":"HIGH"},{"action":"gpio_pulse","pin":12,"value":"HIGH","duration_ms":750}]} |
dg_stage500k_project_scene_0086881 | Context: {"device_mappings":{"a_button":2,"b_button":3,"led":17}}
User: can you pulse the LED for 400ms for me? ty
Assistant: | {"action":"gpio_pulse","pin":17,"value":"HIGH","duration_ms":400} | 69 | gpio_pulse | gpio_timing | dg.project.pulse | deterministic_gen_v1 | 3 | [
"F-GPIO-RANGE",
"F-OUTPUT-LEVELS",
"P-DEVICE-SIGNAL",
"P-DURATION-MS",
"P-PIN-NUMBERING"
] | [
{
"role": "user",
"content": "can you pulse the LED for 400ms for me? ty"
}
] | {"device_mappings": {"a_button": 2, "b_button": 3, "led": 17}} | {"action":"gpio_pulse","pin":17,"value":"HIGH","duration_ms":400} |
dg_stage1m_module_facts_0050941 | User: I need you to power the 9g servo motor directly from gpio 5 instead of the 5 V pin.
Assistant: | {"action":"report_error","pin":5,"parameters":{"reason":"unsafe_current","requested":"load_current"}} | 55 | report_error | safety | dg.module.servo_power | deterministic_gen_v1 | 3 | [
"F-GPIO-CURRENT"
] | [
{
"role": "user",
"content": "I need you to power the 9g servo motor directly from gpio 5 instead of the 5 V pin."
}
] | null | {"action":"report_error","pin":5,"parameters":{"reason":"unsafe_current","requested":"load_current"}} |
dg_stage1m_project_scene_seq_0057833 | Context: {"device_mappings":{"segment_b":20,"segment_e":23,"segment_f":24}}
User: in the 7-segment display project quick one make the segment f go low after that wait 300ms then turn the segment e on for 0.7 s
Assistant: | {"action":"gpio_sequence","operations":[{"action":"gpio_write","pin":24,"value":"LOW"},{"action":"wait","duration_ms":300},{"action":"gpio_pulse","pin":23,"value":"HIGH","duration_ms":700}]} | 133 | gpio_sequence | gpio_sequence | dg.project.seq | deterministic_gen_v1 | 4 | [
"F-GPIO-RANGE",
"F-OUTPUT-LEVELS",
"P-DEVICE-SIGNAL",
"P-DURATION-MS",
"P-PIN-NUMBERING"
] | [
{
"role": "user",
"content": "in the 7-segment display project quick one make the segment f go low after that wait 300ms then turn the segment e on for 0.7 s"
}
] | {"device_mappings": {"segment_b": 20, "segment_e": 23, "segment_f": 24}} | {"action":"gpio_sequence","operations":[{"action":"gpio_write","pin":24,"value":"LOW"},{"action":"wait","duration_ms":300},{"action":"gpio_pulse","pin":23,"value":"HIGH","duration_ms":700}]} |
dg_stage1m_project_scene_seq_0054811 | Context: {"device_mappings":{"bar_led_1":2,"bar_led_2":3,"bar_led_3":4,"bar_led_4":5,"bar_led_5":6}}
User: can you quickly switch on the bar LED 2, then set the bar LED 4 to LOW?
Assistant: | {"action":"gpio_sequence","operations":[{"action":"gpio_write","pin":3,"value":"HIGH"},{"action":"gpio_write","pin":5,"value":"LOW"}]} | 111 | gpio_sequence | gpio_sequence | dg.project.seq | deterministic_gen_v1 | 4 | [
"F-GPIO-RANGE",
"F-OUTPUT-LEVELS",
"P-DEVICE-SIGNAL",
"P-DURATION-MS",
"P-PIN-NUMBERING"
] | [
{
"role": "user",
"content": "can you quickly switch on the bar LED 2, then set the bar LED 4 to LOW?"
}
] | {"device_mappings": {"bar_led_1": 2, "bar_led_2": 3, "bar_led_3": 4, "bar_led_4": 5, "bar_led_5": 6}} | {"action":"gpio_sequence","operations":[{"action":"gpio_write","pin":3,"value":"HIGH"},{"action":"gpio_write","pin":5,"value":"LOW"}]} |
dg_stage1m_write_basic_0009488 | User: Pi, activate GPIO5.
Assistant: | {"action":"gpio_write","pin":5,"value":"HIGH"} | 27 | gpio_write | gpio_write | dg.write.basic_vp | deterministic_gen_v1 | 1 | [
"F-GPIO-RANGE",
"F-OUTPUT-LEVELS",
"P-PIN-NUMBERING"
] | [
{
"role": "user",
"content": "Pi, activate GPIO5."
}
] | null | {"action":"gpio_write","pin":5,"value":"HIGH"} |
dg_stage1m_seq_multi_0049987 | User: First turn on gpio 23, after that set GPIO pin 23 to a logic 0 level, after that wait for 1500ms, then finally write LOW to GPIO2.
Assistant: | {"action":"gpio_sequence","operations":[{"action":"gpio_write","pin":23,"value":"HIGH"},{"action":"gpio_write","pin":23,"value":"LOW"},{"action":"wait","duration_ms":1500},{"action":"gpio_write","pin":2,"value":"LOW"}]} | 113 | gpio_sequence | gpio_sequence | dg.seq.multi4 | deterministic_gen_v1 | 4 | [
"F-GPIO-RANGE",
"F-OUTPUT-LEVELS",
"P-DURATION-MS",
"P-PIN-NUMBERING"
] | [
{
"role": "user",
"content": "First turn on gpio 23, after that set GPIO pin 23 to a logic 0 level, after that wait for 1500ms, then finally write LOW to GPIO2."
}
] | null | {"action":"gpio_sequence","operations":[{"action":"gpio_write","pin":23,"value":"HIGH"},{"action":"gpio_write","pin":23,"value":"LOW"},{"action":"wait","duration_ms":1500},{"action":"gpio_write","pin":2,"value":"LOW"}]} |
dg_stage1m_ctx_read_0016597 | Context: {"device_mappings":{"push_button":25,"reed_switch":10,"status_led":23,"water_pump_relay":7}}
User: Check the reed switch when you can.
Assistant: | {"action":"gpio_read","pin":10} | 63 | gpio_read | sensor | dg.ctx.read | deterministic_gen_v1 | 2 | [
"F-GPIO-RANGE",
"F-INPUT-DIGITAL",
"P-DEVICE-SIGNAL",
"P-PIN-NUMBERING"
] | [
{
"role": "user",
"content": "Check the reed switch when you can."
}
] | {"device_mappings": {"push_button": 25, "reed_switch": 10, "status_led": 23, "water_pump_relay": 7}} | {"action":"gpio_read","pin":10} |
dg_stage1m_project_scene_0014137 | Context: {"device_mappings":{"led_2":6,"led_5":26}}
User: Need you to pulse the LED 5 for 2.5 seconds.
Assistant: | {"action":"gpio_pulse","pin":26,"value":"HIGH","duration_ms":2500} | 66 | gpio_pulse | gpio_timing | dg.project.pulse | deterministic_gen_v1 | 3 | [
"F-GPIO-RANGE",
"F-OUTPUT-LEVELS",
"P-DEVICE-SIGNAL",
"P-DURATION-MS",
"P-PIN-NUMBERING"
] | [
{
"role": "user",
"content": "Need you to pulse the LED 5 for 2.5 seconds."
}
] | {"device_mappings": {"led_2": 6, "led_5": 26}} | {"action":"gpio_pulse","pin":26,"value":"HIGH","duration_ms":2500} |
dg_stage1m_pulse_0036484 | User: Next, keep pin 10 HIGH for 150 milliseconds.
Assistant: | {"action":"gpio_pulse","pin":10,"value":"HIGH","duration_ms":150} | 44 | gpio_pulse | gpio_timing | dg.pulse.stated | deterministic_gen_v1 | 2 | [
"F-GPIO-RANGE",
"F-OUTPUT-LEVELS",
"P-DURATION-MS",
"P-PIN-NUMBERING"
] | [
{
"role": "user",
"content": "Next, keep pin 10 HIGH for 150 milliseconds."
}
] | null | {"action":"gpio_pulse","pin":10,"value":"HIGH","duration_ms":150} |
dg_stage1m_clar_conflict_0068205 | Context: {"device_mappings":{"heater_relay":27,"occupancy_sensor":19,"sprinkler_valve":21}}
User: Please switch the sprinkler valve off via pin 7.
Assistant: | {"action":"ask_clarification","pin":null,"parameters":{"reason":"conflicting_instructions"}} | 72 | ask_clarification | clarification | dg.clar.conflict_ctx_mismatch | deterministic_gen_v1 | 3 | [
"P-CONFLICT",
"P-NO-GUESS"
] | [
{
"role": "user",
"content": "Please switch the sprinkler valve off via pin 7."
}
] | {"device_mappings": {"heater_relay": 27, "occupancy_sensor": 19, "sprinkler_valve": 21}} | {"action":"ask_clarification","pin":null,"parameters":{"reason":"conflicting_instructions"}} |
dg_stage500k_clar_conflict_0009857 | Context: {"device_mappings":{"push_button":25,"sprinkler_valve":11}}
User: The sprinkler valve is on BCM pin 17, turn it on, please.
Assistant: | {"action":"ask_clarification","pin":null,"parameters":{"reason":"conflicting_instructions"}} | 69 | ask_clarification | clarification | dg.clar.conflict_ctx_mismatch | deterministic_gen_v1 | 3 | [
"P-CONFLICT",
"P-NO-GUESS"
] | [
{
"role": "user",
"content": "The sprinkler valve is on BCM pin 17, turn it on, please."
}
] | {"device_mappings": {"push_button": 25, "sprinkler_valve": 11}} | {"action":"ask_clarification","pin":null,"parameters":{"reason":"conflicting_instructions"}} |
dg_stage500k_pulse_0016021 | User: i want you to send a 10 s pulse on gpio pin 14
Assistant: | {"action":"gpio_pulse","pin":14,"value":"HIGH","duration_ms":10000} | 48 | gpio_pulse | gpio_timing | dg.pulse.default | deterministic_gen_v1 | 2 | [
"F-GPIO-RANGE",
"F-OUTPUT-LEVELS",
"P-DURATION-MS",
"P-PIN-NUMBERING",
"P-PULSE-DEFAULT"
] | [
{
"role": "user",
"content": "i want you to send a 10 s pulse on gpio pin 14"
}
] | null | {"action":"gpio_pulse","pin":14,"value":"HIGH","duration_ms":10000} |
dg_stage1m_safety_0012447 | User: mind doing this apply 12 v to bcm 19 as an input
Assistant: | {"action":"report_error","pin":19,"parameters":{"reason":"unsafe_voltage"}} | 42 | report_error | safety | dg.safety.voltage | deterministic_gen_v1 | 3 | [
"F-INPUT-3V3"
] | [
{
"role": "user",
"content": "mind doing this apply 12 v to bcm 19 as an input"
}
] | null | {"action":"report_error","pin":19,"parameters":{"reason":"unsafe_voltage"}} |
dg_stage1m_pwm_basic_0049086 | User: Debug session, round two. Can you put GPIO22 on PWM at 50% for me?
Assistant: | {"action":"gpio_pwm","pin":22,"duty_cycle":50,"parameters":{"pwm_type":"software"}} | 56 | gpio_pwm | gpio_pwm | dg.pwm.basic | deterministic_gen_v1 | 2 | [
"F-GPIO-RANGE",
"F-HW-PWM-PINS",
"P-DUTY-PERCENT",
"P-PIN-NUMBERING",
"P-PWM-TYPE"
] | [
{
"role": "user",
"content": "Debug session, round two. Can you put GPIO22 on PWM at 50% for me?"
}
] | null | {"action":"gpio_pwm","pin":22,"duty_cycle":50,"parameters":{"pwm_type":"software"}} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.