From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id MG6BA1ksLGYL/QAA62LTzQ:P1 (envelope-from ) for ; Sat, 27 Apr 2024 00:36:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id MG6BA1ksLGYL/QAA62LTzQ (envelope-from ) for ; Sat, 27 Apr 2024 00:36:09 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=burningswell-com.20230601.gappssmtp.com header.s=20230601 header.b=LwtagL4H; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1714170969; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=AKfkdR2o7+i+LYapoLUEI+DI3AU0RcXxZavwvpObzy8=; b=X8zPcG7aurvf71saA0qcCzqut8/MU4CuNckJRHmYKL//VoWbuoCYOy7w8K1OWopET9Z+/b 1cCy0nSRY+wRpjTe/I2WRzz5A1oE0GLbF12sBbz5wsrbuxUdjqKqvr8bR/z/rOl1Xkkrjm 8xCGraiL1R1zDRJDWovI/j2x9rYpdXVyMeg2iaf7SIrcLNWuXj0v7oJeDrbG/7fvgvp1nJ HidMxUwYDea1q80N8K5uDKR41/KiMoTIOY5W5+/rd4Nej/cHWHDjQUPfPrXLCAJ+9Tdhxz 37LaklifIUpiCTfrGy77sd5Xn7mLM2bcLJb8sFTLo4QYR+hCtd/EFTDcesNA0w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1714170969; a=rsa-sha256; cv=none; b=AC9KdPuc7DIfQ16iO5qm06GPQcTlLOWYeWYhoBuhcY4MdiUM7IxVU4Ob4ae+kLI+wYaTnI uF3CFeAq+SHcM2C/7yCsRRPrinbOmOeqcevV6mDGTzPeDBMlykoEiQ6EjV8gAuIsJZgNbr Dyqr0lxc4P9NYK922EEDuVb9c2ZQozoA9opfW9fWPh1MWz1/wqBCTmSdeELCxIQ3hxKBK/ //Wg4IQa395BxAgNn74rs1+jIigB31iVTlmB6dGw0/jZJLqhbc+5JF3j5ekm0c6K8QnFMa 4JcHrrZ7CN50uUz0ZwH9E+t3xAnexQie+5aTgiGzB5KFQIPPoqGExIf3V1pikQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=burningswell-com.20230601.gappssmtp.com header.s=20230601 header.b=LwtagL4H; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 852033AA88 for ; Sat, 27 Apr 2024 00:36:08 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s0UAd-0002Ez-KO; Fri, 26 Apr 2024 18:35:55 -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 ) id 1s0UAX-0002EV-IC for guix-patches@gnu.org; Fri, 26 Apr 2024 18:35:50 -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 ) id 1s0UAS-0007NR-Nl for guix-patches@gnu.org; Fri, 26 Apr 2024 18:35:48 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s0UAl-0007El-4G for guix-patches@gnu.org; Fri, 26 Apr 2024 18:36:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70584] [PATCH] gnu: Add emacs-llm. Resent-From: Roman Scherer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 26 Apr 2024 22:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70584 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Liliana Marie Prikler Cc: 70584@debbugs.gnu.org, Katherine Cox-Buday , Andrew Tropin Received: via spool by 70584-submit@debbugs.gnu.org id=B70584.171417095727771 (code B ref 70584); Fri, 26 Apr 2024 22:36:02 +0000 Received: (at 70584) by debbugs.gnu.org; 26 Apr 2024 22:35:57 +0000 Received: from localhost ([127.0.0.1]:38622 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s0UAZ-0007Cv-6U for submit@debbugs.gnu.org; Fri, 26 Apr 2024 18:35:56 -0400 Received: from mail-lf1-x132.google.com ([2a00:1450:4864:20::132]:49358) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s0UAS-0007AK-Fr for 70584@debbugs.gnu.org; Fri, 26 Apr 2024 18:35:48 -0400 Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-516d1ecaf25so3640094e87.2 for <70584@debbugs.gnu.org>; Fri, 26 Apr 2024 15:35:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burningswell-com.20230601.gappssmtp.com; s=20230601; t=1714170920; x=1714775720; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=AKfkdR2o7+i+LYapoLUEI+DI3AU0RcXxZavwvpObzy8=; b=LwtagL4HSotbnMDGx1xthp4MlP93EmMosI25f9L/qnX73w1qQd50afuVY1T6FHapCy pfmWujo8aX38fi+KVUrWE/N8VsSl7sUoBWfxIlJGoFlXotbuS3GYqiIioJf4BmgroR6U 9nT7u0KY+VKhDaibbtuEN6gQQ0iIfTnzmWopeWew5TbAGHdwkZiEGnVJ0zqurv/8xEan 2avfh/kZezsgTTi2hGmmV5sV4YMnsjbZ5tat4GRRHYtfsE5b98tD1jbK3dYFJJ1BMYjx 2p3yl0Ziu0yKeH9L081UoTrzdB5bx2uDiCKji2Dc72WWJiespCbFfUdtAEo6lEFchA2L DrZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714170920; x=1714775720; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=AKfkdR2o7+i+LYapoLUEI+DI3AU0RcXxZavwvpObzy8=; b=KjAKAlt5eccBHEJpA9zxkd+oNB10+xqnc8otuHLG6MQwTm4YPRLsX+cQXFIzbWVgYt UGodD0ehmaN9pGTehHbc7awPpmR8qX16HjYxaFPTAKovIvBdGylx1RJX3v3KNaG6+cE1 EN8Se0ZcKyG66H6SstH/PkeSZACj3aRlcF8iFi5l6dka+mqUhkp+PlC1RSiwd/e7aah3 30++huDEl9o8tW6bzFHGUaseCxhDJYpOqJqnIxkCzbILzFK5sIfJnv/3a4P6z4Y+t3Yw 2ICrXknvfJGk8ZFeBqwZhuS351oa86LmD61lRcDa4DjebAmcxHvADQPn9vq6F6EEeeb5 sQ6g== X-Gm-Message-State: AOJu0Yx9D4/1OsOah2dUZyh3Sgcr//aCsFtFf+sm7ln7cj3VDRSY6/YG p34TzVzPVVZ+fWCs5YnhgiToEzGXwmASD+RR8KQqS2EkRLlHZOHgkIfZ/9yHq/bWOjmCE3Y+oJV vWjbuduBRnH/RNnwRTSU9tT1YThdDaBNxR+LyBA== X-Google-Smtp-Source: AGHT+IHJzRQcNES+J3nIOHswazx4sB9hNu2n43csD5PhKaZi21UCkdHojn/sqHkdrsGllYSrHEPCMF+ZkmGfx2Yg8fo= X-Received: by 2002:a05:6512:151:b0:51d:1239:21ed with SMTP id m17-20020a056512015100b0051d123921edmr131388lfo.56.1714170919414; Fri, 26 Apr 2024 15:35:19 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Roman Scherer Date: Sat, 27 Apr 2024 00:35:09 +0200 Message-ID: Content-Type: multipart/alternative; boundary="000000000000bc97b50617078490" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -0.89 X-Spam-Score: -0.89 X-Migadu-Queue-Id: 852033AA88 X-Migadu-Scanner: mx11.migadu.com X-TUID: yGTeI4Lty+0H --000000000000bc97b50617078490 Content-Type: text/plain; charset="UTF-8" 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 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 > --000000000000bc97b50617078490 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Liliana,
I'm not sure if I unders= tand 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.

<= div class=3D"gmail_quote">
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
> ---
> =C2=A0gnu/packages/emacs-xyz.scm | 25 +++++++++++++++++++++++++
> =C2=A01 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
> =C2=A0libgit2 bindings for Emacs, intended to boost the performance of=
> Magit.")
> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (license license:gpl2+))))
> =C2=A0
> +(define-public emacs-llm
> +=C2=A0 (package
> +=C2=A0=C2=A0=C2=A0 (name "emacs-llm")
> +=C2=A0=C2=A0=C2=A0 (version "0.13.0")
> +=C2=A0=C2=A0=C2=A0 (source (origin
> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 (method git-fetch)
> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 (uri (git-reference
> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (url "htt= ps://github.com/ahyatt/llm")
> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (commit version)))
> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 (file-name (git-file-name name version))
> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 (sha256 (base32
> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
> "1q7djz4zx1br4d3g46f1m5cbxwl050qjmsm2cy7zcww64rrkcj0l")))) > +=C2=A0=C2=A0=C2=A0 (build-system emacs-build-system)
> +=C2=A0=C2=A0=C2=A0 (home-page "https://github.com= /ahyatt/llm")
> +=C2=A0=C2=A0=C2=A0 (synopsis " Emacs library abstracting Large L= anguage Model
> capabilities.")
> +=C2=A0=C2=A0=C2=A0 (description
> +=C2=A0=C2=A0=C2=A0=C2=A0 "This is a library for interfacing with= Large Language Models.=C2=A0
> It allows
> +elisp code to use LLMs, but allows gives the end-user an option to > choose
> +which LLM they would prefer.=C2=A0 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.=C2=A0 > Applications
> +using LLMs can use this library to make sure their application works<= br> > +regardless of whether the user has a local LLM or is paying for API > access.")
> +=C2=A0=C2=A0=C2=A0 (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
--000000000000bc97b50617078490--