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.

you are viewing a single comment's thread
view the rest of the comments
[–] [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.