How 47thtechcorner/raycodes_needle3 works
Needle 3 is a small on-device automation example. Its main workflow accepts a command and document text, routes the command through the Needle SDK, extracts invoice fields, and writes a summary report. The tool handlers are illustrative stubs that return status data; the shown code prints generated tool calls but does not demonstrate dispatching them to physical devices. The repository has only one runtime source file, so the graph stays compact.
Main entry points: main.py Automation runner
Components 7
Other components
- User
- Automation runner
main.py - Needle SDK
- Lighting tool
main.py - Climate tool
main.py - Invoice schema
main.py - Execution report
Connections 7
- User → Automation runner: runs with inputs
README.md - Automation runner → Needle SDK: routes command
main.py - Automation runner → Lighting tool: registers tool
main.py - Automation runner → Climate tool: registers tool
main.py - Automation runner → Needle SDK: requests extraction
main.py - Needle SDK → Invoice schema: uses schema
main.py - Automation runner → Execution report: writes summary
main.py