AI: Autogenerate Job code from the job name
Open
Nobody has claimed this yet.
AI
new feature
- Dominant language
- Elixir
- Stars
- 296
- Forks
- 86
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 50
Description
To help users get started faster with OpenFn, we want to help them generate code from a job name.
As a user,
- I want to design my workflow with adaptors specified for each job, and understandable job names
- From the canvas, I can click a (generate code) icon on the step icon to generate the job code for me or open the code editor and click a generate code based on step name.
a. We should also update the AI Assistant to use the job name when attempting to suggest code - On the canvas, I would also like to review the code generated in a small preview component where I can accept, reject, or
review in the editor. - If I click
review in the editoron the preview component, the editor should be loaded with the code and the AI Assistant tab opened by default. A few notes here:
a. The user only has to click a "✨ generate code" icon on the step to generate the code without any other user input other than the step name. It would also be great if we could pass the previous step(s) as context for the code generator. - In the editor, users should see a placeholder that tells them to press a hot key to generate job code. The generated code is written with an option for accept or decline
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the canvas, step icon, code editor, and AI Assistant entry points mentioned in the issue. Review how the preview component and editor are opened, then define completion around generating code from the job name, showing it for accept or reject, and opening the editor with the AI Assistant when requested.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- elixir
- Domain
- ai, frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100