From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: [NonGNU ELPA] New package: llm Date: Sun, 27 Aug 2023 21:31:59 -0400 Message-ID: References: <87v8d0iqa5.fsf@posteo.net> Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4346"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Philip Kaludercic , ahyatt@gmail.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Aug 28 03:32:33 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qaR7I-0000vL-BO for ged-emacs-devel@m.gmane-mx.org; Mon, 28 Aug 2023 03:32:32 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qaR6o-0005xX-50; Sun, 27 Aug 2023 21:32:02 -0400 Original-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 1qaR6m-0005xH-SY for emacs-devel@gnu.org; Sun, 27 Aug 2023 21:32:00 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qaR6m-0006eX-Jk; Sun, 27 Aug 2023 21:32:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From: mime-version; bh=fh3qraJUePjv0mNbjz7mbKj6X9Wh90kIcNuLevvrt5Q=; b=Z/J8LEYhGiNg u36RaWMHxMal2txVKtPHStgf2HGgBMHK6UPq9YHuMRivhE10YiAzPzk08nyRan+1jLVQx43h/dz+9 i2CviSANJWvXOGRa/cUk5m0jE2aw+2YAy37iNnB8SaZAjIEkMUegWRu4TZRiTIHivge65NfrTcEX5 fkaHkqakhC2qHJIzBzxzj26gutwrKZFRjPbAXDtgy4rcLfwoYhsFOXDYXfD2zPj2q4YuiD6bvU5Wd bIdPmXhvs7Ck4AodCJqizUF/VSM7A0qoSQ73YZPzSzjaJ5++auW0pPRChMWgL/qVl4YrPLkdyURJc l7xpB4EUOIQq0qVo5uE9ng==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1qaR6l-00012I-VP; Sun, 27 Aug 2023 21:31:59 -0400 In-Reply-To: <87v8d0iqa5.fsf@posteo.net> (message from Philip Kaludercic on Sun, 27 Aug 2023 13:11:14 +0000) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:309387 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > (defun llm--warn-on-nonfree (name tos) > > "Issue a warning if `llm-warn-on-nonfree' is non-nil. > > NAME is the human readable name of the LLM (e.g 'Open AI'). > > > > TOS is the URL of the terms of service for the LLM. > > > > All non-free LLMs should call this function on each llm function > > invocation." > > (when llm-warn-on-nonfree > > (lwarn '(llm nonfree) :warning "%s API is not free software, and your > > freedom to use it is restricted. > > See %s for the details on the restrictions on use." name tos))) I presume that the developers judge whether any given LLM calls for a warning, and add a call to this function if it does. Right? The basic approach looks right, bit it raises two questions about details: 1. What exactly is the criterion for deciding whether a given LLM should call this function? In other words, what are the conditions on which we should warn the user? Let's discuss that to make sure we get it right. 2. Is it better to include the TSO URL in the warning, or better NOT to include it and thus avoid helping bad guys publicize their demands? -- Dr Richard Stallman (https://stallman.org) Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)