Skip to content

Update the LLM tutorial with improvements to keyboard_op, llm_op, and dataflow config.#1509

Open
sauravkeshrii wants to merge 11 commits intodora-rs:mainfrom
sauravkeshrii:my-feature-branch
Open

Update the LLM tutorial with improvements to keyboard_op, llm_op, and dataflow config.#1509
sauravkeshrii wants to merge 11 commits intodora-rs:mainfrom
sauravkeshrii:my-feature-branch

Conversation

@sauravkeshrii
Copy link
Copy Markdown

Description

This PR updates the LLM tutorial to work with dora 0.4.1. It replaces the old custom: syntax with operator: in dataflow_llm.yml and updates the Python operators to use the modern class-based API.

Fixes #1401

Changes

  • Modified dataflow_llm.yml to use operator: instead of custom:
  • Updated keyboard_op.py and llm_op.py to use the Operator class with on_event method
  • Added missing dependencies (optimum, pynput, etc.) to requirements_llm.txt
  • Excluded the virtual environment folder from commits

sauravkeshrii and others added 11 commits March 22, 2026 14:39
Use placeholders in dataflow.yml and resolve them to local repo URL/HEAD
Bump dora-message to 0.8.0 to match daemon
Trim ROS install to ros-humble-ros-base and add apt cache
Add STOP handling in python async example for graceful shutdown
Improve version mismatch error messages
- Fix file:// URL handling in git.rs
- Use placeholders in dataflow.yml and resolve to local repo
- Bump dora-message to 0.8.0 to match daemon
- Add minimal ROS install and cache
- Add STOP handling in python-async receive_data.py
- Add missing documentation to descriptor.rs (optional)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

LLM tutorial outdated for dora 0.4.1 (uses v0.3.6 syntax and scripts)

1 participant