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 COdDCVYjMmYrWQEA62LTzQ:P1 (envelope-from ) for ; Wed, 01 May 2024 13:11:18 +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 COdDCVYjMmYrWQEA62LTzQ (envelope-from ) for ; Wed, 01 May 2024 13:11:18 +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=ankXbDxn; 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=1714561878; 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=j65nUIHMZmBVOGOLCpHQWDiJl3LG037QYd8nEDYvXqc=; b=Gkd7cCi0O7AsUFwmMliPtnQ2FkGlUQI46+64TyS4FKEyiXZ7KFNSRInhqPfaxZOHhiRmcn vvXrSGkDTmIqgmpL4aUK4PIReaMv0ES5De3xBpIdtwU7pob/hNjauefJfVkkjhY4N64RGH oirYdv7bO4Yssb0+RCcP10yNK3Xnxa5uwvdcQu6eBZYkSCLY54GlvANa7/1AGTmzAJ65b0 JffdbfTso3mXA306HqzHLZv81iVl77yaQ+N6XMczyqFTWh/yavTVdasZmsDjBQjqHGSk+z h9v3wti8F1BCqSnO7+nCXfB3JlgN8VmkR1RztUkzMEQmLEs5He3Ifv4LC24DqA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1714561878; a=rsa-sha256; cv=none; b=BGegjCZu5rSlsEK95b5FvlAtpqARI8grAsnb8eOJesAWyhnLPWc8hr3LlqRtviwGy964cS yUGa3neGEGvnAWzJCNmSQxy0ZcfNhEj55+tXvvu9AN38OvkCIv0oWXabm40KKEo4I81FFC O9gzWJGKqUUyf7lY5B2jG53sYBy3RxyjeP4o9C4/aYXSbsBzYVWbjGLRYCI+Aj5XPgF/hf rxesGf0FM0/4SwEuL7t75FoT4ZoPKZvUcAfEcJVlduWltxgtwK6KMto+9+nh8JHErrFY+P XRmOZciuXXfbTZObROB44ao5vHhXxzg8+zAQHoIjKkediKkJa4ad7NZO/ZeVQg== 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=ankXbDxn; 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 DC2065778 for ; Wed, 01 May 2024 13:11:17 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s27PC-0001LJ-JF; Wed, 01 May 2024 06:41:42 -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 1s27PA-0001L0-O8 for guix-patches@gnu.org; Wed, 01 May 2024 06:41:41 -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 1s27PA-0006vH-G2 for guix-patches@gnu.org; Wed, 01 May 2024 06:41:40 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s27PV-00053m-Ig for guix-patches@gnu.org; Wed, 01 May 2024 06:42:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70584] [PATCH v2] gnu: Add emacs-llm. Resent-From: Roman Scherer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 01 May 2024 10:42:01 +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, Roman Scherer , Katherine Cox-Buday , Andrew Tropin Received: via spool by 70584-submit@debbugs.gnu.org id=B70584.171456010319436 (code B ref 70584); Wed, 01 May 2024 10:42:01 +0000 Received: (at 70584) by debbugs.gnu.org; 1 May 2024 10:41:43 +0000 Received: from localhost ([127.0.0.1]:36729 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s27PD-00053Q-3a for submit@debbugs.gnu.org; Wed, 01 May 2024 06:41:43 -0400 Received: from mail-ej1-x631.google.com ([2a00:1450:4864:20::631]:44290) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s27PB-00053I-41 for 70584@debbugs.gnu.org; Wed, 01 May 2024 06:41:41 -0400 Received: by mail-ej1-x631.google.com with SMTP id a640c23a62f3a-a595c61553cso1431966b.1 for <70584@debbugs.gnu.org>; Wed, 01 May 2024 03:41:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burningswell-com.20230601.gappssmtp.com; s=20230601; t=1714560074; x=1715164874; darn=debbugs.gnu.org; h=mime-version:message-id:date:user-agent:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=j65nUIHMZmBVOGOLCpHQWDiJl3LG037QYd8nEDYvXqc=; b=ankXbDxnhOqOtBWVgyI2ZLxt8yn5+6XP1hgyY+/Xd7/dlLQOyC07AFY7yhwKulQum5 xJwV3swUwPjHkof/ZMACVpjegW56E4R+S/londWAqALPYQLmxSbL/VX1XbbySAWwG+4k U+WwB6llCHxEYvGzmc9OYIAT5zvH6TxkiCzZlFCmpHQx+0QPQCJqOht+U6JrI5FKOeU/ 8WXf2/UiNzK5XtQeA5A/A8ej9CUWv0KqBho5aTC0hU8JbSI6UDYTUOgJNcpOnQfe34Kc 9POQIUCh/awLJk1s+Av9P5JlKwyMxMG0rBhz63FH1/R+BhFsJeM9QPEomelpy/2Esy6P mS0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714560074; x=1715164874; h=mime-version:message-id:date:user-agent:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=j65nUIHMZmBVOGOLCpHQWDiJl3LG037QYd8nEDYvXqc=; b=aATBQQCN9UDp1xpM1hj+M7jZrUketL2cOgRwa4USuckP4HM5v8hOYAJLygGwBSVB2V Rv1OdYk6DEXZEaDGsW4SuM+cMqtx5edjxq4MYY9SFVF5IISYK/wQu5yjRZw4zHhF9Ld6 AwoHjpIBEDbgtrbjjYdFuCCDhuAoa5p9dfweHmyYmtnS9RauKyyF0gwr8JtcGDd8AUTB AwbtnHV5B7ZLPOoyytC6fxmBme5WcRGD+8hMsmgxEcLY6nFgUNpIXxDUlYY64ZWIvNNG vyjldTdocIUVzdsknMuLUlWLw73l/9O+zs4XKt6C45hrPZC1J/WHk9Awk7qldusiHEb6 9jRw== X-Forwarded-Encrypted: i=1; AJvYcCVgFS0rgtZzAWSXXdA3RkMXZwC3xB4NFQpsaqWD5vw+ECWTulcAdIynpskFiq7aWEdIO0yHCvamKRPFmpIB7ssaWU49OOc= X-Gm-Message-State: AOJu0YwXAR/s5Gw3lXOv/NKgN8GvoI3CEv99Q+jXcOKVzjNSBZo6XMhO P3mSQqxLTBfqBZg0g+z7ilfXqTL0UZfWkQZ92cYzXBQtgyeNq5hmpyWDGZdRyB1+H0yH0agXWIw m X-Google-Smtp-Source: AGHT+IEsZVuSAJHB9MLeVkKdpZatsrZcCG2AvDDlfp892bNI7mvpEiz2IqpojzQzRQIpmHfQEknG2w== X-Received: by 2002:a17:906:b04a:b0:a58:deb8:8b2b with SMTP id bj10-20020a170906b04a00b00a58deb88b2bmr1485948ejb.56.1714560073594; Wed, 01 May 2024 03:41:13 -0700 (PDT) Received: from precision (tmo-087-215.customers.d1-online.com. [80.187.87.215]) by smtp.gmail.com with ESMTPSA id j18-20020a1709062a1200b00a557616395csm15702692eje.85.2024.05.01.03.41.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 03:41:13 -0700 (PDT) From: Roman Scherer In-Reply-To: (Liliana Marie Prikler's message of "Mon, 29 Apr 2024 20:40:15 +0200") References: User-Agent: mu4e 1.12.4; emacs 29.3 Date: Wed, 01 May 2024 12:41:11 +0200 Message-ID: <877cgd4xx4.fsf@burningswell.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" 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: -2.99 X-Spam-Score: -2.99 X-Migadu-Queue-Id: DC2065778 X-Migadu-Scanner: mx11.migadu.com X-TUID: 7veJ5Ttw6Xyb --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Liliana, I sent v3 of the patch that now includes your suggested description. Can you pleas take another look? Thanks, Roman. Liliana Marie Prikler writes: > Am Samstag, dem 27.04.2024 um 09:13 +0200 schrieb Roman Scherer: >> * gnu/packages/emacs-xyz.scm (emacs-llm): New variable. >>=20 >> Change-Id: Ie89eac7a4f0a31245b6d826ae9885a7092528ced >> --- >> =C2=A0gnu/packages/emacs-xyz.scm | 24 ++++++++++++++++++++++++ >> =C2=A01 file changed, 24 insertions(+) >>=20 >> diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm >> index 8a2ffc621d..e802cc3f03 100644 >> --- a/gnu/packages/emacs-xyz.scm >> +++ b/gnu/packages/emacs-xyz.scm >> @@ -1606,6 +1606,30 @@ (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 "https://github.com/ahya= tt/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 Language = 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 gives the end-user an option to choose >> which LLM >> +they would prefer.=C2=A0 This is especially useful for LLMs, since there >> are ones >> +in which API access costs money, as well as locally installed ones >> that are >> +free.=C2=A0 Applications using LLMs can use this library to make sure >> their >> +application works regardless of the LLm they choose.") >> +=C2=A0=C2=A0=C2=A0 (license license:gpl3+))) >> + > Oof, this is still pretty much the same description as before with only > the most basic concerns addressed. > > How about "This package provides interfaces to abstract various > @acronym{LLM, large language model}s out in the world. To respect user > freedom, it will warn you before interacting with non-free LLMs."? > > As far as I know there is no guideline against including stuff that > works with non-free web services, so this goes beyond the Guix > guidelines =E2=80=93 we even have some packages calling to chatgpt and no= t much > else, so it's a big improvement over that =E2=80=93 and it's a somewhat g= ood > message for those amongst us who are concerned about freedom three when > they think about LLMs. > > WDYT? --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFTBAEBCAA9FiEE0iajOdjfRIFd3gygPdpSUn0qwZkFAmYyHEcfHHJvbWFuLnNj aGVyZXJAYnVybmluZ3N3ZWxsLmNvbQAKCRA92lJSfSrBmd12B/9ECtMq8vSh1R6h l34KF2cxHXAKka1pF1x71vOSJDN6Pm2Sl91MU+W87poTtzcewZIhmXyhvFSW83fe Jo9DObL/GCn569EZFaVr1KVicXeew/AZA4zeC701isgfegeoDvxoUvOigV5uY/gT Vco+HUETbdnoaHOSq2QOS5mh9AoQw2wSZ7Z3Xu5dKH3rkulX1EEcI2EYPjFws4c1 VstxUdmeTFhkZksb8lwRRRV/QxHKjRhPbCriagJxCPKbOHTTFkyy84zF0enuphFN H3ZSUdvtpQmnpVdMxrumH/r8ifMpabwKb+O7XtI1VKfPjJsvCAzJFjj1Gfl7rNAJ kkyq86Fb =kL53 -----END PGP SIGNATURE----- --=-=-=--