this post was submitted on 27 Oct 2023
2 points (100.0% liked)

Emacs

311 readers
2 users here now

A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!

Get Emacs

Rules

  1. Posts should be emacs related
  2. Be kind please
  3. Yes, we already know: Google results for "emacs" and "vi" link to each other. We good.

Emacs Resources

Emacs Tutorials

Useful Emacs configuration files and distributions

Quick pain-saver tip

founded 1 year ago
MODERATORS
 

ellama is a tool for interacting with LLMs from Emacs. It now uses llm library as a backend and supports various providers.

top 3 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 1 year ago (1 children)

That was fast, nice work! I posted in your last thread. Now that you support GPT-4 I can probably use this.

Couple Q's before I set some time aside to try it out:

  1. Do you have a public API if I want to define some custom prompt commands? I'd like to do some simple things like make functions that are region specific with a custom prompt string. I could hack it up but it would be helpful to know if there's an API surface that I should use to keep things stable between versions.
  2. Where do you want to go from here?
[–] [email protected] 1 points 1 year ago

Sure. You can use functions without double dashes as public api. If you want some specific, open issue or you can even use llm library directly if you want more control.

[–] [email protected] 1 points 1 year ago

Has anyone installed ellama with elpaca? I wanted to play around with it, but elpaca errors out with "Unable to determine recipe URL". And it doesn't seem to be a matter of refreshing: that has not helped.

Strange.