aide.el - An OpenAI Wrapper on Emacs
Recently I stumbled upon pen.el which interacts with language models, like OpenAI GTP-3.
This is interesting. Loosely thinking, language models are good complement to Emacs as both are operating on plain text.
I tried pen.el on a Docker container, but it didn’t work out of box at my first try.
Also, I look at the OpenAI API documentation and it doesn’t seem hard to build a wrapper around it.
After a weekend’s work, here is the first implementation of aide.el.
Fun fact: The repo name aide is generated by OpenAI Product Name Generator, which reads like AI + IDE, or AI Dwells (in) Emacs :P
Think of aide.el as a thin wrapper around APIs like OpenAI.
aide.el implementation is minimal: You select a region of text in Emacs, run
M-x aide-openai-completion, and Emacs shows how AI responds to it.
Try it out and let me know what you think!
Edit: See the new post for a demo gif.