unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Roman Scherer <roman@burningswell.com>
To: Liliana Marie Prikler <liliana.prikler@gmail.com>
Cc: 70584@debbugs.gnu.org,
	Katherine Cox-Buday <cox.katherine.e+guix@gmail.com>,
	Andrew Tropin <andrew@trop.in>
Subject: [bug#70584] [PATCH] gnu: Add emacs-llm.
Date: Sat, 27 Apr 2024 00:35:09 +0200	[thread overview]
Message-ID: <CAEc_D28NhfpTrrHS_M8SGVii8eNtPb9V4cQvrdxUXo=2R3i+Pw@mail.gmail.com> (raw)
In-Reply-To: <c9f9cbc1002fb131f68c9e4843a517bb10d4eb7c.camel@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2480 bytes --]

Hi Liliana,
I'm not sure if I understand your message. Do you say Guix does not want to
package this?
This is a package you can use with Ollama and is packaged on GNU ELPA as
well.
Greetings, Roman.

On Fri, Apr 26, 2024, 19:00 Liliana Marie Prikler <liliana.prikler@gmail.com>
wrote:

> Am Freitag, dem 26.04.2024 um 09:04 +0200 schrieb Roman Scherer:
> > * gnu/packages/emacs-xyz.scm (emacs-llm): New variable.
> >
> > Change-Id: Ie89eac7a4f0a31245b6d826ae9885a7092528ced
> > ---
> >  gnu/packages/emacs-xyz.scm | 25 +++++++++++++++++++++++++
> >  1 file changed, 25 insertions(+)
> >
> > diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
> > index 8a2ffc621d..8c712612b6 100644
> > --- a/gnu/packages/emacs-xyz.scm
> > +++ b/gnu/packages/emacs-xyz.scm
> > @@ -1606,6 +1606,31 @@ (define-public emacs-libgit
> >  libgit2 bindings for Emacs, intended to boost the performance of
> > Magit.")
> >        (license license:gpl2+))))
> >
> > +(define-public emacs-llm
> > +  (package
> > +    (name "emacs-llm")
> > +    (version "0.13.0")
> > +    (source (origin
> > +              (method git-fetch)
> > +              (uri (git-reference
> > +                    (url "https://github.com/ahyatt/llm")
> > +                    (commit version)))
> > +              (file-name (git-file-name name version))
> > +              (sha256 (base32
> > +
> > "1q7djz4zx1br4d3g46f1m5cbxwl050qjmsm2cy7zcww64rrkcj0l"))))
> > +    (build-system emacs-build-system)
> > +    (home-page "https://github.com/ahyatt/llm")
> > +    (synopsis " Emacs library abstracting Large Language Model
> > capabilities.")
> > +    (description
> > +     "This is a library for interfacing with Large Language Models.
> > It allows
> > +elisp code to use LLMs, but allows gives the end-user an option to
> > choose
> > +which LLM they would prefer.  This is especially useful for LLMs,
> > since there
> > +are various high-quality ones that in which API access costs money,
> > as well as
> > +locally installed ones that are free, but of medium quality.
> > Applications
> > +using LLMs can use this library to make sure their application works
> > +regardless of whether the user has a local LLM or is paying for API
> > access.")
> > +    (license license:gpl3+)))
> > +
> No advertising nonfree software, thanks.
>
> Also, I'd like you to know that training such "high quality" LLMs comes
> at a larger cost than is given back in use in societal or environmental
> terms.
>
> Cheers
>

[-- Attachment #2: Type: text/html, Size: 3579 bytes --]

  reply	other threads:[~2024-04-26 22:36 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-26  7:04 [bug#70584] [PATCH] gnu: Add emacs-llm Roman Scherer
2024-04-26 17:00 ` Liliana Marie Prikler
2024-04-26 22:35   ` Roman Scherer [this message]
2024-04-26 22:46     ` Liliana Marie Prikler
2024-04-26 23:05       ` Roman Scherer
2024-04-26 23:45         ` Liliana Marie Prikler
2024-04-27  7:20           ` Roman Scherer
2024-04-27  7:13 ` [bug#70584] [PATCH v2] " Roman Scherer
2024-04-29 18:40   ` Liliana Marie Prikler
2024-05-01 10:41     ` Roman Scherer
2024-05-01 10:40 ` [bug#70584] [PATCH v3] " Roman Scherer
2024-05-09  9:52   ` bug#70584: " Liliana Marie Prikler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAEc_D28NhfpTrrHS_M8SGVii8eNtPb9V4cQvrdxUXo=2R3i+Pw@mail.gmail.com' \
    --to=roman@burningswell.com \
    --cc=70584@debbugs.gnu.org \
    --cc=andrew@trop.in \
    --cc=cox.katherine.e+guix@gmail.com \
    --cc=liliana.prikler@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).