zilto commented on PR #1460:
URL: https://github.com/apache/hamilton/pull/1460#issuecomment-3835042722
The general workflow that works for me:
1. problem in natural language -> DOT language graph
- well understood by LLMs, simple language, extremely token efficient
2. DOT language -> function signatures + docstring
- this is simple and can be done programmatically; the challenge is
defining type annotations ahead of time; can run `ty` type checker or force
`Any` when uncertain
- validate the DAG with the `hamilton` CLI (I think the command is `build`
?)
3. function signatures -> implementations
- can do test driven development where nodes are implemented with tests
1-by-1. This allows Claude for example to build much more complex code than
spaghetti scripts; LLM has easier time refactoring
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]