Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AI: Autogenerate Job code from the job name #2948

Open
christad92 opened this issue Feb 19, 2025 · 0 comments
Open

AI: Autogenerate Job code from the job name #2948

christad92 opened this issue Feb 19, 2025 · 0 comments
Labels
AI new feature Introduction of a new feature

Comments

@christad92
Copy link

christad92 commented Feb 19, 2025

To help users get started faster with OpenFn, we want to help them generate code from a job name.
As a user,

  1. I want to design my workflow with adaptors specified for each job, and understandable job names
  2. 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
  3. 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.
  4. If I click review in the editor on 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.
  5. 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
Image Image
@christad92 christad92 added the new feature Introduction of a new feature label Feb 19, 2025
@christad92 christad92 added this to v2 Feb 19, 2025
@christad92 christad92 moved this to Product Backlog in v2 Feb 19, 2025
@christad92 christad92 added the AI label Feb 19, 2025
@christad92 christad92 changed the title AI: Autogenerate Job code from the step name AI: Autogenerate Job code from the job name Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AI new feature Introduction of a new feature
Projects
Status: Product Backlog
Development

No branches or pull requests

1 participant