Closed rommeswi closed 1 year ago
Jup adding an AI layer would definitiv be useful.
Just some design principles for a possible impl.
Anyway thats all pretty vague, so feel free to make a draft and discuss it later.
SPC a i d
and SPC a i c
, respectively. Code completion/commenting/etc. that inserts text into the current buffer should probably be layer-specific. However, I am worried that creating bindings in each layer would be a lot of work.I have merged the open ai layer and moved the AI bindings to "spc $" if we add more providers we can think of introducing feature wise bindings and leave the source bindings for shorter key combinations but lets keep it simple for now and see how the new bindings work.
Feedback welcome, and contributions of free alternatives too of course :)
I think with the current boom in artificial intelligence, it is important for spacemacs to keep up and provide easy access to AI APIs. Integrating an AI into spacemacs should be as easy as adding "openai" to the layers list and configuring the login data
In pull request #15969 I proposed a first draft of a layer for access to openai and their popular chatgpt engine. It still had some flaws such as poor evilification and too long keybindings and was rightfully rejected.
I open this feature request in case an experienced spacemacs contributor finds it worth it to create an openai layer that meets the standards of spacemacs.