Message ID | bf984c5c80f460f36298f46b0389d4341086b47c.1714115090.git.roman@burningswell.com |
---|---|
State | New |
Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id C99CF27BBE9; Fri, 26 Apr 2024 08:06:44 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id A967627BBE2 for <patchwork@mira.cbaines.net>; Fri, 26 Apr 2024 08:06:40 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces@gnu.org>) id 1s0Fey-0002B3-VX; Fri, 26 Apr 2024 03:06:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1s0Few-0002AH-4w for guix-patches@gnu.org; Fri, 26 Apr 2024 03:06:14 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1s0Fev-00025F-Rg for guix-patches@gnu.org; Fri, 26 Apr 2024 03:06:13 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1s0FfB-0002uQ-Nj; Fri, 26 Apr 2024 03:06:29 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70584] [PATCH] gnu: Add emacs-llm. Resent-From: Roman Scherer <roman@burningswell.com> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: andrew@trop.in, cox.katherine.e+guix@gmail.com, liliana.prikler@gmail.com, guix-patches@gnu.org Resent-Date: Fri, 26 Apr 2024 07:06:25 +0000 Resent-Message-ID: <handler.70584.B.171411516510881@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 70584 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70584@debbugs.gnu.org Cc: Roman Scherer <roman@burningswell.com>, Andrew Tropin <andrew@trop.in>, Katherine Cox-Buday <cox.katherine.e+guix@gmail.com>, Liliana Marie Prikler <liliana.prikler@gmail.com> X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Andrew Tropin <andrew@trop.in>, Katherine Cox-Buday <cox.katherine.e+guix@gmail.com>, Liliana Marie Prikler <liliana.prikler@gmail.com> Received: via spool by submit@debbugs.gnu.org id=B.171411516510881 (code B ref -1); Fri, 26 Apr 2024 07:06:25 +0000 Received: (at submit) by debbugs.gnu.org; 26 Apr 2024 07:06:05 +0000 Received: from localhost ([127.0.0.1]:33677 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1s0Feg-0002oP-LQ for submit@debbugs.gnu.org; Fri, 26 Apr 2024 03:06:03 -0400 Received: from lists.gnu.org ([2001:470:142::17]:40460) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <roman@burningswell.com>) id 1s0FeP-0002ka-3l for submit@debbugs.gnu.org; Fri, 26 Apr 2024 03:05:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <roman@burningswell.com>) id 1s0Fds-00024r-4G for guix-patches@gnu.org; Fri, 26 Apr 2024 03:05:13 -0400 Received: from mail-ed1-x535.google.com ([2a00:1450:4864:20::535]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <roman@burningswell.com>) id 1s0Fdp-0001te-VI for guix-patches@gnu.org; Fri, 26 Apr 2024 03:05:07 -0400 Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-56e6acb39d4so2206616a12.1 for <guix-patches@gnu.org>; Fri, 26 Apr 2024 00:05:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burningswell-com.20230601.gappssmtp.com; s=20230601; t=1714115102; x=1714719902; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=FF6ddorw6Cm5Hcztk3lI+UoGBXs3Mo4s5dZ4+eEWki8=; b=rGWis1gxtBQ6Am8lQq+6KO91uU4U3AO0qdKo/tPEr0HHQgym/1t1LShVYQrpgavXtn dXAugRUfbusQLBReyC5XreLz5ryp4Cqd4UDHqdpROh08pBN7C5IrOO3j0Gy5b4PCCkoE c5HPM8dYMz5I9Feav9+8Q3Pffoe8pwsjoDopjfHl2356jUA1hF3vFbhpNx66L2YVtVd2 jbWqUvXoKHnF1cZpK7YIIXAs5i1R3pv8s0PJdiyC+ki1FocKPpU6GiWsHtpS0dpx46QG KLHvR/NSV1HisZbiv3Bo2pWckGS9wklDXVs+lSC1oFZu6VzCCCDPYm+r5qL1tfaXaOdS 982A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714115102; x=1714719902; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=FF6ddorw6Cm5Hcztk3lI+UoGBXs3Mo4s5dZ4+eEWki8=; b=KCdhQxeNyihnKF0GDC6O6pgVH+zndUdnsZ7xQ9k/dl00l6TB1aQS58fkpAyeVtsMNR GKuTdeWteQB1S/uSr6lQq+mZ4eVrEmU9hOQMadGHpMoGPcYzSgN8u0B/izwIGMNzvjkl ujNvjBC8GzZ1GRvmAjgCjIo34ZQQ9yB8DbevQR3xAm6K6TjM8eIfmlcp8aTL5gYWNEuE aS3TIW4//b/JZW2m35ShzctT4EKFoDcGe/X7queo/Ge1/NL9WRybVZlDB0gJiPGPiBej UUuxkmdDyWKwQWJNnIBxwwzGqvYqkHm5CRmyTIPsx01S2Ri/6J2qtAf+1/C5byxIuH5k PhEQ== X-Gm-Message-State: AOJu0Yybvql1TSypnUdteOz66mss8cIdqPtGCQGAEYJJ7OQhspMG8qb5 XlGlqtJy26ToHhNA7tuMQbn3Hkw0X5KcuwsJ/8RhuQjOPPxCqR0RDBUptva5H0sa8UvOd/7AOKR 4 X-Google-Smtp-Source: AGHT+IH5yEJBIPtSvNyuHEqB6BKlrmrSXTfne5QAqPJ8cTRwKB9UK6ws7XW7CC86m4hfElRVU2OyVw== X-Received: by 2002:a50:d4ca:0:b0:56e:5735:db2b with SMTP id e10-20020a50d4ca000000b0056e5735db2bmr1146752edj.29.1714115102147; Fri, 26 Apr 2024 00:05:02 -0700 (PDT) Received: from precision.. (tmo-086-157.customers.d1-online.com. [80.187.86.157]) by smtp.gmail.com with ESMTPSA id d19-20020a50fe93000000b00571c2402e6dsm9050556edt.0.2024.04.26.00.05.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Apr 2024 00:05:01 -0700 (PDT) From: Roman Scherer <roman@burningswell.com> Date: Fri, 26 Apr 2024 09:04:50 +0200 Message-ID: <bf984c5c80f460f36298f46b0389d4341086b47c.1714115090.git.roman@burningswell.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=2a00:1450:4864:20::535; envelope-from=roman@burningswell.com; helo=mail-ed1-x535.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches |
Series |
[bug#70584] gnu: Add emacs-llm.
|
|
Commit Message
Roman Scherer
April 26, 2024, 7:04 a.m. UTC
* gnu/packages/emacs-xyz.scm (emacs-llm): New variable. Change-Id: Ie89eac7a4f0a31245b6d826ae9885a7092528ced --- gnu/packages/emacs-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) base-commit: 259372b7a95e3fea75a9ce1127a904e3f1ea3591
Comments
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
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 >
Am Samstag, dem 27.04.2024 um 00:35 +0200 schrieb Roman Scherer: > 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. I'm not aware of the quality control procedures at ELPA, but if you copied that bit from the description, they might have overlooked some README nastiness. As far as the functionality is concerned, by all means add it, but we have principles here, even if they permit calling out to dubious APIs. Cheers
Hi Liliana, could you please provide more constructive feedback and suggest what the description should say? I took the description from the README of the package. I'm here to make Guix better. If you don't want this package that is also fine, then I keep it in my own channel. Roman. On Sat, Apr 27, 2024, 00:46 Liliana Marie Prikler <liliana.prikler@gmail.com> wrote: > Am Samstag, dem 27.04.2024 um 00:35 +0200 schrieb Roman Scherer: > > 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. > I'm not aware of the quality control procedures at ELPA, but if you > copied that bit from the description, they might have overlooked some > README nastiness. > > As far as the functionality is concerned, by all means add it, but we > have principles here, even if they permit calling out to dubious APIs. > > Cheers >
Am Samstag, dem 27.04.2024 um 01:05 +0200 schrieb Roman Scherer: > Hi Liliana, > could you please provide more constructive feedback and suggest what > the description should say? I took the description from the README of > the package. I'm here to make Guix better. If you don't want this > package that is also fine, then I keep it in my own channel. > Roman. I don't have any concrete suggestions here, but for comparison, ellama looks fine. The packages probably do different things, hence the two of them but it should be possible to write about this one based on its technical merits without resorting to ad speak. HTH
Hi Liliana, I sent a v2 of the patch for the emacs-llm package. I now changed the description of the package. I hope it does not contain anything what you refered to as ad speak. If it still does not fit your needs, please change it to your liking or suggest something better. Thanks, Roman. Liliana Marie Prikler <liliana.prikler@gmail.com> writes: > Am Samstag, dem 27.04.2024 um 01:05 +0200 schrieb Roman Scherer: >> Hi Liliana, >> could you please provide more constructive feedback and suggest what >> the description should say? I took the description from the README of >> the package. I'm here to make Guix better. If you don't want this >> package that is also fine, then I keep it in my own channel. >> Roman. > I don't have any concrete suggestions here, but for comparison, ellama > looks fine. The packages probably do different things, hence the two > of them but it should be possible to write about this one based on its > technical merits without resorting to ad speak. > > HTH
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+))) + (define-public emacs-magit ;; Use this unreleased commit to benefit from a recent improvements with ;; regard to adding git trailers such as "Reviewed-by".