Using local ChatGPT-like LLMs in OpenRefine for data wrangling

I think we could probably create a new OpenRefine "AI Services" extension that would generally handle much of the above example coded parts, into easier to work with dialog form:

  1. AI Services listing - updated/maintained by community - I.E. Hugging Face is a good candidate for this already.
  2. Extension should allow for custom HTTP headers (to account for the various AI API service endpoints and their lifecycle changes)
  3. Allow to edit and delete API Keys, maybe locally encrypted into OpenRefine Preferences array
  4. A Prompt Text input box that allows template variables for GREL column syntax, i.e. "convert the numbers in {{ columns.amount }} to British Pounds"
  5. Previewing of data manipulations (like our Expression editor gives us, but allows fullscreen temporary grid viewing and undo/redo during a Prompt convo)
  6. What else do we have as ideas here?