Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
|
|
1 year ago | |
|---|---|---|
| .. | ||
| .gitignore | 2 years ago | |
| README.md | 1 year ago | |
| dataflow.yml | 1 year ago | |
| dataflow_conda.yml | 1 year ago | |
| dataflow_llm.yml | 1 year ago | |
| file_saver_op.py | 1 year ago | |
| keyboard_op.py | 1 year ago | |
| llm_op.py | 1 year ago | |
| microphone_op.py | 1 year ago | |
| object_detection.py | 1 year ago | |
| plot.py | 1 year ago | |
| requirements.txt | 1 year ago | |
| requirements_llm.txt | 1 year ago | |
| run.rs | 1 year ago | |
| sentence_transformers_op.py | 1 year ago | |
| utils.py | 1 year ago | |
| webcam.py | 1 year ago | |
| whisper_op.py | 1 year ago | |
This examples shows how to create and connect dora operators and custom nodes in Python.
The dataflow.yml defines a simple dataflow graph with the following three nodes:
pip install -r requirements.txt
cargo run --example python-operator-dataflow
conda create -n example_env python=3.11
conda activate test_env
pip install -r requirements.txt
pip install -r requirements_llm.txt
dora start dataflow.yml
dora start dataflow_llm.yml
Within the window you can ask question such as:
ask how are you
change bounding box plot to red
change confidence value to percentage
change object detection to only detect person
send 200 200 200 400 to topic line
record
The keyboard, microphone, whisper node, works in a very similar fashion as the object detection dataflow and I'll let you check it out by yourself.
The code modification flow works by first comparing an instruction with a vectordb of operators source code and then feeding the most similar operator to an llm with the instruction for code modification.
The end result is then saved using a file saver.
DORA (Dataflow-Oriented Robotic Architecture) is middleware designed to streamline and simplify the creation of AI-based robotic applications. It offers low latency, composable, and distributed datafl
Rust Python TOML Markdown C other