AI in Emacs

Open link in next tab

AI in Emacs

https://willschenk.com/labnotes/2024/ai_in_emacs/

Everything is better with emacs. Lets see how we can plug in ollama into it. We are going to use ellama and they like the zephyr, so lets pull that. You can configure it to use other things, but lets go with the defaults for now. Installation 1 ollama pull zephyr Update your repos M-x straight-pull-recipe-repositories Then: 1 2 3 4 5 6 (use-package ellama :ensure t :init ;; setup key bindings (setopt ellama-keymap-prefix "C-c e") ) Chat interface Then we can start up a chat usine ellama-chat or using C-c e a i – which is a bit of a mouthful.

AI in Emacs