OpenFn/apollo

Add Copilot for Lightning

Opened this issue · 0 comments

Add a copilot-style interface in lightning

I am hardly even sure how this will work, and it will require a lot of work on the lightning side.

I suppose the service has to be something like:

  • Given a bunch of job code
  • And a prompt (or the location of a comment in the code)
  • Generate a code solution
  • Return the new code probably as like a patch diff

Then there's stuff on the lightning side which requires some heavy monaco integration - like merging the returned patch, maybe previewing the change somehow, taking the prompt or triggering the query.

I think the editor and backend service need to be developed in tandem - but this issue is just for the code generating backend.